lecture-07-oracle-running-3

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

Info iconThis preview shows pages 1–4. 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 ht Aims for Today Test Automation Scaffolding The GUI Problem Whyisthisanissue tp://www.umsec.umn.edu Spring 2010 CSci 5802 2 Why is this an issue? The Nature of Test Oracles Relationship with test data Level 1 Level 1 Testing Sequence Top-Down Testing Spring 2010 CSci 5802 3 Level-2 Stubs Level 2 Level 2 Level 2 Level 2 Level-3 Stubs
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 ht Testing Sequence Level N-1 Level N-1 Level N-1 Test Drivers Bottom-Up Testing tp://www.umsec.umn.edu Spring 2010 CSci 5802 4 Level N Level N Level N Level N Level N Test Drivers Create Scaffolding Goal To setup the environment for executing the test initialization of non-local variables initialization of parameters D R I V E ORACLE check the Spring 2010 CSci 5802 5 activation of the unit R “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 PROGRAM UNIT check the correspondence between the produced and the expected result Generate Drivers and Stubs Brute force coding generic (for all tests) specific (for subsets of tests) interactive: ask user for values Spring 2010 CSci 5802 6 From driver/stub specs automatic: (approximately) compute required values - parsing the unit to partially generate the framework - add scripts to fill in the framework
Background image of page 2
Lecture 7-Runnign Tests, Oracles Spring 2010 CSci 5802 3 ht Problems and Tradeoffs effort in test execution and regression testing poorly designed drivers/stubs high effort in low effort in tp://www.umsec.umn.edu Spring 2010 CSci 5802 7 effort in developing drivers/stubs well designed drivers/stubs high effort in test execution and regression testing development low effort in test execution and regression testing low effort in development Why is Interface Testing Hard?
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 11

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

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

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