Lec 10 Integration Testing- 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 10 – Integration Testing 9/30/2013 1.

Slides:



Advertisements
Similar presentations
Fig. 4-1, p Fig. 4-2, p. 109 Fig. 4-3, p. 110.
Advertisements

1 ECE 453 – CS 447 – SE 465 Software Testing & Quality Assurance Instructor Kostas Kontogiannis.
1 ECE 453 – CS 447 – SE 465 Software Testing & Quality Assurance Instructor Kostas Kontogiannis.
Functional Testing 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 01 – Functional Testing.
CMSC 345, Version 11/07 SD Vick from S. Mitchell Software Testing.
P.464. Table 13-1, p.465 Fig. 13-1, p.466 Fig. 13-2, p.467.
P449. p450 Figure 15-1 p451 Figure 15-2 p453 Figure 15-2a p453.
Fig. 11-1, p p. 360 Fig. 11-2, p. 361 Fig. 11-3, p. 361.
CS447/ECE453/SE465 Prof. Alencar University of Waterloo 1 CS447/ECE453/SE465 Software Testing Tutorial Winter 2008 Based on the tutorials by Prof. Kontogiannis,
Table 6-1, p Fig. 6-1, p. 162 p. 163 Fig. 6-2, p. 164.
Conquering Complex and Changing Systems Object-Oriented Software Engineering Art for Chapter 9, Testing.
Copyright © 2004 Pearson Education, Inc.. Chapter 12 Practice Database Design Methodology and Use of UML Diagrams.
Chapter 8 . Sequence Control
Program unit A Program unit B Program unit T Function 1 Function 2 Function Component 1 Whole System (e.g. regression testing) Component 3....
Object-Oriented Software Testing. C-S 5462 Object-Oriented Software Testing Research confirms that testing methods proposed for procedural approach are.
Chapter 7 Unit Testing & Integration Testing Software Testing By Wararat Songpan(Rungworawut),PH.D. Department of Computer Science, Faculty of.
Overview Integration Testing Decomposition Based Integration
Different Levels of Testing
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
1 ECE 453 – CS 447 – SE 465 Software Testing & Quality Assurance Instructor Kostas Kontogiannis.
Testing phases. Test data Inputs which have been devised to test the system Test cases Inputs to test the system and the predicted outputs from these.
Final Review  Different tests  Boundary Value Testing  Equivalence Class Testing  Decision Table Based Testing  Path Testing  Data Flow & P-Slice.
Chapter 14 System Testing.
Introduction to Software Testing Chapter 8.1 Building Testing Tools –Instrumentation Paul Ammann & Jeff Offutt
Software Testing. 2 CMSC 345, Version 4/12 Topics The testing process  unit testing  integration and system testing  acceptance testing Test case planning.
1 Software Testing & Quality Assurance Lecture 14 Created by: Paulo Alencar Modified by: Frank Xu.
Article for last Tuesday u “Enhancing Software Testing by Judicious Use of Code Coverage Information” 1 540f07testing20nov06.
Lec 06 Path Testing Part II - 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 06 – Path Testing Part II 9/16/
Chapter 13 Integration Testing. The Mars Climate Orbiter Mission mission failed in September 1999 completed successful flight: 416,000,000 miles (
Software Testing Reference: Software Engineering, Ian Sommerville, 6 th edition, Chapter 20.
CSC 480 Software Engineering Lecture 15 Oct 21, 2002.
Computing and SE II Chapter 9: Design Methods and Design Models Er-Yu Ding Software Institute, NJU.
COMP 6710 Course NotesSlide 7-0 Auburn University Computer Science and Software Engineering Course Notes Set 7: Review of Graphs Computer Science and Software.
SOFTWARE DESIGN. INTRODUCTION There are 3 distinct types of activities in design 1.External design 2.Architectural design 3.Detailed design Architectural.
System Testing Beyond unit testing. 2 System Testing Of the three levels of testing, system level testing is closest to everyday experience We evaluate.
System Testing Earlier we have stated the 2 views of testing:
Software Construction Lecture 19 Software Testing-2.
Software Engineering Issues Software Engineering Concepts System Specifications Procedural Design Object-Oriented Design System Testing.
Integration Testing Beyond unit testing. 2 Testing in the V-Model Requirements Detailed Design Module implementation Unit test Integration test System.
Lec 09 Integration & System Testing- 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 09-Integration and System Testing 9/25/2013.
EEL 6883 Exam I Review Spring  The exam I will cover  Lectures 1-12  Software Usability paper from Chapter 4, Vol. 1  Open book, open notes.
1 Software Testing & Quality Assurance Lecture 15 Created by: Paulo Alencar Modified by: Frank Xu.
1 ECE 453 – CS 447 – SE 465 Software Testing & Quality Assurance Instructor Kostas Kontogiannis.
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To design and implement programs with more than one function ❏ To be able to.
Software Testing and Maintenance Lecture 3 Graph Coverage for Source Code Paul Ammann & Jeff Offutt Instructor: Hossein Momeni Mazandaran.
Software Engineering Zhang Shuang
CHAPTER 9 - PART 1 Software Testing Strategies. Lesson Outlines Definitions and objectives Software testing strategies Software test classifications White.
ANOOP GANGWAR 5 TH SEM SOFTWARE TESTING MASTER OF COMPUTER APPLICATION-V Sem.
CSCE 747 Software Testing and Quality Assurance
Integration Testing This is the step after the individual pieces of code or modules (programs) are tested. A set of programs do not exist in vacuum. They.
Data Coverage and Code Coverage
Paul Ammann & Jeff Offutt
CSCE 747 Software Testing and Quality Assurance
Ch. 14 System Testing (with new slides 4/18)
Chapter 14 System Testing
4-2 Functions in C In C, the idea of top–down design is done using functions. A C program is made of one or more functions, one and only one of which.
Chapter 4 Functions Objectives
Chapter 10 Data Flow Testing Slice Testing
Chapter 13 Integration Testing
CSCE 747 Software Testing and Quality Assurance
Paul Ammann & Jeff Offutt
CSCE 747 Software Testing and Quality Assurance
Different Levels of Testing
Ch. 14 System Testing Earlier we have stated the 2 views of testing:
Chapter 13 Integration Testing.
Integration Testing.
4-2 Functions in C In C, the idea of top–down design is done using functions. A C program is made of one or more functions, one and only one of which.
Abstraction.
Paul Ammann & Jeff Offutt
CSCE 747 Software Testing and Quality Assurance
Presentation transcript:

Lec 10 Integration Testing- 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 10 – Integration Testing 9/30/2013 1

Lec 10 Integration Testing- 2 CSCE 747 Fall 2013 Last Time  Integration & System Testing Part III  Levels of Testing Ch 12, pp Today  Integration & System Testing Part III  Integration Testing Ch 13, pp Jorgensen, Paul C. Software Testing A Craftsman Approach 2

Lec 10 Integration Testing- 3 CSCE 747 Fall 2013 Table 13.1 SATM Units Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 4 CSCE 747 Fall 2013 SATM Functional Decomposition Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 5 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 6 CSCE 747 Fall 2013 SATM Call Graph Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 7 CSCE 747 Fall 2013 Stubs for Top Down Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 8 CSCE 747 Fall 2013 Figure 13.3 Top-down Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 9 CSCE 747 Fall 2013 Figure 13.3 Top-down Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 10 CSCE 747 Fall 2013 Figure 13.3 Top-down Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 11 CSCE 747 Fall 2013 Bottom-Up Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 12 CSCE 747 Fall 2013 Sandwich Integration  John Montagu, 4th Earl of Sandwich Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 13 CSCE 747 Fall 2013 Call Based Graph Integration  Pairwise integration  Neighborhood integration  InteriorNodes = nodes – sources – sinks  Neighborhoods  Interior+source node Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 14 CSCE 747 Fall 2013 Neighborhood Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 15 CSCE 747 Fall 2013 Path Based Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 16 CSCE 747 Fall 2013 New and Extended Concepts  Definition: A source node in a program is a statement at which program execution begins or resumes.  Definition: A sink node in a program is a statement at which program execution stops.  Definition: A module execution path is a sequence of statements that begins with a source node and ends with a sink node, with no intervening sink nodes. Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 17 CSCE 747 Fall 2013  Definition: A message is a programming language mechanism by which one unit transfers control to another unit.  Definition: An MM-Path is an interleaved sequence of module execution paths and messages. Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 18 CSCE 747 Fall 2013 Fig 13.8 MM-Paths across three Units Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 19 CSCE 747 Fall 2013  Definition: Given a set of units, their MM- Path graph is the directed graph in which nodes are module execution paths and edges correspond to messages and returns from one unit to another. Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 20 CSCE 747 Fall 2013 Figure Data Quiescence Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 21 CSCE 747 Fall 2013 SATM code Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 22 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 23 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 24 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 25 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 26 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 27 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 28 CSCE 747 Fall 2013 UML Sequence Diagram a sample MM-Path Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 29 CSCE 747 Fall 2013 MM-Path directed graphs Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 30 CSCE 747 Fall 2013 Call Graph of “Integration” Version Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 31 CSCE 747 Fall 2013 SATM Integration Version  Function  isLeapYear(year)  lastDayOfMonth( )  getDate() Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 32 CSCE 747 Fall 2013 isLeap() Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 33 CSCE 747 Fall 2013 lastDayOfMonth Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 34 CSCE 747 Fall 2013 validDate() Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 35 CSCE 747 Fall 2013 Decomposition Based Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 36 CSCE 747 Fall 2013 Call Graph Based Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 37 CSCE 747 Fall 2013 MM-Path-Based Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

Lec 10 Integration Testing- 38 CSCE 747 Fall 2013 Table13.4 Comparison of Integration Testing Strategies

Lec 10 Integration Testing- 39 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach