1 / 5

General Testing Background

General Testing Background. CISC 879 Spring 2007 Lori Pollock. Key Points. * Software Testing versus Debugging? * Static versus Dynamic Testing? * Error -> Fault -> Failure - Not one-to-one * What is a bug? Error or Fault. * Kinds of faults: incorrect implementation vs

Télécharger la présentation

General Testing Background

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. General Testing Background CISC 879 Spring 2007 Lori Pollock

  2. Key Points * Software Testing versus Debugging? * Static versus Dynamic Testing? * Error -> Fault -> Failure - Not one-to-one * What is a bug? Error or Fault. * Kinds of faults: incorrect implementation vs omission vs surprise

  3. Test Cases • For a given Implementation under test (IUT): • Pretest state • Test inputs or conditions • Expected outputs IUT: method, object, class, component, system  Levels of Testing: unit testing, integration testing, system testing Interesting test case – good chance of revealing a fault. Test Strategy – heuristic/algorithm to create test cases Test Design – create a test suite with a test strategy

  4. Application Representation Test Case Generator Test Cases Application Implementation Test Cases Replay Tool Actual Results Expected Results Pass/ Fail Oracle Traditional Software Testing Process Application Specification

  5. Kinds of Testing 1. Fault-directed: intended to reveal faults through failures (unit/integration) 2. Conformance-based: intended to show conformance with required capabilities (system) Today’s paper and talks – test designs

More Related