Question

Define “Stub” and “Driver” classes and describe the difference between them. (without plagiarism)

Define “Stub” and “Driver” classes and describe the difference between them. (without plagiarism)

Homework Answers

Answer #1

Stubs:

Stubs are used in TOP-DOWN approach of integration testing. In this first the upper modules are prepared and then they  are ready for testing while the bottom modules are not yet prepared by the developers.

Drivers:

A driver is the piece of code through which other programs and the snippets of code and modules can be called.

Difference between Stubs and Drivers:

Stubs Drivers
Used in Top-Down Integration Testing. 1.Used in Bottom-Up Integration Testing.
It is the code that emulates the called function. It is the code that emulates a calling function.
Stubs can stimulates the activity of missing Drivers can pass the test cases to another code
These are created when high level modules are tested and lower level modules These are created when lower level modules are tested and higher level modules

PLEASE GIVE A THUMBS UP!!!!!!!!!!!!!!

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
you are required to define sex and gender, as well as state the difference between them....
you are required to define sex and gender, as well as state the difference between them. The question is, "Do you think life would be easier if the construct of gender did not exist at all? State YES, OR NO, AND SUPPORT YOUR ANSWER..
Define (or describe the difference between a PARAMETER and a STATISTIC. For the Test Types, below,...
Define (or describe the difference between a PARAMETER and a STATISTIC. For the Test Types, below, identify the parameter and statistic values for each. 1-variable Means 2-variables Means 1-variable Proportion 2-variables Proportions
The four classes of grafts are autograft, isograft, allograft and xenograft. Briefly describe/define each.
The four classes of grafts are autograft, isograft, allograft and xenograft. Briefly describe/define each.
Describe evaluative and determinant criteria.What is the difference between them?What attributes do you consider to be...
Describe evaluative and determinant criteria.What is the difference between them?What attributes do you consider to be evaluative and determiant criteria in the selection of a new apartment.
What is the difference between an account based forecasting and driver based forecasting?
What is the difference between an account based forecasting and driver based forecasting?
What is the difference between account based forecasting and driver base forecasting
What is the difference between account based forecasting and driver base forecasting
What Are the five income classes in Distribution of income? Describe each of them. Why income...
What Are the five income classes in Distribution of income? Describe each of them. Why income distribution in more developed countries is less unequal? How do you measure that?
PLEASE DONT COPY AND PASTE. NO PLAGIARISM PLEASE. Identify the major similarities and differences between prokaryotic...
PLEASE DONT COPY AND PASTE. NO PLAGIARISM PLEASE. Identify the major similarities and differences between prokaryotic and eukaryotic cells. Where is the DNA housed in a prokaryotic cell? Where is it housed in a eukaryotic cell? What is the difference between the rough and smooth endoplasmic reticulum? Would an animal cell be able to survive without a mitochondria? Why or why not?
Define and distinguish the difference between soralia and soredia.
Define and distinguish the difference between soralia and soredia.
define risk and return and discuss the ralationship between them.
define risk and return and discuss the ralationship between them.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT