A Formal Model of Conformity Testing of Inheritance for Object Oriented Constraint Programming
Khalid Benlhachmi, Mohammed Benattou · International Journal of Software Engineering and Its Applications · 2013
This paper presents an approach for extending the constraint model defined for conformity testing of a given method of class to its overriding method in subclass using inheritance principle. The main objective of the proposed work is to find the relationship between the test model of an overriding method and its overridden method using the constraint propagation. Our approach shows that the test cases developed for testing an original method can be used for testing its overriding method in a subclass and then the number of test cases can be reduced considerably. The implementation of this approach is based on a random generation of test data and analysis by formal proof.