Your test suite S for a program P achieves 100% statement coverage. It consists of three test cases, each of which achieves 50% statement coverage. Which of the following statements is CORRECT?

Events
StateAvailableNotAvailableChangeRoomCancelPay
S1: RequestingS2S3
S2: ConfirmedS1S4S4
S3: Waiting listS2S4
S4: End

選択肢

A.Executing S will cause all possible failures in P
B.S achieves 100% branch coverage for P
C.Every executable statement in P containing a defect has been run at least once during the execution of S
D.After removing one test case from S, the remaining two test cases will still achieve 100% statement coverage

正解

C: Every executable statement in P containing a defect has been run at least once during the execution of S

この試験の他の問題