Chapter 4 Test Techniques Flashcards
(36 cards)
Black-box test technique
A procedure to derive and/or select test cases based on an analysis of the specification, either functional or non-functional, of a component or system without reference to its internal structure
Boundary value analysis
a black-box test technique in which test cases are designed based on boundary values
Checklist-based testing
An experience-based test technique whereby the experienced tester uses a high-level list of items to be noted, checked, or remembered, or a set of rules or criteria against which a product has to be verified.
Coverage
The degree to which specified coverage items have been determined or have been exercised by a test suite expressed as a percentage
Decision Coverage
The coverage of decision outcomes
Decision Table Testing
A black-box test technique in which test cases are designed to execute the combinations of inputs and/or stimuli (causes) shown in a decision table
Equivalence Partitioning
A black-box test technique in which test cases are designed to exercise equivalence partitions by using one representative member of each partition.
Error guessing
A test technique in which tests are derived on the basis of the tester’s knowledge of past failures, or general knowledge of failure modes
Experience-based test technique
A procedure to derive and/or select test cases based on the tester’s experience, knowledge, and intuition
Exploratory testing
An approach to testing whereby the testers dynamically design and execute tests based on their knowledge, explration of the test item and results of previous tests
State transition testing
A black-box technique using a stat transition diagram or state table to derive test cases to evaluate whether the test item successfully executes valid transitions and blocks invalid transitions.
Great for finding correct order of valid operations.
Statement Coverage
The percentage of executable statements that have been exercised by a test suite
Test technique
A procedure used to derive and or select test cases
Use Case testing
A black-box test technique in which test cases are designed to execute scenarios of use cases
White-box test technique
A procedure to derive and or select test cases based on an analysis of the internal structure of a component or system
Categories of Test Techniques
Black-box
White-box
Experience-based
Basis for Black-Box Techniques
Requirements (functional and non functional)
Specifications
Use Cases
User Stories
Basis for White-Box Techniques
Code
Architecture
Detailed Design
Structure
Basis for Experienced-based Techniques
Tester experience Developer experience User experience Expected Use Environment Likely Defects Distribution of defects
Black-box test techniques
Equivalence Partitioning Boundary Value Analysis Decision Table Testing State Transition Testing Use Case Testing
Partition
A set of data values processed in the same way or yielding a similar outcome or return value
Valid Partition
A set of data values or conditions that are legal or accepted
Invalid Partition
A set of data values or conditions that are illegal or not accepted and result in an error or exception condition
Equivalence Partition Coverage
One test case for each partition or class (applicable to all test levels)