Software Testing and Quality Assurance Theory and Practice

2002 WordsJan 29, 20139 Pages
Software Testing and Quality Assurance Theory and Practice Chapter 1 Basic Concepts and Preliminaries Software Testing and QA Theory and Practice (Chapter 1: Basic Concepts and Preliminaries) © Naik & Tripathy 1 Outline of the Chapter • • • • • • • • • • • • • • • • • • • The Quality Revolution Software Quality Role of Testing Verification and Validation Failure, Error, Fault and Defect The Notion of Software Reliability The Objectives of Testing What is a Test Case? Expected Outcome The Concept of Complete Testing The Central Issue in Testing Testing Activities Testing Level Source of Information for Test Selection White-box and Black-box Testing Test Planning and Design Monitoring and Measuring Test…show more content…
bug Software Testing and QA Theory and Practice (Chapter 1: Basic Concepts and Preliminaries) © Naik & Tripathy 10 The Notion of Software Reliability • It is defined as the probability of failure-free operation of a software system for a specified time in a specified environment It can be estimated via random testing Test data must be drawn from the input distribution to closely resemble the future usage of the system Future usage pattern of a system is described in a form called operational profile • • • Software Testing and QA Theory and Practice (Chapter 1: Basic Concepts and Preliminaries) © Naik & Tripathy 11 The Objectives of Testing • It does work It does not work Reduce the risk of failures Reduce the cost of testing • • • Software Testing and QA Theory and Practice (Chapter 1: Basic Concepts and Preliminaries) © Naik & Tripathy 12 What is a Test Case? • • Test Case is a simple pair of State-less systems: A compiler is a stateless system – Test cases are very simple • Outcome depends solely on the current input • State-oriented: ATM is a state oriented system – Test cases are not that simple. A test case may consist of a sequences of • The outcome depends both on the current state of the system and the current input • ATM example:  < check balance, $500.00 >, < withdraw, “amount?” >,
Open Document