Non-deterministic testing
Abstract
A computerized method creates test coverage for non-deterministic programs. The method receives a graph of edges and states representing a program under test, and creates a continuous cycle of edges that reaches each edge in the graph at least once. In one example, the method splits the continuous cycle into discrete sequences that end at edges reaching non-deterministic nodes in the graph, and verifies that the executing program conforms to the behavior represented by the discrete sequences. In another example, a method creates probabilistic strategies for reaching one or more vertices in a non-deterministic graph. The strategies provide a graph path with a high probability of reaching a desired vertex.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 15.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computerized method of creating test coverage for non-deterministic programs within a testing environment comprising: in a computer, receiving a graph of edges and states representing a program under test, the states comprising a plurality of deterministic states controllable by the testing environment and a plurality of non-deterministic states uncontrollable by the testing environment, wherein a plurality of the edges represent non-deterministic choices associated with at least one of the non-deterministic states and the edges representing non-deterministic choices are assigned respective
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 15 total)
References Cited — Backward Prior Art (25)
Non-Patent Literature (5)
- "Executable Specifications: Creating Testable, Enforceable Designs", Foundations of Software Engineering, Feb. 9, 2001, 15 pages.
- Alur et al., "Distinguishing tests for nondeterministic and probabilistic machines," in Proc. 27th Ann. ACM Symp Theory of Cumputing, pp. 363-372, 1995.
- Artho et al., "Experiments with Test Case Generation and Runtime Analysis," in Börger, Gargantini, and Riccobene, editors, Abstract State Machines 2003, vol. 2589 of LNCA, pp. 87-107, Springer, 2003.
- Barnett et al., "Model-Based Testing with AsmL.Net," Microsoft Research, 8 pages.
- Barnett et al., "Towards a Tool Environment for Model-Based Testing with AsmL," in Petrenko and Ulrich, editors, Formal Approaches to Software Testing, FATES 2003, vol. 2931 of LNCS, pp. 252-266, Springer, 2004.