Korat: automated testing based on Java predicates
ISSTA '02 Proceedings of the 2002 ACM SIGSOFT international symposium on Software testing and analysis
Compilation of Z Specifications into C for Automatic Test Result Evaluation
ZUM '95 Proceedings of the 9th International Conference of Z Usres on The Z Formal Specification Notation
Improving Software Tests Using Z Specifications
ZUM '95 Proceedings of the 9th International Conference of Z Usres on The Z Formal Specification Notation
Automating Test Case Generation from Z Specifications with Isabelle
ZUM '97 Proceedings of the 10th International Conference of Z Users on The Z Formal Specification Notation
Automating the Generation and Sequencing of Test Cases from Model-Based Specifications
FME '93 Proceedings of the First International Symposium of Formal Methods Europe on Industrial-Strength Formal Methods
CASTING: A Formally Based Software Test Generation Method
ICFEM '97 Proceedings of the 1st International Conference on Formal Engineering Methods
A Framework for Specification-Based Class Testing
ICECCS '02 Proceedings of the Eighth International Conference on Engineering of Complex Computer Systems
Hi-index | 0.00 |
Most of the current research on automatic generation of test cases from formal specifications has been directed towards non object-oriented formal specifications. While object-oriented paradigm is the most widely accepted methodology for software development, generation of test cases from object-oriented formal specifications is still a relatively unexplored area. In this paper, we present a novel framework to automate test case generation from object-oriented formal specifications. We use IFAD VDM++ as the specification language, but the ideas presented can be generalized to other model-based object-oriented formal notations as well. The proposed approach uses a test descriptor to generate valid test sequences, and then generates test data for each method in a test sequence, using a conjunction of method precondition and class invariant to filter the input space. The test data are generated by partitioning the valid input space for each input variable into equivalence classes, and selecting representative values from each class.