Chapter 8 - Chapter8 ProgramTesting ProgramCorrectness

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

View Full Document Right Arrow Icon
    Chapter 8 Program Testing
Background image of page 1

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

View Full DocumentRight Arrow Icon
    Program Correctness It is very rare for a program to be 100%  correct A program is successful (in part) because  it has less bugs than others
Background image of page 2
    Decreasing Bugs Decreasing the occurrence of bugs can be  attributed to: Good overall design Programming talent Extensive testing
Background image of page 3

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

View Full DocumentRight Arrow Icon
    What is ‘Testing’? Two general goals: Check program for correctness Check for non-fatal but annoying bugs
Background image of page 4
    Limitations Testing  will not  prove that your program is  100% correct except when the program is  very simple. Therefore, the purpose of testing is really  to increase your level of confidence that  your program is correct The simple goal is to maximize confidence  with the least amount of work (unless you  work at the DOD or NASA)
Background image of page 5

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

View Full DocumentRight Arrow Icon
    Black Box Testing Tests are based on what the outcome of 
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/28/2011 for the course CS 1131 taught by Professor Staff during the Fall '08 term at Michigan Technological University.

Page1 / 23

Chapter 8 - Chapter8 ProgramTesting ProgramCorrectness

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

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