Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Stubs and drivers we use in integration testing mostly but
under what kind of testing approch it comes means Black box
White box grey box ? Please help to get answer for it

Answers were Sorted based on User's Feedback



Stubs and drivers we use in integration testing mostly but under what kind of testing approch it c..

Answer / mayank juyal

I am not sure whether you can directly equate Stubs and
Drivers with a Black box or White box or Gray box testing.

But according to me Stubs and Drivers are concepts which
can be part of both of the testing approaches.

As we know that:
Stub is dummy Procedure (Function/Component), which we use
as a replacement of the actual Procedure, when the actual
procedure is not fully developed while testing.

And

Driver is a main Program/Skeleton, whose purpose is to call
a Procedure/Function/Component that is being tested.
Now both of them can be used in Black Box or White Box
testing.

Example:
Black Box:
You are testing usability of a website. There is a web
page, on which clicking ‘Submit’ button navigates to next
web page.
Here in the current web page you have functionality for
inputting a ‘Unique Email ID ‘by clicking ‘Generate’
button, which is a mandatory field and only after
generating it, you will be able to click Submit Button.
Now, developers have not yet written the code for
generating Unique Email ID, so they have created a Stub,
for same functionality which puts a hard coded Email ID for
the same field, when Generate Button is clicked.
So if you take above example you have been using a Stub in
your Back Box testing approach while doing a usability
testing.

Alternatively –

WhiteBox:
If you are a developer/tester, who debug code or do unit
testing, for the same example mentioned above – Here sub
will be function/lines of code written to create that stub.

Regards,
Mayank Juyal

Is This Answer Correct ?    11 Yes 0 No

Stubs and drivers we use in integration testing mostly but under what kind of testing approch it c..

Answer / sangeeta

stubs and drivers will be used mainly by developers while doing white box testing by the developers

Is This Answer Correct ?    0 Yes 0 No

Stubs and drivers we use in integration testing mostly but under what kind of testing approch it c..

Answer / sravan kumar reddy

Integration testing comes under white box testing because it
is done by the developers. they develop the interfaces and
integrate the modules and test whether those interfaces are
working fine or not.

Is This Answer Correct ?    3 Yes 12 No

Post New Answer

More Manual Testing Interview Questions

how to do risk analysis during project and during write test cases how to know which one is most crucial functionalities of the application?

3 Answers  


What is Smoke testing,in smoke testing time u will prepare the test cases or not?

10 Answers   Sonata,


In testing can you explain the concept of work bench?

1 Answers  


1.How will u write traceability matrix? 2.What is Test summary Report…? 3. What is Test Closure report…? 4.What are the Testing methodologies that u have followed in your project ? plz...........do reply...............

1 Answers   Virtusa,


What is the clear meaning of test case, levels in test case ? contents of test case

2 Answers  


developers take most of the time for coding and tester left very few time for testing say 2 days which testing u find best when ur project is run out of time and product is going to be released

3 Answers  


Notepad(Editor),we test is which type of testing? a)Functionality Testing,b)Compatability Testing,c) All,d) None

2 Answers   ADITI,


How will you decide defect seviourity and priority?

2 Answers  


what are the examples for web based applications and Client Server Applications

5 Answers   ASD Lab, CFCI, College School Exams Tests, GXS,


what do you understand by browser and what r the types?

5 Answers  


whatis testing?

5 Answers  


What are teh characters of a good tester

6 Answers   Microsoft,


Categories