What is stub and driver in integration testing ?
Explain with example.
Answer Posted / kunal
types of integeration testing:
top down
bottom up
Top down :
testing hierarchy starts from higher level
to lower level.if suppose testers dnt get the lower modules
for testing(consider the lower modules are under developmnt)
wat the testers wil do thy wil place dummy modules and
integerate these dummy modules with the higher level
modules.in top down apparoach the dummy modules r called
Stubs.
Stubs- Def
stubs r the dummy modules tht simulates the low
level modules.
Bottom up:
in this the dummy modules r called drivers.
Drivers- Def:
drivers r the dummy modules tht simulate the high
OR
Integration testing: carrying out integration tests.
Integration tests (After Leung and White) for procedural
languages. This is easily generalized for OO languages by
using the equivalent constructs for message passing. In
the following, the word "call" is to be understood in the
most general sense of a data flow and is not restricted to
just formal subroutine calls and returns ? for example,
passage of data through global data structures and/or the
use of pointers.
Let A and B be two components in which A calls B.
Let Ta be the component level tests of A
Let Tb be the component level tests of B
Tab The tests in A's suite that cause A to call B.
Tbsa The tests in B's suite for which it is possible
to sensitize A -- the inputs
are to A, not B.
Tbsa + Tab == the integration test suite (+ = union).
| Is This Answer Correct ? | 13 Yes | 15 No |
Post New Answer View All Answers
explain ur testing project? how can u nexplain . what should we explain ? i have not worked on any project?
What do you do if the bug that you found is not accepted by the developer and he is saying its not reproducible.
1.what is the approach while writing test cases in your project. 2.tell some intresting scenareo in your project
What is the difference between code walkthrough and code review? What is the difference between walkthrough and inspection?
Work flow in testing in your company?
What does you mean by positive and negative testing & what is the difference between them. Can anyone explain with an example?
I am having 2 years of experience in Manual Testing, 2marrow I have an interview with a Company. Which type of questions they will ask me?How should I prepare for interview?Please guide me so that I will clear the interview.
Explain crud testing.
Is there any procedure of web-site development in manual testing. If yes what are factors we should test?
Have u ever done testing related to a database,give examples to support u r answer.
What is the difference between web based application and client server application?
HI FRNDS, I HAVE 2.5 years OF exp In Manual Testing,Plz let me know if thr r any oppurtunities in any company in Bangalore ID:dsnithi@gmail.com Thanks in Advance
Q) Create Preffered customer: As a customer when i purchase more than $5000 in goods since my first purchase, I become a preffered customer so that i can receive the benefits associated with that status.
hi sir, i completed my GNIIT from NIIT. i recently joined in IT company for Testing(manual) on JD EDWARDS.So,i wanna to ask that after taking 1yr experience can i able to do Testing .NET in another company.Pl i am confused pl send yours suggestion throw my email(paresh_shindeal@yahoo.com)
what are your achievements in your organization ? Guyz very very urgent , help me