Test techniques classification
Black-box test techniques
(specification-based techniques)
White-box test techniques
(structure-based techniques)
Experience-based test techniques
use the knowledge and experience of testers for the design and implementation of test cases. The effectiveness of these techniques depends heavily on the tester’s skills. Experience-based test techniques can detect defects that may be missed using the black- box and white-box test techniques.
Black-Box Test Techniques
Equivalence Partitioning Assumption
if a test case, that tests one value from an equivalence partition, detects a defect, this defect should also be detected by test cases that test any other value from the same partition => one test is sufficient
Data elements related to the test object
Valid vs invalid values
Coverage (EP)
the number of partitions exercised by at least one test case, divided by the total number of identified partitions, and is expressed as a percentage.
Each Choice coverage
Boundary Value Analysis Assumptions
Boundary Value Analysis Motivation
2-value BVA
3-value BVA
3-value BVA is more rigorous than 2-value BVA
Limited-entry decision tables
all the values of the conditions and actions (except for irrelevant or infeasible ones; see below) are shown as Boolean values (true or false)
Extended-entry decision tables
some or all the conditions and actions may also take on multiple values (e.g., ranges of numbers, equivalence partitions, discrete values)
Decision table
Decision table testing coverage
The strength of decision table testing
A state transition diagram
models the behavior of a system by showing its possible states and valid state transitions
state table
A test case based on a state transition diagram
Coverage criteria for state transition testing