Wang Lu
Department of Computer Engineering, Anyang Institute of Technology, Henan, 455000, Anyang, China
Ma Guo-Fu
Department of Computer Engineering, Anyang Institute of Technology, Henan, 455000, Anyang, China
Cao Li-Pei
Department of Traffic Information Engineering, Henan Vocational and Technical College of Communications, Henan, 450000, Zhengzhou, China
ABSTRACT
Automatic generation of test data can effectively reduce the cost of software development. Whats more good adaptation function used in the genetic algorithm can generate a better test data. In this paper, according to the program chain in source code and the relationship between input and output data, fitness functions are respectively designed. The two are combined to form the final fitness function. To use the final fitness function to test data, the experimental results show that this method can produce test data set with high program coverage level and improve the ability to detect errors.
PDF References Citation
How to cite this article
Wang Lu, Ma Guo-Fu and Cao Li-Pei, 2013. Study on Test Data Generation Approach. Information Technology Journal, 12: 7669-7672.
DOI: 10.3923/itj.2013.7669.7672
URL: https://scialert.net/abstract/?doi=itj.2013.7669.7672
DOI: 10.3923/itj.2013.7669.7672
URL: https://scialert.net/abstract/?doi=itj.2013.7669.7672
REFERENCES
- Korel, B. and A.M. Al-Yami, 1996. Assertion-oriented automated test data generation. Proceedings of the 18th International Conference on Software Engineering, March 25-29, 1996, Berlin, Germany, pp: 71-80.
CrossRef - Ferguaon, R. and B. Korel, 1995. Software test data generation using the chaining approach. Proceedings of the International Test Conference, October 21-25, 1995, Washington, DC., USA., pp: 703-709.
CrossRef - Tahat, L.H., B. Vaysburg, B. Korel and A.J. Bader, 2001. Requirement-Based automated black-box test generation. Proceedings of the 25th Annual International on Computer Software and Applications Conference, October 8-12, 2001, Chicago, IL., USA., pp: 489-495.
CrossRef - Offutt, A.J.A., 1995. A practical system for mutation testing: Help for the common programmer. Proceedings of the International Test Conference, October 2-6, 1994, Washington, DC., USA., pp: 824-830.
CrossRef - Pargas, R.P., M.J. Harrold and R.R. Peck, 1999. Test-data generation using genetic algorithms. Software Testing Verif. Reliab., 9: 263-282.
CrossRefDirect Link