Method and apparatus for testing implementations of software specifications
Abstract
A method and apparatus for automatically generating validation tests for implementations of a program specification for an operating system, software application or a machine, where the program specification is expressed at least in part in terms of data structures and relationships. The method is carried out by a computer. The program specification is expressed in an interface specification language which is automatically parsed, and is then transformed into an extended finite state machine (EFSM) or multiple-EFSM architecture internally represented in the computer, the EFSM including objects representing states and transitions between those states representing executable functions, annotated to the states. The annotations may represent predicates, test data, value assignments, branch conditions, etc. The EFSM or architecture is traversed by a path traversal procedure, either exhaustively or in part, thereby producing path files, one for each path taken. Each path file is linked to a program shell, which is automatically generated for the specification, resulting in one independent validation test for each path file. Each validation test includes a call to the implementation of th
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 136.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for generating tests for an implementation of a program to insure that the implementation conforms to a natural language and computer readable program specification that specifies the functions the program will have to fulfill, defines the types and uses of variables, defines parameters and their relationships, and other system requirements, the method being carried out in a processor and including the steps of: (1) accepting as an input the natural language and computer readable program specification, wherein data relationships are expressed in the program specification with predefin
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 136 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (3)
- Chanson, A Unified Approach To Protocol Test Sequence Generation, 1993.
- Wang, Axiomatic Test Sequence Generation For Extended Finite State Machines, 1992.
- Wang, Generating Test Cases For EFSM With Given Fault Models 1993.