Skip to main navigation Skip to search Skip to main content

Generating test data from state-based specifications

  • Jeff Offutt
  • , Shaoying Liu
  • , Aynur Abdurazik
  • , Paul Ammann
  • Hosei University
  • George Mason University

Research output: Contribution to journalArticlepeer-review

294 Scopus citations

Abstract

Although the majority of software testing in industry is conducted at the system level, most formal research has focused on the unit level. As a result, most system-level testing techniques are only described informally. This paper presents formal testing criteria for system level testing that are based on formal specifications of the software. Software testing can only be formalized and quantified when a solid basis for test generation can be defined. Formal specifications represent a significant opportunity for testing because they precisely describe what functions the software is supposed to provide in a form that can be automatically manipulated. This paper presents general criteria for generating test inputs from state-based specifications. The criteria include techniques for generating tests at several levels of abstraction for specifications (transition predicates, transitions, pairs of transitions and sequences of transitions). These techniques provide coverage criteria that are based on the specifications and are made up of several parts, including test prefixes that contain inputs necessary to put the software into the appropriate state for the test values. The test generation process includes several steps for transforming to tests. These criteria have been applied to a case study to compare their ability to detect seeded faults.

Original languageEnglish
Pages (from-to)25-53
Number of pages29
JournalSoftware Testing Verification and Reliability
Volume13
Issue number1
DOIs
StatePublished - Mar 2003

Keywords

  • Formal methods
  • Software testing
  • Specification-based testing

Fingerprint

Dive into the research topics of 'Generating test data from state-based specifications'. Together they form a unique fingerprint.

Cite this