Which of the following are facts about a top-down software testing approach?…
2017
Which of the following are facts about a top-down software testing approach?
I. Top-down testing typically requires the tester to build method stubs.
II. Top-down testing typically requires the tester to build test drivers.
- A.
only I
- B.
Only II
- C.
Both I and II
- D.
Neither I nor II
Attempted by 66 students.
Show answer & explanation
Correct answer: A
Top-down testing begins with the main module and proceeds to lower-level modules. Because lower-level modules are not yet implemented, testers must create method stubs. Test drivers are typically required for bottom-up testing instead.
A video solution is available for this question — log in and enroll to watch it.