lecture-07-oracle-running-2

lecture-07-oracle-running-2 - Lecture 7-Runnign Tests,...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecture 7-Runnign Tests, Oracles Spring 2010 CSci 5802 1 CSci 5802 Software Engineering II Running Tests and the Oracle Chapter 17 Aims for Today Test Automation Scaffolding http://www The GUI Problem Why is this an issue? The Nature of Test Oracles Relationship with test data .umsec.umn.edu Spring 2010 CSci 5802 2
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Lecture 7-Runnign Tests, Oracles Spring 2010 CSci 5802 2 Tt i S Top-Down Testing http://www Level 1 Level-2 Stubs Level 1 Level 2 Level 2 Level 2 Level 2 Testing Sequence .umsec.umn.edu Spring 2010 CSci 5802 3 Level 2 Stubs Level-3 Stubs Testing Sequenc Test Drivers Bottom-Up Testing Sequence Level N-1 Level N-1 Level N-1 Test Drivers Spring 2010 CSci 5802 4 Level N Level N Level N Level N Level N
Background image of page 2
Lecture 7-Runnign Tests, Oracles Spring 2010 CSci 5802 3 Create Scaffolding Goal To setup the environment for executing the test http://www initialization of non-local variables initialization of parameters activation of the unit D R I V E R PROGRAM UNIT ORACLE check the correspondence between the produced and .umsec.umn.edu Spring 2010 CSci 5802 5 “templates” of modules used by the unit (functions called by the unit) “templates” of any other entity used by the unit S T U B produced and the expected result Generate Drivers and Stubs generic (for all tests) specific (for subsets of tests) Brute force coding interactive: ask user for values automatic: (approximately) compute required values Spring 2010 CSci 5802 6 From driver/stub specs - parsing the unit to partially generate the framework - add scripts to fill in the framework
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Lecture 7-Runnign Tests, Oracles Spring 2010 CSci 5802 4 Problems and Tradeoffs effort in test execution and regression testing http://www poorly designed drivers/stubs high effort in test execution and regression testing high effort in development low effort in test execution and regression testing low effort in development .umsec.umn.edu Spring 2010 CSci 5802 7 effort in developing drivers/stubs well designed drivers/stubs Why is Interface Testing Hard?
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/21/2011 for the course CSCI 5802 taught by Professor Heimdahl,m during the Spring '08 term at Minnesota.

Page1 / 16

lecture-07-oracle-running-2 - Lecture 7-Runnign Tests,...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online