Proceedings of the 9th International Conference on Quality Software (QSIC '09),
IEEE Computer Society Press, Los Alamitos, CA, pp. 108-116 (2009)

Automatic Generation of Normal Forms for Testing Object-Oriented Software 1

Huo Yan Chen 2 and T.H. Tse 3

[paper from IEEE Xplore | paper from IEEE digital library | revised version TR-2009-17]


Testing object-oriented software is more complex than its procedural counterpart. The concept of "fundamental pairs" was introduced in our TACCLE methodology for testing object-oriented software. It was proved that, although the set of fundamental pairs is only a proper subset of equivalent ground terms, the use of fundamental pairs as test cases covers the use of equivalent ground terms. Recently, we found that any normal form consists of only a creator, or a creator followed only by constructors but not transformers; and yet the reverse is not necessarily true. Thus, the generation of patterns of normal forms is nontrivial and warrants further study. Motivated by this finding and based on further pattern analyses of normal forms and tree models with pruning techniques, we propose an algorithm to generate representative normal forms according to patterns and develop a corresponding automatic tool. This work improves the automation, coverage, and adequacy of selecting (equivalent) fundamental pairs as test cases.

Keywords: algebraic specification; object-oriented program; software testing; equivalent fundamental pair; normal form

1. This work is supported by a Union Grant of the Guangdong Province and National Natural Science Foundation of China (#U0775001), a grant of National Natural Science Foundation of China (#60773083), grants of the Guangdong Province Science Foundation (#7010116 and #8151063201000022), and the General Research Fund of the Research Grant Council of Hong Kong (project no. 717308).
2. Department of Computer Science, Jinan University, Guangzhou, China.
3. (Corresponding author.)
Department of Computer Science, The University of Hong Kong, Pokfulam, Hong Kong.


  Cumulative visitor count