[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]


    Search the Q&A Archives


...stub & driver in intgration testing

<< Back to: comp.software.testing Frequently Asked Questions (FAQ)

Question by saravanan
Submitted on 9/23/2003
Related FAQ: comp.software.testing Frequently Asked Questions (FAQ)
Rating: Rate this question: Vote
what is stub & driver in intgration testing


Answer by steph57
Submitted on 10/7/2003
Rating:  Rate this answer: Vote
Stub is a piece of code emulating a called function, a driver is a piece of code emulating  a calling function

 

Answer by KrishnaKishore
Submitted on 5/18/2004
Rating:  Rate this answer: Vote
Stubs are created integration testing like Top-down approach,

Drivers are created integration testing like bottom-up approach

 

Answer by RajabNisha
Submitted on 6/3/2004
Rating:  Rate this answer: Vote
Stub: A piece of code that simulates the activity of missing component.

Driver: A piece of code that passes test case to another piece of code.

 

Answer by ab
Submitted on 1/16/2006
Rating: Not yet rated Rate this answer: Vote
Driver helps you to test the function of a module individually and if the function which is being tested by the diver calls another function then that function is known as a stub

 

Answer by sunil
Submitted on 2/3/2006
Rating: Not yet rated Rate this answer: Vote
Driver takes care that the entry point of the application is masked by that of the test code and gives full control to the test code

Stubs are simulations of the sub-code that otherwise is very difficult to execute in the test code.

 

Answer by himanshu bhasin
Submitted on 5/21/2006
Rating: Not yet rated Rate this answer: Vote
A stub is a brief section of compilable code that serves as a placeholder for future work.

a driver is a brief test program that demonstrates the functionality of a class or a portion of class

 

Answer by srikanth
Submitted on 7/20/2006
Rating: Not yet rated Rate this answer: Vote
Driver : It is a temporary Calling program.It functions similarly like main module for calling the sub modules.
Stub  : It is a temporary called program.It functions similarly like sub modules when called by the main module.

 

Answer by Amit Vanjari
Submitted on 10/26/2006
Rating: Not yet rated Rate this answer: Vote
Driver:-The approach is to write a program that passes input data to the unit under test and compares the output to truth.
Test drivers are higher-level routines that call lower-level subprograms.
Stubs:- Stub is a simple routine that takes the place of the real routine.
Stubs let you check the interfaces and higher levels of the program.

 

Answer by Manish
Submitted on 10/30/2006
Rating: Not yet rated Rate this answer: Vote
Stub: A piece of code that simulates the activity of missing components.

Driver :A piece of code that passes test cases to another piece of code.

 

Answer by sam
Submitted on 11/10/2006
Rating: Not yet rated Rate this answer: Vote
stub is a piece of special code that which is used to simulate the set up environment missing or not yet constructed.

driver is  a code that which invokes the code to be tested

 

Answer by avinashk
Submitted on 1/15/2007
Rating: Not yet rated Rate this answer: Vote
Stubs are dummy windows, Used in Topdown Approach, called programs   and

Drivers are dummy lines of code, Used in Bottomup Approach, calling programs.

 

Answer by Uma_Friends
Submitted on 1/20/2007
Rating: Not yet rated Rate this answer: Vote
Driver is a small program used to test a function,


Stub is a skeleton of function having function header. This function can have actual statements or simple statements which can be replaced with the actual code

 

Answer by Ashish Kumar MCA NITK
Submitted on 2/1/2007
Rating: Not yet rated Rate this answer: Vote
stub is a program ,used as a function during the acces of file it's main work is to find error.

 

Answer by rathesh
Submitted on 3/6/2007
Rating: Not yet rated Rate this answer: Vote
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.

 

Your answer will be published for anyone to see and rate.  Your answer will not be displayed immediately.  If you'd like to get expert points and benefit from positive ratings, please create a new account or login into an existing account below.


Your name or nickname:
If you'd like to create a new account or access your existing account, put in your password here:
Your answer:

FAQS.ORG reserves the right to edit your answer as to improve its clarity.  By submitting your answer you authorize FAQS.ORG to publish your answer on the WWW without any restrictions. You agree to hold harmless and indemnify FAQS.ORG against any claims, costs, or damages resulting from publishing your answer.

 

FAQS.ORG makes no guarantees as to the accuracy of the posts. Each post is the personal opinion of the poster. These posts are not intended to substitute for medical, tax, legal, investment, accounting, or other professional advice. FAQS.ORG does not endorse any opinion or any product or service mentioned mentioned in these posts.

 

<< Back to: comp.software.testing Frequently Asked Questions (FAQ)


[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]

© 2008 FAQS.ORG. All rights reserved.