An automate test case generation approach: using match technique

The paper studies the principle of test case reuse technique and put forward an automatically test case generation approach. The paper proposes standardized description of the test case firstly. The reusable test case is depicted in a way similar to the definition of software component. And then the interface of test case is defined using the analogous method of the description of facet in reusable software component. Based on these technique, an automate method of test case is presented. An algorithm of the mapping from case search to test case tree is given to fulfil the goal of reusing test case. Based on the architecture given in the paper, the software test case could be reused and generated automatically during the development of test case. The technology of test case generation could improve test efficiency and qualification.

[1]  Yi Sun,et al.  Automated generation of test programs from closed specifications of classes and test cases , 2004, Proceedings. 26th International Conference on Software Engineering.

[2]  Gregg Rothermel,et al.  Automated test case generation for spreadsheets , 2002, ICSE '02.

[3]  Marc J. Balcer,et al.  The category-partition method for specifying and generating fuctional tests , 1988, CACM.

[4]  James A. Whittaker,et al.  A Markov Chain Model for Statistical Software Testing , 1994, IEEE Trans. Software Eng..

[5]  Jeffrey M. Voas,et al.  PIE: A Dynamic Failure-Based Technique , 1992, IEEE Trans. Software Eng..

[6]  David Lorge Parnas,et al.  Using Test Oracles Generated from Program Documentation , 1998, IEEE Trans. Software Eng..

[7]  Elaine J. Weyuker,et al.  Testing Component-Based Software: A Cautionary Tale , 1998, IEEE Softw..

[8]  J.D. Muss Software-Reliability-Engineered Testing Practice , 1997, Proceedings of the (19th) International Conference on Software Engineering.

[9]  Andrea Polini,et al.  A framework for component deployment testing , 2003, 25th International Conference on Software Engineering, 2003. Proceedings..

[10]  Xiong Zhong-wei Investigation on the Pattern for Construction of Reusable Test Cases in Object-Oriented Software , 2003 .

[11]  Alexander L. Wolf,et al.  A Case for Test-Code Generation in Model-Driven Systems , 2003, GPCE.

[12]  James H. Cross,et al.  A heuristic approach for test case generation , 1991, CSC '91.

[13]  Roland Mittermeir,et al.  Goal-driven combination of software comprehension approaches for component based development , 2001, SSR '01.

[14]  Peng Lu,et al.  Test case generation for specification-based software testing , 1994, CASCON.

[15]  Gregg Rothermel,et al.  A safe, efficient algorithm for regression test selection , 1993, 1993 Conference on Software Maintenance.