Apparatus and a method for generating a test case
Abstract
A state-transition system includes a plurality of states and a first transition representing a state-change based on an external event occurred into a system to be checked. A plurality of requirement items includes a precondition and a postcondition in correspondence with the external event. By partially selecting the precondition and the postcondition from the plurality of requirement items, a state map to map a state onto truth values of the precondition and the postcondition is generated. By contracting the state-transition system with the state map, a quotient state-transition system is generated. The quotient state-transition system includes a plurality of second transitions among a plurality of groups each having states. By tracing each second transition in the quotient state-transition system, a representative transition path is generated. The representative transition path is regenerated as a transition path in the state-transition system. The transition path is output as a test case.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus for generating a test case of a system to be checked, comprising: a first memory configured to store a state-transition system including a plurality of states and a first transition between two of the plurality of states in the system, each state being represented by a plurality of internal variables, the first transition representing a state-change based on an external event occurred into the system; a second memory configured to store a plurality of requirement items each including a precondition and a postcondition in correspondence with the external event, the precondition des
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- G. Friedman, et al., "Projected State Machine Coverage for Software Testing", Chapter 2, Sec 2, Projected State Machine, 2002, pp. 134-143.
- Harold Abelson, et al., "Structure and Interpretation of Computer Programs", MIT Press, http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#, 1996, pp. 1-6.
- Harold Thimbleby, "The Directed Chinese Postman Problem", In Software-Practice and Experience (SPE), vol. 33, 2003, pp. 1-17.
- Hiromasa Shin, et al., "A Test-case Generation from Quotient Transition System", Proceedings of the Symposium on Information Processing Society of Japan, 2008, pp. 167-174 (With English Abstract).
- Margus Veanes, et al., "Model-Based Testing of Object-Oriented Reactive Systems with Spec Explorer", Test Generation, Chapter 5, 2005, pp. 1-36.