13 - testing

13 - testing - Testing Non-execution based testing...

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

View Full Document Right Arrow Icon
Testing Non-execution based testing Walk-throughs Inspections o Peer-to-peer o Development Organization-to-customer Typically, in non-execution based testing an “interesting” piece of code is selected either by the developer or by the customer and then this piece of code is studied, commented, and suggested upon. The developer might choose a piece of code that is particularly clever/tricky in order to get feedback. A development organization might choose a piece of code that chose how well it has fulfilled its obligation to its customer. Execution based testing Behavioral properties of programs: 1. Utility – the program responds correctly to valid input. 2. Robustness – the program recovers well from invalid input. 3. Reliability – a measure of the frequency and criticality of product failure. i. Meantime between failures ii. Meantime to repair 4. Performance – a product performs well if it meets its runtime constraints. Observation : Execution based program testing can be very effective in showing the presence of bugs, but it is hopelessly inadequate for showing their absence (Dijkstra ’72). Why? Because exhaustive program testing is not possible . Example : Consider a program with 20 inputs; each input can accept 4 distinct values. In order to test this program exhaustively we have to consider 4 20 different test cases (
Background image of page 1

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

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

This note was uploaded on 10/03/2011 for the course CSC 592 taught by Professor Staff during the Spring '11 term at Rhode Island.

Page1 / 3

13 - testing - Testing Non-execution based testing...

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

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