What is stub? Explain in testing point of view?

Answers were Sorted based on User's Feedback



What is stub? Explain in testing point of view? ..

Answer / lakshmikantha b

Stub is a dummy program or component, the code is not ready
for testing, it's used for testing...that means, in a
project if there are 4 modules and last is remaining and
there is no time then we will use dummy program to complete
that fourth module and we will run whole 4 modules also. The
dummy program is also known as stub.

Is This Answer Correct ?    1 Yes 0 No

What is stub? Explain in testing point of view? ..

Answer / shubhangi

Stub is dummy program.
Incase you are developing one sub-system and some data is
expected from other sub-system.
While developing the sub-system you don't have visibility
to that sub-system,you prepare other program which will
behave as that sub-system.
This program developed for testing purpose and called as
stub

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Testing AllOther Interview Questions

I am new for software testing field and learned manual testing and testing tools and have knowledge in java,oracle,c++ and datawarehousing concepts.I need help for interview preparation.How can I start to explain my projects Do I need to tell them with examples?

1 Answers  


What is a method that attempts to reduce the complexity levels of aging legacy software? 1. Reengineering 2. Regression 3. Restructuring 4. Reusability 5. Reverse engineering

0 Answers  


What is the smallest unit of information transfer in FC?

0 Answers  


A) Please give example for below statements. 1.Statement Coverage: Every statement in a program execute atleat once. 2. Decision Coverage: Every point of Entry and Exit in a program invokes atleast once. Each decision in a program has taken all possible outcome atleast once. 3. Condition Coverage: Each condition is a decision in a program has taken all possible outcome atleast once. 4. Modified Condition Decision Coverage: Each Condition has shown to affect that decision independently by varying that decision while keeping fixed all other possible condion. B) If the condition is (A&&B||C) then minimum 4 test case required to cover all the paths. Which are those 4 test cases. C) If the condition is (A||B&&C) then minimum 4 test case required to cover all the paths. Which are those 4 test cases.

0 Answers  


What are non-functional requirements?

5 Answers   Ford, Siemens,






What do you think is a good investment, a defect tracking system or a test management system integrated with a defect tracking tool? Please suggest.

2 Answers  


Why we use decision tables?

0 Answers  


An input field takes the year of birth between 1900 and 2004 what the boundary values for testing this field are?

0 Answers  


What the difference between pilot and beta testing is?

0 Answers  


How to do Integration testing in gmail application?

3 Answers  


Explain failure?

0 Answers  


What is the difference between Testing and Code review?

4 Answers  


Categories