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

hi iam suma i completed my btech and search job in testingtools, i don't any real time experiance can any one post me real time srs doc and tracebulity matrix related to banking projects to this e-mailid ch_sumathi2004@yahoo.co.in

2 Answers  


i finished writing test caes, logged bugs and also regression testing i finished.when we do user acceptance testing?

3 Answers  


HI, i did MCA and i took coaching for testing and now iam trying to get job.but whenever i see any job requirement they r asking for minimum 3 yrs of experience and many other pgmming languages like java,c++,perl,shell,database like unix,linux.my question how can one have experience without getting job and how one can know so many(pgmm lnguages).iam afraid to keep fake experience and cannot answer as i did the project.so some one pls suggest me how should i proceed ..thx in advance.

2 Answers  


What is manual testing?Is any different types of testing in this?

9 Answers  


How we will test ubercate

0 Answers  


What are the tools of performance testing?

1 Answers  


Explain number of production defects measure?

0 Answers  


PLEASE ANY ONE SEND SAMPLE DEFECT REPORT DOCUMENT MY MAIL ID IS-----gvbabu143@gmail.com THANKS IN ADVANCE

0 Answers  


Please any one tell me what is application architure in web based applications

2 Answers   ProKarma,


generally what model tester will follow in an comapany? pls give me answer

3 Answers  


What are stubs and drivers?

3 Answers  


Suppose wihile we are doing testing..A bug is reproduced what will be the necessary action taken by the tester?

2 Answers  


Categories