SlideShare a Scribd company logo
1 of 16
Integration Testing
V.QUEEN JEMILA
Definition
Integration Testing is the process of testing the interface between two
software units or modules. It’s focus on determining the correctness of
the interface. The purpose of the integration testing is to expose faults in
the interaction between integrated units.
It is divided into two categories.
1. Bottom-up Integration
2. Top down Integration
Bottom-up integration is the traditional method to integrate the
system components.
It consists of the following
 Unit testing
 Subsystem testing
 Entire system testing
Unit Testing
The aim of unit testing is discovering errors in the individual modules of
the system. For unit testing we use test harness that consists of driver
programs and data. Unit testing ensure that each representative case
handled by each module has been tested.
Subsystem testing
A subsystem consists of large number of modules they communicate
each other. The main goal of subsystem testing is to verify the operation
of the interfaces with in the modules. Here control and data must be
tested. If the size of software is larger then we need several levels of
subsystems. Sometimes subsystem testing is not possible due to
combinational complexity.
System testing
System testing is concerned with refinements of interfaces, decision
logic, control flow, recovery procedures, throughput, capacity and timing
characteristic of the entire system. Careful test planning is required to
determine extent and nature of system testing.
Disadvantages of Bottom-up testing
 Write and debug test harnesses
 Level of complexity is increased when combining the
modules into larger system
 Difficult to isolate the sources of errors.
Top down Integration
It starts with the main routine and its immediate subordinate routines in
the system. After completing main routine it test its subroutine in order.
It needs stubs for simulating the effect of lower level routines.
Top down integration example
Get
Main
Put
Main
Proc
Sub2
Main
Sub1
1
List of stubs for the above example
1. Test Main – stubs for Get, Proc, Put
2. Add Get – Test Main, Get
3. Add Proc – Stubs for Sub1 and Sub2
4. Add Put – Test Main, Get, Proc, Put
5. Add Sub1 – Test Main, Get, Proc, Put
6. Add sub2 – Test Main, Get, Proc, Put
Advantages of Top-down Integration
 System Integration is distributed throughout the implementation
phase.
 Top level interfaces are tested first.
 The routines provide a natural test harness for lower level routines.
 Errors are localized to the new modules and interfaces.
At most, we prefer top-down integration testing for the software. Some
times the cost of test harness may increase.
Automated tools in Integration testing
1. Module drivers
2. Test data generators
3. Environment simulators
4. Library management
Module drivers allow specification of test cases in a descriptive
language. The driver tool calls the routine and compares the actual
results with expected results.
It also provides program stubs for top down testing. Test cases are
written for the stub. Some automated test drivers are AUT, MTS, TEST-
MASTER and TPL.
Test data generators are in two types. First type generators generate
files of random values based on the predefined format.
Second type generators are called as symbolic executors eg. ATTEST
that derive a set of test data which follow control path. Test data are
generated from formal specifications by the TESTER.
Environment simulators used in integration and acceptance testing very
often. If the operation of actual environment is impractical, we use the
simulators.
Some of the impractical situations are development of software for
nonexistent system and live testing. Examples of environment simulators
are PRIM and Saturn Flight Program Simulator.
Automated development library has database that consists of project
documentation, source code, object code, test cases and test reports.
Utility programs allow to access and manipulate materials like text
editors, compilers, report formatters and management information tools.
These systems include software factory, PDS and SCCS.

More Related Content

What's hot (20)

verification and validation
verification and validationverification and validation
verification and validation
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
White Box Testing
White Box TestingWhite Box Testing
White Box Testing
 
Software testing
Software testingSoftware testing
Software testing
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
 
System testing
System testingSystem testing
System testing
 
Black & White Box testing
Black & White Box testingBlack & White Box testing
Black & White Box testing
 
Software Testing Introduction
Software Testing IntroductionSoftware Testing Introduction
Software Testing Introduction
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
System testing
System testingSystem testing
System testing
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
Software Testing Techniques: An Overview
Software Testing Techniques: An Overview Software Testing Techniques: An Overview
Software Testing Techniques: An Overview
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case Design
 
Test cases
Test casesTest cases
Test cases
 
Control Flow Testing
Control Flow TestingControl Flow Testing
Control Flow Testing
 

Similar to Integration testing

Bt0081 software engineering2
Bt0081 software engineering2Bt0081 software engineering2
Bt0081 software engineering2Techglyphs
 
Software Testing
Software TestingSoftware Testing
Software TestingKiran Kumar
 
Different Software Testing Types and CMM Standard
Different Software Testing Types and CMM StandardDifferent Software Testing Types and CMM Standard
Different Software Testing Types and CMM StandardDhrumil Panchal
 
Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented TestingAMITJain879
 
SE2_Lec 20_Software Testing
SE2_Lec 20_Software TestingSE2_Lec 20_Software Testing
SE2_Lec 20_Software TestingAmr E. Mohamed
 
Chapter 3 SOFTWARE TESTING PROCESS
Chapter 3 SOFTWARE TESTING PROCESSChapter 3 SOFTWARE TESTING PROCESS
Chapter 3 SOFTWARE TESTING PROCESSst. michael
 
Unit Testing vs Integration Testing
Unit Testing vs Integration TestingUnit Testing vs Integration Testing
Unit Testing vs Integration TestingRock Interview
 
Software testing and_quality_assurance_powerpoint_presentation
Software testing and_quality_assurance_powerpoint_presentationSoftware testing and_quality_assurance_powerpoint_presentation
Software testing and_quality_assurance_powerpoint_presentationvigneshasromio
 
Testing throughout the software life cycle (test levels)
Testing throughout the software life cycle (test levels)Testing throughout the software life cycle (test levels)
Testing throughout the software life cycle (test levels)tyas setyo
 
