Software testing techniques Software testing techniques Sandwich strategy Presentation on the seminar Kaunas University of Technology.

Slides:



Advertisements
Similar presentations
3.6 Solving Systems of Linear Equations in Three Variables
Advertisements

Chapter 11, Testing, Part 2: Integration and System Testing
Software Engineering I: Integration and System Testing
1 Integration Testing CS 4311 I. Burnstein. Practical Software Testing, Springer-Verlag, 2003.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 11: Integration- and System Testing.
Factoring Quadratic Expressions ax 2 + bx + c. 2x2x 3x3x +3 – 4 Setting the Stage Do you remember how to multiply these together? (Referred to as FOIL.
Integration testing Satish Mishra
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
INTEGRATION TESTING ● After or during Unit Testing ● Putting modules together in a controlled way to incrementally build up the final system. ● Start with.
Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 1 Software Engineering October 31, 2001 Testing.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 11: Testing.
Outline Types of errors Component Testing Testing Strategy
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 11: Integration- and System Testing.
Bottom-Up Integration Testing After unit testing of individual components the components are combined together into a system. Bottom-Up Integration: each.
1 CSE 403 System Testing Reading: various web sites about Selenium! These lecture slides are copyright (C) Marty Stepp, They may not be rehosted,
Testing Chapter 11. Dealing with Errors Verification: –Makes assumptions –Doesn’t always deal with real environment Testing (this lecture) –Testing is.
Testing. Outline Terminology Types of errors Dealing with errors Quality assurance vs Testing Component Testing Unit testing Integration testing Testing.
ECE 355: Software Engineering
April 15, 2014CS410 – Software Engineering Lecture #17: Testing 1 What is this?
Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 9, Testing.
Overview Integration Testing Decomposition Based Integration
Using UML, Patterns, and Java Object-Oriented Software Engineering Art for Chapter 11, Testing.
Object-Oriented Software Engineering, Ch. 9
CEN th Lecture April 5, 2006 Introduction to Software Engineering (CEN-4010) Spring 2006 Instructor: Masoud Sadjadi
INT-Evry (Masters IT– Soft Eng)IntegrationTesting.1 (OO) Integration Testing What: Integration testing is a phase of software testing in which.
Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 11, Testing.
Testing Basics of Testing Presented by: Vijay.C.G – Glister Tech.
Partial Fractions Day 2 Chapter 7.4 April 3, 2006.
1 Systems V & V, Quality and Standards Dr Sita Ramakrishnan School CSSE Monash University.
Intro to S/W Engg Software Testing. Terminology  Reliability: The measure of success with which the observed behavior of a system confirms to some specification.
Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 1 Terminology  Reliability: The measure of.
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.
7.1 Solving Systems of Linear Equations in Three Variables.
CEN th Lecture Advance Software Engineering (CEN-5011) Fall 2005 Instructor: Masoud Sadjadi Testing.
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.
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.
Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 9, Testing.
Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 9, Testing.
What is this?. Erroneous State (“Error”) Algorithmic Fault.
Layers Architecture Pattern Source: Pattern-Oriented Software Architecture, Vol. 1, Buschmann, et al.
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
Implementation & Integration Research Paper Presentation Nick Conway.
Chapter 11, Testing. Tell me how are you going to test the CALCULATOR.
Chapter 11, Testing, Part 2: Integration and System Testing
Chapter-5 (Testing Strategy)
Integration Testing.
Chapter 11, Testing, Part 2: Integration and System Testing
Marius Skudžinskas IFM-02
Chapter 11, Testing, Part 2: Integration and System Testing
Mid-term Exam Account for 20% of the grade 100 points in total
Definition of Integration Testing
Chapter 11, Testing, Part 2: Integration and System Testing
Unit Test: Functions, Procedures, Classes, and Methods as Units
Chapter 11, Testing.
تصنيف التفاعلات الكيميائية
Using Cathode Ray Oscilloscopes (CRO’s)
Higher-Level Testing and Integration Testing
Integration Testing CS 4311
Chapter 9, Testing.
Integration Testing.
Chapter 11: Integration- and System Testing
Chapter 11: Integration and System Testing
CS410 – Software Engineering Lecture #11: Testing II
Presentation transcript:

Software testing techniques Software testing techniques Sandwich strategy Presentation on the seminar Kaunas University of Technology

Content Sandwich strategy what‘s that? How does it work? Pros and cons Modified Sandwich strategy what‘s that? How does it work? Pros and cons

Sandwich strategy what‘s that? It‘s a combination of top down and bottom up testing strategies. It‘s purpose is compromise usage of top down and bottom up strategies.

How does it work? The system is view as having three layers –A target layer in the middle –A layer above the target –A layer below the target –Testing converges at the target layer How do you select the target layer if there are more than 3 layers? –Heuristic: Try to minimize the number of stubs and drivers

How does it work? (2)

How does it work? (3) A B C D G F E Layer I Layer II Layer III Test E Test D,G Test B, E, F Test A, B, C, D, E, F, G Test F Test G Test A Bottom Layer Tests Top Layer Tests Test A,B,C, D Bottom up testing Top down

Pros and Cons of Sandwich Testing Top and Bottom Layer Tests can be done in parallel. Does not test the individual subsystems thoroughly before integration. Solution: Modified sandwich testing strategy.

Modified Sandwich Testing Strategy It‘s a better version of Sandwich Testing Strategy.

How does it work? Test in parallel: –Middle layer with drivers and stubs –Top layer accessing middle layer (top layer replaces drivers) –Bottom accessed by middle layer (bottom layer replaces stubs)

How does it work? (2) A B C D G F E Layer I Layer II Layer III Test F Test E Test B Test G Test DTest A Test C Test B, E, F Triple Test I Triple Test I Triple Test I Triple Test I Test D,G Double Test II Double Test II Double Test II Double Test II Double Test I Double Test I Double Test I Double Test I Test A,C Test A, B, C, D, E, F, G

Pros and Cons of Modified Sandwich Testing Takes less time than top down and bottom up testing. Because they are used partial. It still needs drivers and stubs.

Questions Sandwich strategy what‘s that? How many layers system has in Sandwich strategy? How do you select the target layer if there are more than 3 layers? What‘s better Sandwich strategy or Modified sandwich strategy? Why?