What is the Difference between Stub Testing and Driver
Testing?

Answer Posted / yasir

Stub means a Dummy model of a particular module.

Suppose we have to test the interface between 2 modules A
and B and we have developed only module A while Module B is
yet in development stage.
So in such case we can not test module A but, if we prepare
a dummy module, having similar features like B then using
that we can test module A.
Our main aim in this is to test Module A & not Module B so
that we can save time otherwise we have to wait till the
module B is actually developed.

Hence this dummy module B is called as Stub.

Now module B cannot send/receive data from module A
directly/automatically so, in such case we have to transfer
data from one module to another module by some external
features. This external feature used is called Driver.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1. Give me an example of something you tried at work but did not work out so you had to go at things another way. can somebody give a real time example

1887


About Hierarchy level in your company.

1594


I have 6 months experience as project tarine and one and a half year experience as software engineer.Should i write taht my total experience id 2 years.

1498


What are the RBI rules has to follow by a bank for online precesseing. ?

1721


What are the basic forms of variations?

1690






Write all combinations of test cases for calculater on + symbel

1807


What knowledge I must have as a 3 yrs. manual tester??

1634


What is the procedure of manual testing?

639


can we do database testing in manual testing? then how we write the test case?

5939


What is test out put?

1602


What is the limit for test steps?It should be 10/20/30etc

1494


Can you explain the pdca cycle and where testing fits in?

778


whats main working for tester. and developer, and prject manager.

1664


what is metrics in software testing? give me a brief detail about it?

4158


how do u manage scripts in winrunner when you application is changing frequently?

1489