Browse > Article
http://dx.doi.org/10.7471/ikeee.2015.19.2.186

A Study on the Automatic Generation of Test Case Based on Source Code for Quality Improvement  

Son, Ung-Jin (Department of Electronic Engineering, Hanbat National Univ.)
Lee, Seung-Ho (Department of Electronics&Control Engineering, Hanbat National University)
Publication Information
Journal of IKEEE / v.19, no.2, 2015 , pp. 186-192 More about this Journal
Abstract
This paper proposes an automatic generation technology of test case based on API in source code for software's quality improvement. The proposed technology is comprised of four processes which are analyzing source code by using the Doxygen open source tool, defining API specification by using analyzed results, creating test design, generating a test case by adapting Pairwise test technology. Analyzing source code by using the Doxygen open source tool is the phase in which API information in source code such as the API name, input parameter and return parameter are extracted. Defined API specification by using analyzed results is the phase where API informations, which is needed to generate test case, are defined as a form of database by SQLite database on the basis of extracted API information. Creating test design is the phase in which the scenario is designed in order to be composed as database by defining threshold of input and return parameters and setting limitations based on the defined API. Generating a test case by adapting Pairwise test technique is the phase where real test cases are created and changed into database by adapting Pairwise technique on the base of test design information. To evaluate the efficiency of proposed technology, the research was conducted by begin compared to specification based test case creation. The result shows wider test coverage which means the more cases were created in the similar duration of time. The reduction of manpower and time for developing products is expected by changing the process of quality improving in software developing from man-powered handwork system into automatic test case generation based on API of source code.
Keywords
Pairwise; GUI Testing; Testcase; Information Technology; Embedded Test;
Citations & Related Records
연도 인용수 순위
  • Reference
1 Q. Xie and A.M. Memon, "Model-Based Testing of Community-Driven Open-Source GUI Applications," Software Maintenance, 2006. ICSM '06. 22nd IEEE International Conference on, pp. 145-154, Sep. 2006.
2 J. H. Kim, "Android and Android Market", Journal of Contents Association, Vol.7, No.2, pp.29-36, 2009.
3 Malte Lochau, Sebastian Oster, Ursula Goltz, Andy Schurr, "Model-based pairwise testing for feature interaction coverage in software product line engineering," Software Quality Journal Vol. 20, No. 3, pp.567-604, Sep. 2012.   DOI
4 Amitava Mukherjee, "A Near-Nonparametric Partially Sequential Test for Monitoring Phase II Location Under Pairwise Dependence Between Two Phases," Sequential Analysis Vol. 30, No.2, pp.208-228, Feb. 2011.   DOI
5 James Bach, "Risk and Requirements-Based Testing," IEEE Computer, Vol.32, No.6, pp.113-114, June, 1999.   DOI
6 Luc Duchateau, Paul Janssen, "Pairwise nonparametric non inferiority tests in $3{\times}3$ cross-over trials: should we adjust for period," Statistics in Medicine Vol. 24, No.10, pp.1525-1536, May. 2005.   DOI