Two approaches to generate non-equivalent ground terms as test cases for object-oriented software

Huoyan Chen
DOI: https://doi.org/10.1109/icsmc.2000.885985
2000-01-01
Abstract:Software testing is one of the important techniques to improve the reliability and quality of software systems. Object-oriented programming is considered to be the most promising programming methodology. In this paper, we propose two approaches to generate non-equivalent ground terms as test cases. These approaches are based on the technique of fundamental equivalent pair. The basic idea of these approaches is as follows. Suppose u(1) similar to u(2) is a fundamental equivalent pair, u(2)* is the normal form of u(2). Suppose further that by changing the values of parameters of a constructor contained in u(2)*, or by inserting a basic constructor into u(2)*, we obtain another ground term u(2)', then u(1) and u(2)' are nonequivalent, and can be used as a test case.
What problem does this paper attempt to address?