2
Most read
8
Most read
9
Most read
INTEGRATION
TESTING
INTRODUCTION
â—Ź A process of testing the interface between two software units or module.
â—Ź The purpose of the integration testing is to expose faults in the interaction
between integrated units.
WHY THIS ?
We feel that Integration testing is complex and requires some development and
logical skill. That’s true!
Then what is the purpose of integrating this testing into our testing strategy?
How it is done?
â—Ź Preparation
â—Ź Decide on the type of integration testing approach
â—Ź Design test cases.
â—Ź Deploy the chosen modules together.
â—Ź Track the defects test results
â—Ź Repeat
CHALLENGES
â—Ź Managing integration testing is difficult sometimes.
â—Ź Integrating a new system to a legacy system.
â—Ź Less compatibility between the two systems developed by two different companies.
â—Ź There are way too many different paths and permutations.
ADVANTAGES
â—Ź The tester can start testing once the modules to be tested are available.
â—Ź It detects errors related to the interface between modules.
â—Ź Typically covers a large volume of the system.
â—Ź Increases the test coverage and improves the reliability of tests.
TYPES
INCREMENTAL APPROACH
â—Ź Incremental Testing is performed by connecting two or more modules together that are
logically related.
â—Ź Stubs and Drivers
â—Ź Incremental approach is divided into :
1.Top-Down Approach
2.Bottom-Up Approach
3. Sandwich Approach
TOP - DOWN APPROACH
â—Ź The top-down approach starts by testing the top-most modules and gradually moving down to
the lowest set of modules one-by-one.
TOP - DOWN APPROACH
Advantages:
â—Ź Separately debugged module.
â—Ź It is more stable and accurate at the aggregate level.
Disadvantages:
â—Ź Needs many Stubs.
â—Ź Modules at lower level are tested inadequately.
BOTTOM - UP APPROACH
â—Ź The bottom-up approach starts with testing the lowest units of the application
and gradually moving up one-by-one.
BOTTOM - UP APPROACH
Advantages:
â—Ź In bottom-up testing, no stubs are required.
â—Ź Several disjoint subsystems can be tested simultaneously
Disadvantages:
â—Ź Requires several drivers
â—Ź Data flow is tested very late
SANDWICH APPROACH
â—Ź It is a combination of Top-down and Bottom-up approaches therefore it is called
Hybrid Integration Testing.
â—Ź It makes use of both stubs as well as drivers.
SANDWICH APPROACH
Advantages:
â—Ź Mixed approach is useful for very large projects having several sub projects.
â—Ź This Sandwich approach overcomes this shortcoming of the top-down and bottom-up
approaches.
Disadvantages:
â—Ź The cost requirement is very high
â—Ź Cannot be used for smaller systems with huge interdependence between the modules
BIG BANG APPROACH
â—Ź It is the simplest integration testing approach.
â—Ź All the modules of the system are simply put together and tested.
â—Ź This approach is practicable only for very small systems.
BIG BANG APPROACH
Advantages:
â—Ź It is convenient for small systems.
Disadvantages:
â—Ź Fault localization is tough.
â—Ź Critical issues are not resolved on priority.
THANK YOU

INTEGRATION TESTING

  • 1.
  • 2.
    INTRODUCTION ● A processof testing the interface between two software units or module. ● The purpose of the integration testing is to expose faults in the interaction between integrated units. WHY THIS ? We feel that Integration testing is complex and requires some development and logical skill. That’s true! Then what is the purpose of integrating this testing into our testing strategy?
  • 3.
    How it isdone? â—Ź Preparation â—Ź Decide on the type of integration testing approach â—Ź Design test cases. â—Ź Deploy the chosen modules together. â—Ź Track the defects test results â—Ź Repeat
  • 4.
    CHALLENGES â—Ź Managing integrationtesting is difficult sometimes. â—Ź Integrating a new system to a legacy system. â—Ź Less compatibility between the two systems developed by two different companies. â—Ź There are way too many different paths and permutations.
  • 5.
    ADVANTAGES â—Ź The testercan start testing once the modules to be tested are available. â—Ź It detects errors related to the interface between modules. â—Ź Typically covers a large volume of the system. â—Ź Increases the test coverage and improves the reliability of tests.
  • 6.
  • 7.
    INCREMENTAL APPROACH â—Ź IncrementalTesting is performed by connecting two or more modules together that are logically related. â—Ź Stubs and Drivers â—Ź Incremental approach is divided into : 1.Top-Down Approach 2.Bottom-Up Approach 3. Sandwich Approach
  • 8.
    TOP - DOWNAPPROACH â—Ź The top-down approach starts by testing the top-most modules and gradually moving down to the lowest set of modules one-by-one.
  • 9.
    TOP - DOWNAPPROACH Advantages: â—Ź Separately debugged module. â—Ź It is more stable and accurate at the aggregate level. Disadvantages: â—Ź Needs many Stubs. â—Ź Modules at lower level are tested inadequately.
  • 10.
    BOTTOM - UPAPPROACH â—Ź The bottom-up approach starts with testing the lowest units of the application and gradually moving up one-by-one.
  • 11.
    BOTTOM - UPAPPROACH Advantages: â—Ź In bottom-up testing, no stubs are required. â—Ź Several disjoint subsystems can be tested simultaneously Disadvantages: â—Ź Requires several drivers â—Ź Data flow is tested very late
  • 12.
    SANDWICH APPROACH â—Ź Itis a combination of Top-down and Bottom-up approaches therefore it is called Hybrid Integration Testing. â—Ź It makes use of both stubs as well as drivers.
  • 13.
    SANDWICH APPROACH Advantages: â—Ź Mixedapproach is useful for very large projects having several sub projects. â—Ź This Sandwich approach overcomes this shortcoming of the top-down and bottom-up approaches. Disadvantages: â—Ź The cost requirement is very high â—Ź Cannot be used for smaller systems with huge interdependence between the modules
  • 14.
    BIG BANG APPROACH â—ŹIt is the simplest integration testing approach. â—Ź All the modules of the system are simply put together and tested. â—Ź This approach is practicable only for very small systems.
  • 15.
    BIG BANG APPROACH Advantages: â—ŹIt is convenient for small systems. Disadvantages: â—Ź Fault localization is tough. â—Ź Critical issues are not resolved on priority.
  • 16.