SlideShare a Scribd company logo
1 of 1
Download to read offline
What is a stub and why is it used in testing?
Solution
Stub is a program that test the behaviour of the software component. It can be used in the place
of the component in a program that has the same behaviour of the component it is replacing.
It is used in the top down integration testing to check the behaviour of lower level module that
are yet not integrated.They afre also used for the interaction with external system.

More Related Content

More from arhamgarmentsdelhi

Define social contract theory. What does it attempt to explainS.pdf
Define social contract theory. What does it attempt to explainS.pdfDefine social contract theory. What does it attempt to explainS.pdf
Define social contract theory. What does it attempt to explainS.pdf
arhamgarmentsdelhi
 
A) Explain five (5) challenges amphibians faced when colonizing land.pdf
A) Explain five (5) challenges amphibians faced when colonizing land.pdfA) Explain five (5) challenges amphibians faced when colonizing land.pdf
A) Explain five (5) challenges amphibians faced when colonizing land.pdf
arhamgarmentsdelhi
 
a. Explain how chronic bleeding leads to iron deficiency anemia. b. .pdf
a. Explain how chronic bleeding leads to iron deficiency anemia. b. .pdfa. Explain how chronic bleeding leads to iron deficiency anemia. b. .pdf
a. Explain how chronic bleeding leads to iron deficiency anemia. b. .pdf
arhamgarmentsdelhi
 
8. Identify the causes and symptoms of endocarditis, myocarditis, an.pdf
8. Identify the causes and symptoms of endocarditis, myocarditis, an.pdf8. Identify the causes and symptoms of endocarditis, myocarditis, an.pdf
8. Identify the causes and symptoms of endocarditis, myocarditis, an.pdf
arhamgarmentsdelhi
 
17 Testing Your Knowledge s. Why are biologists sointerested inchemis.pdf
17 Testing Your Knowledge s. Why are biologists sointerested inchemis.pdf17 Testing Your Knowledge s. Why are biologists sointerested inchemis.pdf
17 Testing Your Knowledge s. Why are biologists sointerested inchemis.pdf
arhamgarmentsdelhi
 

More from arhamgarmentsdelhi (20)

Define social contract theory. What does it attempt to explainS.pdf
Define social contract theory. What does it attempt to explainS.pdfDefine social contract theory. What does it attempt to explainS.pdf
Define social contract theory. What does it attempt to explainS.pdf
 
Assume that you have the following set of hexadecimal values $20, $.pdf
Assume that you have the following set of hexadecimal values $20, $.pdfAssume that you have the following set of hexadecimal values $20, $.pdf
Assume that you have the following set of hexadecimal values $20, $.pdf
 
Briefly explain why heating water close to boiling in a test tube wo.pdf
Briefly explain why heating water close to boiling in a test tube wo.pdfBriefly explain why heating water close to boiling in a test tube wo.pdf
Briefly explain why heating water close to boiling in a test tube wo.pdf
 
AP Biology II -1. What substrate does the enzyme Potassium Cyanide.pdf
AP Biology II -1. What substrate does the enzyme Potassium Cyanide.pdfAP Biology II -1. What substrate does the enzyme Potassium Cyanide.pdf
AP Biology II -1. What substrate does the enzyme Potassium Cyanide.pdf
 
allocation SolutionThe correct option is Depreciation.Depreci.pdf
allocation SolutionThe correct option is Depreciation.Depreci.pdfallocation SolutionThe correct option is Depreciation.Depreci.pdf
allocation SolutionThe correct option is Depreciation.Depreci.pdf
 
A) Explain five (5) challenges amphibians faced when colonizing land.pdf
A) Explain five (5) challenges amphibians faced when colonizing land.pdfA) Explain five (5) challenges amphibians faced when colonizing land.pdf
A) Explain five (5) challenges amphibians faced when colonizing land.pdf
 
Classful addressing describes the IP address scheme thata.) divid.pdf
Classful addressing describes the IP address scheme thata.) divid.pdfClassful addressing describes the IP address scheme thata.) divid.pdf
Classful addressing describes the IP address scheme thata.) divid.pdf
 
