Paper published in a book (Scientific congresses, symposiums and conference proceedings)
An Industrial Evaluation of Unit Test Generation: Finding Real Faults in a Financial Application
Almasi, Moein; Hemmati, Hadi; Fraser, Gordon et al.
2017In ACM/IEEE International Conference on Software Engineering (ICSE)
Peer reviewed
 

Files


Full Text
paper.pdf
Author preprint (416.48 kB)
Request a copy

All documents in ORBilu are protected by a user license.

Send to



Details



Abstract :
[en] Automated unit test generation has been extensively studied in the literature in recent years. Previous studies on open source systems have shown that test generation tools are quite effective at detecting faults, but how effective and applicable are they in an industrial application? In this paper, we investigate this question using a life insurance and pension products calculator engine owned by SEB Life & Pension Holding AB Riga Branch. To study fault-finding effectiveness, we extracted 25 real faults from the version history of this software project, and applied two up-to-date unit test generation tools for Java, EvoSuite and Randoop, which implement search-based and feedback-directed random test generation, respectively. Automatically generated test suites detected up to 56.40% (EvoSuite) and 38.00% (Randoop) of these faults. The analysis of our results demonstrates challenges that need to be addressed in order to improve fault detection in test generation tools. In particular, classification of the undetected faults shows that 97.62% of them depend on either “specific primitive values” (50.00%) or the construction of “complex state configuration of objects” (47.62%). To study applicability, we surveyed the developers of the application under test on their experience and opinions about the test generation tools and the generated test cases. This leads to insights on requirements for academic prototypes for successful technology transfer from academic research to industrial practice, such as a need to integrate with popular build tools, and to improve the readability of the generated tests.
Disciplines :
Computer science
Author, co-author :
Almasi, Moein
Hemmati, Hadi
Fraser, Gordon
Arcuri, Andrea;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT)
Benefelds, Janis
External co-authors :
yes
Language :
English
Title :
An Industrial Evaluation of Unit Test Generation: Finding Real Faults in a Financial Application
Publication date :
2017
Event name :
ICSE Software Engineering in Practice
Event date :
20-28 May
Main work title :
ACM/IEEE International Conference on Software Engineering (ICSE)
Peer reviewed :
Peer reviewed
FnR Project :
FNR3949772 - Validation And Verification Laboratory, 2010 (01/01/2012-31/07/2018) - Lionel Briand
Available on ORBilu :
since 14 January 2017

Statistics


Number of views
258 (12 by Unilu)
Number of downloads
4 (4 by Unilu)

Scopus citations®
 
102
Scopus citations®
without self-citations
93

Bibliography


Similar publications



Contact ORBilu