recategorized by
2,852 views
1 votes
1 votes

Which of the following are facts about a top-down software testing approach?

  1. Top-down testing typically requires the tester to build method stubs
  2. Top-down testing typically requires the tester to build test drivers
  1. Only I
  2. Only II
  3. Both I and II
  4. Neither I nor II
recategorized by

3 Answers

Best answer
2 votes
2 votes

Top down Testing: In this approach testing is conducted from main module to sub module. if the sub module is not developed a temporary program called STUB is used for simulate the submodule.

Bottom up testing: In this approach testing is conducted from sub module to main module, if the main module is not developed a temporary program called DRIVERS is used to simulate the main module.
 so answer is 1) only I

selected by
2 votes
2 votes

ans should be option (1 )only 

In computer science, test stubs are programs that simulate the behaviors of software components (or modules) that a module undergoing tests depends on.

Test stubs provide canned answers to calls made during the test, usually not responding at all to anything outside what's programmed in for the test.[1]

Test stubs are mainly used in incremental testing's top-down approach. Stubs are computer programs that act as temporary replacement for a called module and give the same output as the actual product or software.

Test Drivers are used during Bottom-up integration testing in order to simulate the behaviour of the upper level modules that are not yet integrated. Test Drivers are the modules that act as temporary replacement for a calling module and give the same output as that of the actual product.

0 votes
0 votes

Test stubs are mainly used in incremental testing's top-down approach. Stubs are computer programs that act as temporary replacement for a called module and give the same output as the actual product or software

Ans- 1

Answer:

Related questions

0 votes
0 votes
1 answer
2
go_editor asked Mar 24, 2020
1,158 views
Match the terms related to Software Configuration Management (​​​SCM) in List-Ⅰ with the descriptions in List-II.$\begin{array}{clcl} & \textbf{List-I} && \text...