Generating testcases based on numbers of testcases previously generated
Abstract
An apparatus, computer system, and storage medium that, in an embodiment, receive elements and a goal for each of the elements. In various embodiments, the elements may represent commands or parameter values for a device to be tested. Testcases are generated based on the elements. If the numbers of testcases for the elements are equally distant from their goals, then a new testcase is generated based on an element chosen at random. But, if the numbers of testcases are not equally distant from their goals, then the new testcase is generated based on the element whose number of testcases if furthest from its respective goal. The number of testcases associated with the chosen element is then incremented, and the process is repeated. In this way, the generated testcases are based on the numbers of previously generated testcases, which, in an embodiment, results in more complete coverage of testcases for the device under test.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A storage medium encoded with instructions, wherein the instructions when executed comprise: receiving a plurality of elements and a plurality of respective goals for each of the elements; generating a plurality of testcases based on the plurality of elements, wherein each of the plurality of elements has an associated number of the testcases less than their respective goal, wherein each of the plurality of respective goals comprises a respective goal number of the testcases; determining whether the numbers of testcases are equally distant from their respective goal number of the testcases; if
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (20)
Non-Patent Literature (5)
- Braun et al.: "Enhancing the efficiency of Bayesian network based coverage directed test generation"; Nov. 10-12, 2004; High-Level Design Validation and Test Workshop, 2004. Ninth IEEE International; pp. 75-80.
- Cunning et al., "Automatic test case generation from requirement specifications for real-time embedded systems", Oct. 12-15, 1999, Systems, Man, and Cybernetics, 1999, IEEE SMC '99 Conference Proceedings. 1999 IEEE International Conference on, vol. 5, pp. 784-789 vol. 5.
- Devadas et al.; "An observability-based code coverage metric for functional simulation"; Nov. 10-14, 1996; Computer-Aided Design, 1996. ICCAD-96 Digest of Technical Papers., 1996 IEEE/ACM International Conference on; pp. 418-425.
- Fallah et al.; "OCCOM-efficient computation of observability-based code coverage metrics for functional verification"; Aug. 2001; Computer-Aided Design of Integrated Circuits and Systems, IEEE Transactions on; vol. 20, Issue 8, pp. 1003-1015.
- Kang et al.; "Automatic error pattern generation for design error detection in a design validation simulation system"; Sep. 21-25, 1992; ASIC Conference and Exhibit, 1992., Proceedings of Fifth Annual IEEE International; pp. 533-536.