You are working as a .module tester* (syn. unit tester, component tester) in an automotive project for the development of a control unit for an electric window. During white-box lest design, you come atomic requirements: B1 AND (B2 OR B3). The task for you is to design test cases according to the principle of the modified condition/decision testing (MOOC). You have already designed three test cases:
1) B1 = TRUE, B2 = TRUE, B3 = FALSE
2) B1 = TRUE, B2 = FALSE, B3 = TRUE
3) B1 = FALSE, B2 = TRU, B3 = FALSE
Which of the following test cases is necessary to achieve 100% modified condition/decision coverage?
- A. B1 = FALSE, B2 = FALSE, B3 = TRUE
- B. B1 = TRUE, B2 = FALSE, B3 = FALSE
- C. B1 = FALSE, B2 = FALSE, B3 = FALSE
- D. B1= TRUE, B2 = TRUE. B3 = TRUE
Reveal Solution
Discussion
Correct Answer: D 🗳️
Explanation: Only visible for Actual4Labs members. You can sign-up / login (it's free).