The design and implementation of a prototype for data flow analysis at the method-level of object-oriented testing

To enhance the reliability and quality, software systems should be tested. The object-oriented paradigm is regarded as a most promising methodology for software development. The testing of object-oriented software systems is more difficult and more complex than that for traditional programming systems. We describe an approach for object-oriented testing at the method-level. Our approach applies the data flow analysis method combined with the state transition diagram technique, access protection checking technique, and compiler technique to the object-oriented method-level tests. Based on this approach, a prototype for C++ programs has been implemented. Some experimental results on this prototype are presented. The experimental results on the prototype indicate that the approach can reveal data flow errors in C++ programs as anticipation. It supplements our previous approaches for object-oriented testing at the class and cluster-levels.

[1]  Phyllis G. Frankl,et al.  Case studies on testing object-oriented programs , 1991, TAV4.

[2]  Tsong Yueh Chen,et al.  In black and white: an integrated approach to class-level testing of object-oriented programs , 1998, TSEM.

[3]  T. H. Tse,et al.  ROCS: an object-oriented class-level testing system based on the Relevant Observable ContextS technique , 2000, Inf. Softw. Technol..

[4]  Chen Huo Yan On effectiveness of equivalent fundamental pairs as test cases for object-oriented software , 1999, IEEE SMC'99 Conference Proceedings. 1999 IEEE International Conference on Systems, Man, and Cybernetics (Cat. No.99CH37028).

[5]  Chen Huo Yan Two approaches to generate non-equivalent ground terms as test cases for object-oriented software , 2000, Smc 2000 conference proceedings. 2000 ieee international conference on systems, man and cybernetics. 'cybernetics evolving to systems, humans, organizations, and their complex interactions' (cat. no.0.

[6]  Tsong Yueh Chen,et al.  TACCLE: a methodology for object-oriented software testing at the class and cluster levels , 2001, TSEM.

[7]  Tsong Yueh Chen,et al.  Error Detection in C++ through Dynamic Data Flow Analysis , 1997, Softw. Concepts Tools.

[8]  D. J. Robson,et al.  A framework for testing object-oriented programs , 1992 .

[9]  J. C. Huang,et al.  Detection of Data Flow Anomaly Through Program Instrumentation , 1979, IEEE Transactions on Software Engineering.

[10]  P. Frankl,et al.  Tools for Testing Object-oriented Programs 1 , 1990 .

[11]  Phyllis G. Frankl,et al.  The ASTOOT approach to testing object-oriented programs , 1994, TSEM.