DocumentCode
3315248
Title
On the Effectiveness of Manual and Automatic Unit Test Generation
Author
Bacchelli, Alberto ; Ciancarini, Paolo ; Rossi, Davide
Author_Institution
Dept. of Comput. Sci., Univ. of Bologna, Bologna
fYear
2008
fDate
26-31 Oct. 2008
Firstpage
252
Lastpage
257
Abstract
The importance of testing has recently seen a significant growth, thanks to its benefits to software design (e.g. think of test-driven development), implementation and maintenance support. As a consequence of this, nowadays it is quite common to introduce a test suite into an existing system, which was not designed for it. The software engineer must then decide whether using tools which automatically generate unit tests (test suites necessary foundations) and how. This paper tries to deal with the issue of choosing the best approach. We will describe how different generation techniques (both manual and automatic) have been applied to a real case study. We will compare achieved results using several metrics in order to identify different approaches benefits and shortcomings. We will conclude showing the measure how the adoption of tools for automatic test creation can shift the trade-off between time and quality.
Keywords
program testing; software maintenance; software quality; automatic unit test generation; maintenance support; software design; software engineer; test-driven development; Automatic testing; Computer science; Java; Manuals; Production; Software design; Software engineering; Software testing; Software tools; System testing; automatic; code coverage; jcrasher; junit; junit factory; manual; mutation analisys; randoop; test generation; test quality metrics;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Advances, 2008. ICSEA '08. The Third International Conference on
Conference_Location
Sliema
Print_ISBN
978-1-4244-3218-9
Electronic_ISBN
978-0-7695-3372-8
Type
conf
DOI
10.1109/ICSEA.2008.66
Filename
4668116
Link To Document