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.
only I
Incremental integration testing can proceed top-down (starting from the main control module) or bottom-up (starting from the lowest-level modules). The two approaches need different kinds of scaffolding code.
I. In top-down testing the high-level modules are tested first, while the modules they call are not yet integrated. Those lower modules are replaced by stubs, dummy methods that return fixed values. The statement is true.
II. Test drivers are programs that call a module under test and pass it inputs; they are needed in bottom-up testing, where the low-level modules are tested before the modules that would normally call them exist. In top-down testing the real upper modules already act as the callers, so drivers are not typically required. The statement is false.
Only statement I is a fact about the top-down approach; the choices including II describe bottom-up testing.
only I option is correct.
Maximum possible value of reliability is
Which one of the following is not a source code metric ?
In software testing, how the error, fault and failure are related to each other ?
Which design metric is used to measure the compactness of the program in terms of lines of code ?
Verification :
In which testing strategy requirements established during requirements analysis are validated against developed software ?
Which one of the following is not a definition of error ?
Assume that a program will experience 200 failures in infinite time. It has now experienced 100 failures. The initial failure intensity was 20 failures/CPU hr. Then the current failure intensity will be
Software testing is
Regression testing is primarily related to
Equivalence partitioning is a ______.
What is the other name of White-box testing?