How integration testing performed in organization

Answer Posted / anjani d

Integration Testing having two approaches,

Bottom up : stubs to Root
Top down : Root to stubs

Integration testing is a logical extension of unit testing.
In its simplest form, two units that have already been
tested are combined into a component and the interface
between them is tested. A component, in this sense, refers
to an integrated aggregate of more than one unit. In a
realistic scenario, many units are combined into components,
which are in turn aggregated into even larger parts of the
program. The idea is to test combinations of pieces and
eventually expand the process to test your modules with
those of other groups. Eventually all the modules making up
a process are tested together. Beyond that, if the program
is composed of more than one process, they should be tested
in pairs rather than all at once.

Integration testing identifies problems that occur when
units are combined. By using a test plan that requires you
to test each unit and ensure the viability of each before
combining units, you know that any errors discovered when
combining units are likely related to the interface between
units. This method reduces the number of possibilities to a
far simpler level of analysis.

You can do integration testing in a variety of ways but the
following are three common strategies:

* The top-down approach to integration testing requires
the highest-level modules be test and integrated first. This
allows high-level logic and data flow to be tested early in
the process and it tends to minimize the need for drivers.
However, the need for stubs complicates test management and
low-level utilities are tested relatively late in the
development cycle. Another disadvantage of top-down
integration testing is its poor support for early release of
limited functionality.
* The bottom-up approach requires the lowest-level units
be tested and integrated first. These units are frequently
referred to as utility modules. By using this approach,
utility modules are tested early in the development process
and the need for stubs is minimized. The downside, however,
is that the need for drivers complicates test management and
high-level logic and data flow are tested late. Like the
top-down approach, the bottom-up approach also provides poor
support for early release of limited functionality.
* The third approach, sometimes referred to as the
umbrella approach, requires testing along functional data
and control-flow paths. First, the inputs for functions are
integrated in the bottom-up pattern discussed above. The
outputs for each function are then integrated in the
top-down manner. The primary advantage of this approach is
the degree of support for early release of limited
functionality. It also helps minimize the need for stubs and
drivers. The potential weaknesses of this approach are
significant, however, in that it can be less systematic than
the other two approaches, leading to the need for more
regression testing.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the test harness?

670


what is the diff. bw separate database testers and manual testers with sql knowledge guys... iam confusing so much ,,in cmpny database testers are not working on manual..? both positions are same are not? explian clesly with example? thank u

1726


what is independent question and what is retriewing and what is problem of severity.

1419


can anyone tell me the questions that can be posed in an interview for a 5 year experienced person in manual testing

1590


What is verification in software testing?

679






What is quality center? What are the modules of quality center?

675


Write a set of test cases to test youtube?

7185


diff b/w desktop based testing & web application testing

1578


Hi Frnds, this is Aman.. can anybody tell me plz what kind of QA Interview questions are asked by IDS Infotech Ltd., Chandigarh? I have lil bit experience only in Manual Testing.. Plz answer my question as soon as possible.. Thnx in advance..

1911


need testing projects where can i find them

1672


What is a defect age?

644


What is pesticide paradox?

650


What is the difference between SIT AND IST?

2601


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.

1997


Describe your experiences with code analyzers.

1737