INTEGRATION TESTING ● After or during Unit Testing ● Putting modules together in a controlled way to incrementally build up the final system. ● Start with.

Slides:



Advertisements
Similar presentations
Chapter 11, Testing, Part 2: Integration and System Testing
Advertisements

1 Integration Testing CS 4311 I. Burnstein. Practical Software Testing, Springer-Verlag, 2003.
System/Software Testing Error detection and removal determine level of reliability well-planned procedure - Test Cases done by independent quality assurance.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 11: Integration- and System Testing.
Chapter 29: Integration Jacob Harper. The Integration Approach The order of adding components to a system is crucial Benefits to careful integration –
Software Integration Testing Speaker: Jerry Gao Ph.D. San Jose State University URL:
Integration testing Satish Mishra
Unit 241 Integration Phase  The objective of this section is to introduce how the software product is realized from a set of programs, program units or.
Integration and System Testing CSSE 376, Software Quality Assurance Rose-Hulman Institute of Technology March 29, 2007.
Strategic Approach to Testing
Integration Testing Presented By Nesreen Ahmad. *Main Points:-  Definition Of Integration Testing.  Procedure Of Integration Testing.  Integration.
Illinois Institute of Technology
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 10: Testing and Inspecting to Ensure High Quality Part 3:
Outline Types of errors Component Testing Testing Strategy
Software Testing Name: Madam Currie Course: Swen5431 Semester: Summer 2K.
Program unit A Program unit B Program unit T Function 1 Function 2 Function Component 1 Whole System (e.g. regression testing) Component 3....
Software Testing Levels Philippe CHARMAN Last update:
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 11: Integration- and System Testing.
Software Testing & Strategies
Issues on Software Testing for Safety-Critical Real-Time Automation Systems Shahdat Hossain Troy Mockenhaupt.
Bottom-Up Integration Testing After unit testing of individual components the components are combined together into a system. Bottom-Up Integration: each.
Software System Integration
CH08: Testing the Programs
Testing Chapter 11. Dealing with Errors Verification: –Makes assumptions –Doesn’t always deal with real environment Testing (this lecture) –Testing is.
… and after unit testing …
ECE 355: Software Engineering
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 20 Slide 1 Integration testing l Tests complete systems or subsystems composed of integrated.
Overview Integration Testing Decomposition Based Integration
Implementation & Integration Phase Implementation, then integration: Implementation, then integration:  Each module is implemented by member of programmer.
Different Levels of Testing
Final Review  Different tests  Boundary Value Testing  Equivalence Class Testing  Decision Table Based Testing  Path Testing  Data Flow & P-Slice.
INT-Evry (Masters IT– Soft Eng)IntegrationTesting.1 (OO) Integration Testing What: Integration testing is a phase of software testing in which.
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 13a: Software Testing Strategies Software Engineering: A Practitioner’s Approach, 6/e Chapter.
Testing Basics of Testing Presented by: Vijay.C.G – Glister Tech.
Implementation 1. Software Implementation – transforming design into code Requirements Analysis Software Design Implementation Testing Deployment Evolution.
1 Systems V & V, Quality and Standards Dr Sita Ramakrishnan School CSSE Monash University.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 11, Testing, Part 2: Integration and System Testing.
1 Integration Testing CS 4311 I. Burnstein. Practical Software Testing, Springer-Verlag, 2003.
Chapter 2: Testing in Software Life Cycle MNN1063 System Testing and Evaluation.
Chapter 7 Implementation. Implementation Approaches F Big bang –Code entire system and test in an unstructured manner F Top-down –Start by implementing.
Big Bang Approach No testing of Individual Units Advantages Cost can be saved No stubs/Drivers Very fast Disadvantages Hard to debug Location of defect.
CSC 480 Software Engineering Test Planning. Test Cases and Test Plans A test case is an explicit set of instructions designed to detect a particular class.
ISBN Prentice-Hall, 2006 Chapter 8 Testing the Programs Copyright 2006 Pearson/Prentice Hall. All rights reserved.
Integration testing Integrate two or more module.i.e. communicate between the modules. Follow a white box testing (Testing the code)
Integration Testing Beyond unit testing. 2 Testing in the V-Model Requirements Detailed Design Module implementation Unit test Integration test System.
CS451 Software Implementation and Integration Yugi Lee STB #555 (816) Note: This lecture was designed.
What is a level of test?  Defined by a given Environment  Environment is a collection of people, hard ware, software, interfaces, data etc.
Dillon: CSE470: SYSTEM INTEGRATION 1 Build Plan l Development or integration strategies l Decide the order in which components of the system will be developed.
1 Software Testing & Quality Assurance Lecture 15 Created by: Paulo Alencar Modified by: Frank Xu.
Software testing techniques Software testing techniques Sandwich strategy Presentation on the seminar Kaunas University of Technology.
Integrating the Code during the Development Alexander Vakrilov Telerik Corporation
Integration testing After different modules of a system have been coded and unit tested: –modules are integrated in steps according to an integration plan.
CS 325: Software Engineering February 16, 2016 Designing a Design Class Diagram Design Class Diagrams DCD: Restaurant Example DCD: ATM Example Software.
Chapter 8 Testing the Programs. Integration Testing  Combine individual comp., into a working s/m.  Test strategy gives why & how comp., are combined.
Software Engineering Zhang Shuang
Handouts Software Testing and Quality Assurance Theory and Practice Chapter 7 System Integration Testing
Chapter 8 Testing the Programs 8.1 Software Faults and Failures 1. Introduction  faults: A: definition: the problem caused by error B: cause: X: the software.
Chapter 11, Testing, Part 2: Integration and System Testing
Integration Testing.
Marius Skudžinskas IFM-02
3.1 Factors and Multiples of Whole Numbers (Outcome FP10.1)
Chapter 18 Software Testing Strategies
Chapter 11, Testing, Part 2: Integration and System Testing
Software System Integration
Higher-Level Testing and Integration Testing
Integration Testing CS 4311
Software System Integration
Chapter 11: Integration- and System Testing
Chapter 11: Integration and System Testing
CS410 – Software Engineering Lecture #11: Testing II
Presentation transcript:

