Paper published in a book (Scientific congresses, symposiums and conference proceedings)
Java Enterprise Edition Support in Search-Based JUnit Test Generation
Arcuri, Andrea; Fraser, Gordon
2016In Java Enterprise Edition Support in Search-Based JUnit Test Generation
Peer reviewed
 

Files


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

All documents in ORBilu are protected by a user license.

Send to



Details



Abstract :
[en] Many di fferent techniques and tools for automated unit test generation target the Java programming languages due to its popular- ity. However, a lot of Java's popularity is due to its usage to develop enterprise applications with frameworks such as Java Enterprise Edition (JEE) or Spring. These frameworks pose challenges to the automatic gen- eration of JUnit tests. In particular, code units (\beans") are handled by external web containers (e.g., WildFly and GlassFish). Without consid- ering how web containers initialize these beans, automatically generated unit tests would not represent valid scenarios and would be of little use. For example, common issues of bean initialization are dependency in- jection, database connection, and JNDI bean lookup. In this paper, we extend the EvoSuite search-based JUnit test generation tool to provide initial support for JEE applications. Experiments on 247 classes (the JBoss EAP tutorial examples) reveal an increase in code coverage, and demonstrate that our techniques prevent the generation of useless tests (e.g., tests where dependencies are not injected).
Disciplines :
Computer science
Author, co-author :
Arcuri, Andrea;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT)
Fraser, Gordon
External co-authors :
yes
Language :
English
Title :
Java Enterprise Edition Support in Search-Based JUnit Test Generation
Publication date :
2016
Event name :
Symposium on Search-Based Software Engineering (SSBSE)
Event place :
Raleigh, United States
Event date :
8-10 October 2016
Main work title :
Java Enterprise Edition Support in Search-Based JUnit Test Generation
Peer reviewed :
Peer reviewed
Available on ORBilu :
since 25 July 2016

Statistics


Number of views
92 (8 by Unilu)
Number of downloads
3 (3 by Unilu)

Scopus citations®
 
13
Scopus citations®
without self-citations
7

Bibliography


Similar publications



Contact ORBilu