Electronic Notes in Theoretical Computer Science · 2005 · 38 citations · 14 references
EngineeringComputer EngineeringComputer ScienceAlgorithmsFormal MethodsModel-based Systems EngineeringDesign For TestabilityExecutable System ModelsFinite State Machine ModelingModel CheckingModel ExecutionSoftware TestingAbstract MachinesAutomated Test GenerationCoverageModel Space ExplorationState Space ExplorationTest Case GenerationTest CasesTest Generation
We present ProTest, an automatic test environment for B specifications. B is a model-oriented notation where systems are specified in terms of abstract states and operations on abstract states. ProTest first generates a state coverage graph of a B specification through exhaustive model checking, and the coverage graph is traversed to generate a set of test cases, each being a sequence of B operations. For the model checking to be exhaustive, some transformations are applied to the sets used in the B machine. The approach also works if it is not exhaustive; one can stop at any point in time during the state space exploration and generate test cases from the coverage graph obtained so far. ProTest then simultaneously performs animation of the B machine and the execution of the corresponding implementation in Java, and assigns verdicts on the test results. With some restrictions imposed on the B operations, the whole of the testing process is performed mechanically. We demonstrate the efficacy of our test environment by performing a small case study from industry. Furthermore, we present a solution to the problem of handling non-determinism in B operations.
14
A note on two problems in connexion with graphs
E. Dijkstra · Numerische Mathematik · 1959 · 23.8K citations
The B-book: assigning programs to meanings
Choice Reviews Online · 1997 · 2.1K citations
Systematic software development using VDM
Sunil Vadera · Data Processing · 1986 · 1.1K citations
Computing, Systems Engineering, Requirements Engineering +11
On Testing Non-Testable Programs
Elaine J. Weyuker · The Computer Journal · 1982 · 600 citations · Full text