SlideShare una empresa de Scribd logo
1 de 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.

Más contenido relacionado

La actualidad más candente

Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
Confiz
 
Validation testing
Validation testingValidation testing
Validation testing
Slideshare
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
Komal Garg
 

La actualidad más candente (20)

What is Integration Testing? | Edureka
What is Integration Testing? | EdurekaWhat is Integration Testing? | Edureka
What is Integration Testing? | Edureka
 
Software Testing Introduction
Software Testing IntroductionSoftware Testing Introduction
Software Testing Introduction
 
White Box Testing
White Box Testing White Box Testing
White Box Testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Integration testing
Integration testingIntegration testing
Integration testing
 
Validation testing
Validation testingValidation testing
Validation testing
 
Unit testing
Unit testing Unit testing
Unit testing
 
What is integration testing
What is integration testingWhat is integration testing
What is integration testing
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 
System testing
System testingSystem testing
System testing
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Black box & white-box testing technique
Black box & white-box testing techniqueBlack box & white-box testing technique
Black box & white-box testing technique
 
5 black box and grey box testing
5   black box and grey box testing5   black box and grey box testing
5 black box and grey box testing
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
 
Regression testing
Regression testingRegression testing
Regression testing
 
Control Flow Testing
Control Flow TestingControl Flow Testing
Control Flow Testing
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)
 

Similar a 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
vigneshasromio
 
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
20EC040
 

Similar a 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.
 

Último

Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Último (20)

Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdf
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 

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.