![]() |
||||||||||||
|
Home >> Glass Box Testing ContentsGlass Box TestingThe testing of software based on the internal logic of a module/system. Glass Box Testing operates in both inspection and demonstration mode (debug feature). Back to topStatement CoverageTests such that every statement is executed at least once.
This is a reasonable minimum test. Example: Insert a number Y into a descending sorted array X of N values.
Back to top Branch CoverageTests such that each branch of code executes at least once (or every decision gets at least one T and at least one F).
Using 85% of the branches usually produces acceptable results. Back to topCondition CoverageTests such that every combination of conditions is executed.
Example: Insert a number Y into a descending sorted array X of N values.
Back to top Path CoverageTests such that every execution path is travelled.
Example: Insert a number Y into a descending sorted array X of N values.
This is approximately 10 fold more analysis and cases than Branch Coverage. This is imparative for medical and other critical components. Back to top |
||||||||||||
![]() |
||||||||||||