INTEGRATION TESTING ● After or during Unit Testing ● Putting modules together in a controlled way to incrementally build up the final system. ● Start with a hierarchy of modules. ● Write Stubs and Drivers as needed.

HIERARCHY A B CD E F G COPY DOWN

BOTTOM-UP Test E Test F Test G Test B,E,F Test C Test D,G Test A,B,C,D, E,F,G

Bottom-Up Testing ● No need for Stubs. ● Useful when many of the low-level components are general-purpose utility routines that are invoked often by others. ● Useful for object-oriented design. ● Major system functionality tested last!

TOP-DOWN Test A Test A,B,C,D Test A,B,C,D, E,F,G

Top-Down Design ● No need for Drivers. ● Test main functionality early. ● More stubs than drivers. ● Stubs are usually harder to write. ● May find some timing problems (low level modules) late in the testing cycle.

Modified Top-Down Test A B C D A,B, C,D E F G A,B,C, D,E,F

Modified Top-Down ● Reduces the number of stubs. ● Some drivers are needed to test each module separately.

BIG-BANG Test A B C D E F G A,B,C,D, E,F,G

BIG BANG ● Most programmers use this method. ● Somewhat practical for small systems. ● Not practical for large systems. ● Requires both stubs and drivers. ● It's difficult to find failures. ● Interface faults cannot be distinguished easily from other types of faults.

SANDWICH Test AGA F E D,G B,E,F A,B,C,D, E,F,G

SANDWICH ● Combines a Top-Down and a Bottom-Up approach. ● System is viewed as three layers, just like a sandwich (the target layer in the middle, the levels above and below). ● Testing converges on the target layer. ● Stubs for utilities need not be written. ● Does not test the individual components throroughly

MODIFIED SANDWICH Test AGA F E D,G B,E,F A,B,C,D, E,F,G C D B Test

MODIFIED SANDWICH ● Allows upper-level components to be tested before merging them with others.

Comparison of Integration Strategies Handout