Software testing
Software testingSoftware testing
Software testingAshu Bansal
 
unit 4.pptx very needful and important p
unit 4.pptx very needful and important punit 4.pptx very needful and important p
unit 4.pptx very needful and important p20EC040
 

Similar to Integration testing (20)

Bt0081 software engineering2
Bt0081 software engineering2Bt0081 software engineering2
Bt0081 software engineering2
 
Testing
TestingTesting
Testing
 
Types
TypesTypes
Types
 
Testing type
Testing typeTesting type
Testing type
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Ch23
Ch23Ch23
Ch23
 
Different Software Testing Types and CMM Standard
Different Software Testing Types and CMM StandardDifferent Software Testing Types and CMM Standard
Different Software Testing Types and CMM Standard
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented Testing
 
Testing strategies
Testing strategiesTesting strategies
Testing strategies
 
SE2_Lec 20_Software Testing
SE2_Lec 20_Software TestingSE2_Lec 20_Software Testing
SE2_Lec 20_Software Testing
 
Chapter 3 SOFTWARE TESTING PROCESS
Chapter 3 SOFTWARE TESTING PROCESSChapter 3 SOFTWARE TESTING PROCESS
Chapter 3 SOFTWARE TESTING PROCESS
 
Software testing
Software testingSoftware testing
Software testing
 
Unit Testing vs Integration Testing
Unit Testing vs Integration TestingUnit Testing vs Integration Testing
Unit Testing vs Integration Testing
 
Software testing and_quality_assurance_powerpoint_presentation
Software testing and_quality_assurance_powerpoint_presentationSoftware testing and_quality_assurance_powerpoint_presentation
Software testing and_quality_assurance_powerpoint_presentation
 
Testing throughout the software life cycle (test levels)
Testing throughout the software life cycle (test levels)Testing throughout the software life cycle (test levels)
Testing throughout the software life cycle (test levels)
 
software engineering
software engineeringsoftware engineering
software engineering
 
Software testing
Software testingSoftware testing
Software testing
 
unit 4.pptx very needful and important p
unit 4.pptx very needful and important punit 4.pptx very needful and important p
unit 4.pptx very needful and important p
 
S.t.
S.t.S.t.
S.t.
 

Recently uploaded

HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 

Recently uploaded (20)

HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 

Integration testing

  • 2. Definition Integration Testing is the process of testing the interface between two software units or modules. It’s focus on determining the correctness of the interface. The purpose of the integration testing is to expose faults in the interaction between integrated units. It is divided into two categories. 1. Bottom-up Integration 2. Top down Integration
  • 3. Bottom-up integration is the traditional method to integrate the system components. It consists of the following  Unit testing  Subsystem testing  Entire system testing
  • 4. Unit Testing The aim of unit testing is discovering errors in the individual modules of the system. For unit testing we use test harness that consists of driver programs and data. Unit testing ensure that each representative case handled by each module has been tested.
  • 5. Subsystem testing A subsystem consists of large number of modules they communicate each other. The main goal of subsystem testing is to verify the operation of the interfaces with in the modules. Here control and data must be tested. If the size of software is larger then we need several levels of subsystems. Sometimes subsystem testing is not possible due to combinational complexity.
  • 6. System testing System testing is concerned with refinements of interfaces, decision logic, control flow, recovery procedures, throughput, capacity and timing characteristic of the entire system. Careful test planning is required to determine extent and nature of system testing.
  • 7. Disadvantages of Bottom-up testing  Write and debug test harnesses  Level of complexity is increased when combining the modules into larger system  Difficult to isolate the sources of errors.
  • 8. Top down Integration It starts with the main routine and its immediate subordinate routines in the system. After completing main routine it test its subroutine in order. It needs stubs for simulating the effect of lower level routines.
  • 9. Top down integration example Get Main Put Main Proc Sub2 Main Sub1 1
  • 10. List of stubs for the above example 1. Test Main – stubs for Get, Proc, Put 2. Add Get – Test Main, Get 3. Add Proc – Stubs for Sub1 and Sub2 4. Add Put – Test Main, Get, Proc, Put 5. Add Sub1 – Test Main, Get, Proc, Put 6. Add sub2 – Test Main, Get, Proc, Put
  • 11. Advantages of Top-down Integration  System Integration is distributed throughout the implementation phase.  Top level interfaces are tested first.  The routines provide a natural test harness for lower level routines.  Errors are localized to the new modules and interfaces. At most, we prefer top-down integration testing for the software. Some times the cost of test harness may increase.
  • 12. Automated tools in Integration testing 1. Module drivers 2. Test data generators 3. Environment simulators 4. Library management
  • 13. Module drivers allow specification of test cases in a descriptive language. The driver tool calls the routine and compares the actual results with expected results. It also provides program stubs for top down testing. Test cases are written for the stub. Some automated test drivers are AUT, MTS, TEST- MASTER and TPL.
  • 14. Test data generators are in two types. First type generators generate files of random values based on the predefined format. Second type generators are called as symbolic executors eg. ATTEST that derive a set of test data which follow control path. Test data are generated from formal specifications by the TESTER.
  • 15. Environment simulators used in integration and acceptance testing very often. If the operation of actual environment is impractical, we use the simulators. Some of the impractical situations are development of software for nonexistent system and live testing. Examples of environment simulators are PRIM and Saturn Flight Program Simulator.
  • 16. Automated development library has database that consists of project documentation, source code, object code, test cases and test reports. Utility programs allow to access and manipulate materials like text editors, compilers, report formatters and management information tools. These systems include software factory, PDS and SCCS.