Conformance execution of non-deterministic specifications for components
Abstract
To perform conformance checking of a software implementation with a (possibly non-deterministic) specification, a software implementation and a software specification are applied to produce a CT enabled implementation. Nondeterministic choices of the software specification result in assigning a corresponding choice of the CT enabled implementation to a variable. The CT enabled implementation includes a test that the variable then comprises one of the nondeterministic choices of the software specification. To perform conformance testing where the software specification includes ordered steps, and calls to methods of other classes (mandatory calls), a software object is produced and organized such that each step of the software specification has a corresponding code section in the software object. The software object includes instructions to generate an identification of a mandatory call comprised by the software specification, and instructions to test that the state of the implementation conforms to the software specification during the mandatory call.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 31.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of conformance-testing a software implementation with a software specification which defines proper behavior of the implementation, the method comprising: applying software implementation source code and at least a portion of the software specification to produce a conformance-test enabled implementation comprising portions of the software implementation and portions of the software specification integrated into a same body of code wherein nondeterministic choices of the software specification result in assigning a corresponding choice of the conformance-test enab
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 31 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- Barnett et al., "The ABCs of Specification: AsmL, Behavior, and Components," in Informatica, vol. 25, No. 4, pp. 517-526, Nov. 2001.
- Barnett, M. et al., Conformance Checking of Components Against Their Non-deterministic Specifications, Microsoft Technical Report, MSR-TR-2001-56, Jun. 2001.
- Barnett, M. et al., Specification, Simulation And Testing of COM Components Using Abstract State Mcahines, ASM Conference Feb. 2001.
- Barnett, M. et al., Spying on Components: A Runtime Verification Technique, Workshop on Specification Verification of Component Based Systems, OOPSLA, Oct. 2001.
- Barnett, M. et al., Using Abstract State Machines at Microsoft: A Case Study, ASM Conference 2000.