a. Explain how chronic bleeding leads to iron deficiency anemia. b. .pdf
a. Explain how chronic bleeding leads to iron deficiency anemia. b. .pdfa. Explain how chronic bleeding leads to iron deficiency anemia. b. .pdf
a. Explain how chronic bleeding leads to iron deficiency anemia. b. .pdf
 
8. Identify the causes and symptoms of endocarditis, myocarditis, an.pdf
8. Identify the causes and symptoms of endocarditis, myocarditis, an.pdf8. Identify the causes and symptoms of endocarditis, myocarditis, an.pdf
8. Identify the causes and symptoms of endocarditis, myocarditis, an.pdf
 
Can someone please help me with this question3. Describe the funct.pdf
Can someone please help me with this question3. Describe the funct.pdfCan someone please help me with this question3. Describe the funct.pdf
Can someone please help me with this question3. Describe the funct.pdf
 
2. The probability that a phone call will last more than t minutes i.pdf
2. The probability that a phone call will last more than t minutes i.pdf2. The probability that a phone call will last more than t minutes i.pdf
2. The probability that a phone call will last more than t minutes i.pdf
 
28. Which of the following is an example of temporal structure in a .pdf
28. Which of the following is an example of temporal structure in a .pdf28. Which of the following is an example of temporal structure in a .pdf
28. Which of the following is an example of temporal structure in a .pdf
 
17 Testing Your Knowledge s. Why are biologists sointerested inchemis.pdf
17 Testing Your Knowledge s. Why are biologists sointerested inchemis.pdf17 Testing Your Knowledge s. Why are biologists sointerested inchemis.pdf
17 Testing Your Knowledge s. Why are biologists sointerested inchemis.pdf
 
Which species are included in the order InsectivoraShrews, moles .pdf
Which species are included in the order InsectivoraShrews, moles .pdfWhich species are included in the order InsectivoraShrews, moles .pdf
Which species are included in the order InsectivoraShrews, moles .pdf
 
Will you explain chemical bondsSolutionA chemical bond can .pdf
Will you explain chemical bondsSolutionA chemical bond can .pdfWill you explain chemical bondsSolutionA chemical bond can .pdf
Will you explain chemical bondsSolutionA chemical bond can .pdf
 
What specific balance sheet account provides the link between the ba.pdf
What specific balance sheet account provides the link between the ba.pdfWhat specific balance sheet account provides the link between the ba.pdf
What specific balance sheet account provides the link between the ba.pdf
 
What are the basic building blocks for Consumer Based Brand Equity .pdf
What are the basic building blocks for Consumer Based Brand Equity .pdfWhat are the basic building blocks for Consumer Based Brand Equity .pdf
What are the basic building blocks for Consumer Based Brand Equity .pdf
 
What does reconcile total assets to net operating assets mean an.pdf
What does reconcile total assets to net operating assets mean an.pdfWhat does reconcile total assets to net operating assets mean an.pdf
What does reconcile total assets to net operating assets mean an.pdf
 
Vegetation cover and aspect influence temperature Temperature is alw.pdf
Vegetation cover and aspect influence temperature  Temperature is alw.pdfVegetation cover and aspect influence temperature  Temperature is alw.pdf
Vegetation cover and aspect influence temperature Temperature is alw.pdf
 
The grouping Archaea is which of the following in the modern taxonom.pdf
The grouping Archaea is which of the following in the modern taxonom.pdfThe grouping Archaea is which of the following in the modern taxonom.pdf
The grouping Archaea is which of the following in the modern taxonom.pdf
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 

Recently uploaded (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 

What is a stub and why is it used in testingSolutionStub is a.pdf

  • 1. What is a stub and why is it used in testing? Solution Stub is a program that test the behaviour of the software component. It can be used in the place of the component in a program that has the same behaviour of the component it is replacing. It is used in the top down integration testing to check the behaviour of lower level module that are yet not integrated.They afre also used for the interaction with external system.