Which of the following ADDITIONAL test cases would need to be written to provide the required coverage?
The flow graph below shows the logic of a program for which 100% statement coverage and 100% decision coverage is required on exit from component testing. The following test case has been run: Test Case 1 – covering path A, B, D, G.
- A. Test Case 2 covering path A, C, D, E, F, E, G
- B. Test Case 3 covering path A, B, D, E, G
- C. Test Case 4 covering path A, C, D, E, G
- D. Test Case 5 covering path A, C, D, G
Answer: Option A