SWQTesting Unit 2
SWQTesting Unit 2
SWQTesting Unit 2
CFG representation of
openfiles()
Input Domain of
openfiles()
2.1. Control flow testing
Statement Coverage Criterion
• Refers to executing individual program statements and observing the outcome
• Complete statement coverage is the weakest coverage criterion in program testing.
• Any test suite that achieves less than statement coverage for new software is considered to
be unacceptable.
Node 3 and Node 4
The ReturnAverage() method
example
Node 2
Reading assignment
QUESTIONS PLEASE