- Test Requirement
- A test requirement is a specific element of a software artifact that a test case must satisfy or cover.
- Coverage Criterion
- A coverage criterion is a rule or collection of rules that impose test requirements on a test set.
- Coverage
- Given a set of test requirements
TR
for a coverage criterionC
,- a test set
T
satisfiesC
if and only if for every test requirementtr
inTR
, at least one testt
inT
exists such thatt
satisfiestr
.
- a test set
- Given a set of test requirements
- Coverage Level
- Given a set of test requirements
TR
and a test setT
,- the coverage level is simply the ratio of the number of test requirements satisfied by
T
to the size ofTR
.
- the coverage level is simply the ratio of the number of test requirements satisfied by
- Given a set of test requirements
- Unit Testing —> Implementation/Code
- Component Testing —> Detailed Design
- Integration Testing —> Subsystem Design
- System Testing —> Architectural Design
- Acceptance Testing —> Requirements
- E2E Testing
- Integration Testing
- Component Testing
- Unit Testing
- Load Testing
- Stress Testing
- Spike Testing
- Endurance Testing
- Scalability testing