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

what will be the Test case for ATM Machine & Coffe Machine?

2 Answers  


if i report 2 bugs & those are fixed by dev. I have done re-testing of those bugs & got fine (closed) Ques is: If dev fixed above said bugs by adding one line code and tester has done re-testing. if there is any new bug occur due to that 1 line code. How u will find & what tester will do. what is the answer of this situation?????

7 Answers  


What are the different is manual database checking types?

0 Answers  


CGI MANUAL TESTING INTERVIEW questions: 1. tell me about your self 2. could you please explain bi-directional traceability 3. Tracebulity matrix with example 4. What and diff between validation & verification activities 5. Possible ways to check the log-in screen page get locked (user acc should b same all ways) 6. log in screen for a job portal for user and new registration user screen and give some new requirement changes 7. What is maintainace testing and support-testing 8. What the real time scenarios you are using your system 9. what are the techniques used for test coverage 10. what are the methods used for manual testing to write test case 11 is any domain you would like to prefer 12 have you been a part of end-to end testing (system testing) 13. What is non-functional testing?

3 Answers   CGI,


What features of sqlserver is generally used in database testing

3 Answers   Mastek,






what is testing process in related to Application testing

2 Answers  


Q2. From the below given choices, which one is the ‘Confidence testing’ A. Sanity testing B. System testing C. Smoke testing D. Regression testing

9 Answers   ISTQB, JO, Tech Mahindra, Trekbin,


SAY I HAVE A GMAIL PAGE OPENED IN IE 8 NOW WHAT WOULD BE YOUR COMPATABILITY TEST CASES FOR THAT>?

1 Answers   RBS, Wells Fargo,


How do we decide that testcases covers all the requirements?

1 Answers   Crea,


hi there, Yaar can any body help me please? I am looking for job change n want to relocate to Pune,Im in bangalore I have 2+exp in testing (man&QTP). if anyone can provide some reference in any comp.....plz reply ....Thanks

1 Answers  


Difference between the System Testing and System Integration Testing?

1 Answers   Wipro,


How do you scope out the size of the testing effort?

0 Answers  


Categories