Software testing
Abstract
A system and method for generating executable units suitable for unit testing of a module for integration errors, the method comprising; recording, for a module, an interface specification that specifies pre-condition constraints on input values of methods of the module and post-condition constraints on output values of the methods of the module; creating, based upon the recorded interface specification, a driver unit for the module that complies with the pre-condition constraints specified by the interface specification; and creating, based upon the recorded interface specification, a stub unit for the module that checks compliance with the specified pre-condition constraints and that complies with the specified post-condition constraints of the interface specification.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 14.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for generating executable units suitable for unit testing of a module for integration errors, said method comprising: recording, for a module, an interface specification that specifies pre-condition constraints on input values of methods of the module and post-condition constraints on output values of the methods of the module; creating, based upon the recorded interface specification, a driver unit for the module that complies with the pre-condition constraints specified by the interface specification; and creating, based upon the recorded interface specification, a stub unit for the
- Claim 2Depends on #1
The method as claimed in claim 1 , further comprising incorporating, at an entry point of the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