Extending test sequences to accepting states
Abstract
State spaces are traversed to produce test cases, or test coverage. Test coverage is a test suite of sequences. Accepting states are defined. Expected costs are assigned to the test graph states. Strategies are created providing transitions to states with lower expected costs. Linear programs and other approximations are discussed for providing expected costs. Strategies are more likely to provide access to an accepting state, based on expected costs. Strategies are used to append transitions to test segments such that the new test segment ends in an accepting state.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 8.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A computerized method comprising: receiving a state space, a test suite, and an identified accepting state; traversing the state space and assigning expected costs to states comprising the costs expected to reach the identified accepting state; using the assigned expected costs, creating a strategy comprising an indication of a transition to take from a present state; determining test sequences in the test suite that terminate in states other than the identified accepting state; and appending the determined test sequences with test segments obtained using the created strategy.
- Claim 2Depends on #1
The method of claim 1 wherein the states other than the identified accepting state further comprise choice points.
- Claim 3Depends on #1
The method of claim 1 wherein the expected costs are obtained via a linear program wherein an expected cost vector is maximized subject t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- Alur, et al., "Alternating Refinement Relations," in Proceedings of the Ninth International Conference on Concurrency Theory (CONCUE'98), vol. 1466 of LNCS, 16 pages, 1998.
- Alur, et al., "Distinguishing tests for nondeterministic and probabilistic machines," in Proceedings of the 27th ACM Symposium on Theory of Computing, 10 pages, 1995.
- Artho, et al., "Experiments with Test Case Generation and Runtime Analysis," Abstract State Machines 2003, vol. 2589 of LNCS, 18 pages, 2003.
- Barnett, et al., "The Spec# Programming System: An Overview," in M. Huisman, editor, Cassis International Workshop, LNCS, Springer, 21 pages, 2004.
- Barnett, et al., "Towards a Tool Environment for Model-Based Testing with AsmL," in Formal Approaches to Software Testing, FATES 2004, vol. 2931 of LNCS, pp. 252-266, Springer-Verlag, 2004.