l6 - CS 514 Software Product & Process Evaluation Lecture...

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

View Full Document Right Arrow Icon
CS 514 Software Product & Process Evaluation Lecture Notes 6: Software Testing Overview Fall 2007 James M. Bieman Copyright © 2000 - 2007 James M. Bieman 6-1 CS 514 Copyright © 2000 - 2007 James M. Bieman 6-1 Chapter 6 Software Testing Overview James M. Bieman Computer Science Dept Colorado State University CS 514 Copyright © 2000 - 2007 James M. Bieman 6-2 Outline 1. Introduction 2. Theory 3. Testing Strategies 1.Black Box testing 2.White Box Testing 4. Mutation testing CS 514 Copyright © 2000 - 2007 James M. Bieman 6-3 Reality Even after verifying the design and code we will still need to test.
Background image of page 1

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

View Full DocumentRight Arrow Icon
CS 514 Software Product & Process Evaluation Lecture Notes 6: Software Testing Overview Fall 2007 James M. Bieman Copyright © 2000 - 2007 James M. Bieman 6-2 CS 514 Copyright © 2000 - 2007 James M. Bieman 6-4 Some Terminology z Reliability: probability that a program runs for a given time without software error. z Validation: determination that a program is consistent with its requirements. z Verification: determination that a program is correct with respect to its (formal) spec. z Testing: examination of the behavior of a program by running it on selected sample data sets (inputs). CS 514 Copyright © 2000 - 2007 James M. Bieman 6-5 Terminology (2) z Unit testing: testing a procedure, function, or class. z Integration testing: testing connection between units and components. z System testing: test entire system. z Acceptance testing: testing to decide whether to purchase the software. CS 514 Copyright © 2000 - 2007 James M. Bieman 6-6 Terminology (3) z Alpha testing: system testing by a user group within the developing organization. z Beta testing: system testing by select customers. z Regression testing: retesting after a software modification.
Background image of page 2
CS 514 Software Product & Process Evaluation Lecture Notes 6: Software Testing Overview Fall 2007 James M. Bieman Copyright © 2000 - 2007 James M. Bieman 6-3 CS 514 Copyright © 2000 - 2007 James M. Bieman 6-7 Dynamic Fault Classification z Logic faults: omission or commission. z Overload: data fields are too small. z Timing: events are not synchronized. z Performance: response is too slow. z Environment: error caused by a change in the external environment. CS 514 Copyright © 2000 - 2007 James M. Bieman 6-8 Test Harnesses Allows us to test incomplete systems. z Test drivers: test components. z Stubs: test a system when some components it uses are not yet implemented. Often a short, dummy program --- a method with an empty body. CS 514 Copyright © 2000 - 2007 James M. Bieman 6-9 Test Oracles z Determine whether a test run completed with or without errors. z Often a person, who monitors output. – Not a reliable method. z Automatic oracles check output using another program. – Requires some kind of executable specification.
Background image of page 3

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

View Full DocumentRight Arrow Icon
CS 514 Software Product & Process Evaluation Lecture Notes 6: Software Testing Overview Fall 2007 James M. Bieman Copyright © 2000 - 2007 James M. Bieman 6-4 CS 514 Copyright © 2000 - 2007 James M. Bieman 6-10 Testing Strategies: Black Box Testing z Test data derived solely from specifications.
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 05/29/2010 for the course CS 514 taught by Professor Prof.j.bieman during the Fall '09 term at Colorado State.

Page1 / 32

l6 - CS 514 Software Product & Process Evaluation Lecture...

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