See which of your colleagues or former colleagues are already on Testing Link: Check out the Contact Finder
Testing Method » Black Box Testing » Integration Testing

272 Views
  7 Replies

0
Vote Vote
Integration Testing
tirru
tirru Picture
6 Posts
back to top
Posted 27-05-2009Reply

Hi,

Can anybody explain top down and bottom up approach in integrations testing and if the sub module is not ready can we do integration testing and how and also main module is not ready under developing, can we do bottom up integration testing, if yes how

regards
tirru

Narendra
Narendra Picture
28 Posts
back to top
  Rated 0 | Posted 26-08-2009

Hi,

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) what the testers will do they wil place dummy modules and integerate these dummy modules with the higher level modules. In top down apparoach the dummy modules are called Stubs.


Stubs- Def:- Stubs are the dummy modules tht simulates the low level modules. Stubs are called Functions.


Bottom up: testing hierarchy starts from higher level to lower level. if suppose testers dnt get the higher modules for testing (consider the higher modules are under developmnt) what the testers will do they wil place dummy modules and integerate these dummy modules with the lower level modules. In this Bottom up apparoach the dummy modules are called drivers.

Drivers- Def::- Drivers are the dummy modules that simulate the high level modules. Drivers are calling Functions.

Regards,
Narendra.

Anitha
Anitha Picture
3 Posts
back to top
  Rated +1 | Posted 28-08-2009

HI,

In top down approach, how do tester place dummy modules and integerate these dummy modules with the higher level modules.

Pls clarify...

Rgds,
Anitha

Narendra
Narendra Picture
28 Posts
back to top
  Rated 0 | Posted 28-08-2009

Hi,

In Top-down integration The core module(Main Module) is developed first and In order to test this Core module we develop dummy smaller modules called 'Stubs'. These stubs are small codes to test the functionality of the core
module.

Mostly Developers and Unit Testers will do the integration testing.

Integration tests are 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.

For Ex:-

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).

Hope this is clear..

Regards,
Narendra.

Anitha
Anitha Picture
3 Posts
back to top
  Rated 0 | Posted 31-08-2009

It is very clear now. Thank you.

Dayanand
Dayanand Picture
2 Posts
back to top
  Rated 0 | Posted 04-09-2009

Hi,

Top down : testing hierarchy st... See Narendra's complete reply
hey,bottum up integration starts from lower level to higher level i.e. from

bottum to top...

Narendra
Narendra Picture
28 Posts
back to top
  Rated 0 | Posted 04-09-2009

Hi Dayanand,

I aggree with you regarding the bottum up integration.

But, Always testing hierarchy starts from higher level to lower level only.

With out the higher modules user can't proceed to lower modules. b'cose of this we need to create the dymmy higher module.

In this dymmy higher modules are nothing but Drivers.

Please correct me if i am wrong.

Regards,
Narendra.

Sitam
Sitam Picture
14 Posts
back to top
  Rated 0 | Posted 21-11-2011

Hi tirru,

Integration testing is a testing methodology where we test the interfaces between components, interactions to different parts of a system such as operating system, file system and hardware or interfaces between systems.

Integration testing can be done in such a way that all programs are integrated one by one, and a test is carried out after each step. It is called as incremental approach of doing integration testing. It can be of two types :-
1) Top-down : Here testing starts from the top module (main module) and ends at the bottom module (Sub menu module) and integrated one by one. If any sub module is not ready then a dummy of that module is prepared which is termed as stubs and then that sub module is substituted by stubs.

2) Bottom-up : Here testing starts from the bottom module (Sub menu module) and ends at the top module (Main module) and integrated one by one. If main module is not ready then a dummy of that module is prepared which is termed as drivers and then that main module is substituted by drivers.

Regards
Sitam

0
Vote Vote

Recent Activity in Forums