DocumentCode :
1593272
Title :
Comparison of Unit-Level Automated Test Generation Tools
Author :
Wang, Shuang ; Offutt, Jeff
Author_Institution :
Software Eng., George Mason Univ., Fairfax, VA
fYear :
2009
Firstpage :
210
Lastpage :
219
Abstract :
Data from projects worldwide show that many software projects fail and most are completed late or over budget. Unit testing is a simple but effective technique to improve software in terms of quality, flexibility, and time-to-market. A key idea of unit testing is that each piece of code needs its own tests and the best person to design those tests is the developer who wrote the software. However, generating tests for each unit by hand is very expensive, possibly prohibitively so. Automatic test data generation is essential to support unit testing and as unit testing is achieving more attention, developers have a greater need for automated unit test data generation tools. However, developers have very little information about which tools are effective. This experiment compared three well-known public-accessible unit test data generation tools, JCrasher, TestGen4j, and JUB. We applied them to Java classes and evaluated them based on their mutation scores. As a comparison, we created two additional sets of tests for each class. One test set contained random values and the other contained values to satisfy edge coverage. Results showed that the automatic test data generation tools generated tests with almost the same mutation scores as the random tests.
Keywords :
Java; automatic test software; program testing; software quality; Java; public-accessible unit test data generation tools; software projects; software quality; unit-level automated test generation tools; Automatic generation control; Automatic testing; Conferences; Genetic mutations; Java; Maintenance; Software engineering; Software testing; Software tools; Vehicle crash testing; experimentation; unit software testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Verification and Validation Workshops, 2009. ICSTW '09. International Conference on
Conference_Location :
Denver, CO
Print_ISBN :
978-1-4244-4356-7
Type :
conf
DOI :
10.1109/ICSTW.2009.36
Filename :
4976389
Link To Document :
بازگشت