Software Testing Verification and Reliability · 2000 · 47 citations · 22 references
ComputingComputer ScienceComputer SystemsFormal MethodsProgramming LanguagesTest DevelopmentDesign For TestabilityObject-oriented AnalysisObject-oriented ProgrammingSoftware TestingSpecification LanguagesTestbenchesClass SpecificationFinite State Machine SpecificationFormal SpecificationsSpecification-based TestingTest Case GenerationTest ExecutionTest GenerationTest Oracles
This paper describes a method for specification-based class testing that incorporates test case generation, execution, and evaluation based on formal specifications. This work builds on previous achievements in the areas of specification-based testing and class testing by integrating the two within a single framework. The initial step of the method is to generate test templates for individual operations from a specification written in the Object-Z specification language. These test templates are combined to produce a finite state machine for the class that is used as the basis for test case execution using the ClassBench test execution framework. An oracle derived from the Object-Z specification is used to evaluate the outputs. The method is explained using a simple example and its application to a more substantial case study is also discussed. Keywords: specification-based testing, Object-Z, class testing, ClassBench, oracles 1
22
Statecharts: a visual formalism for complex systems
David Harel · Science of Computer Programming · 1987 · 6.7K citations
Ten commandments of formal methods
Jonathan P. Bowen, Mike Hinchey · Computer · 1995 · 246 citations