Sie befinden Sich nicht im Netzwerk der Universität Paderborn. Der Zugriff auf elektronische Ressourcen ist gegebenenfalls nur via VPN oder Shibboleth (DFN-AAI) möglich. mehr Informationen...
Search Based Software Engineering, p.3-17

Details

Autor(en) / Beteiligte
Titel
Java Enterprise Edition Support in Search-Based JUnit Test Generation
Ist Teil von
  • Search Based Software Engineering, p.3-17
Ort / Verlag
Cham: Springer International Publishing
Link zum Volltext
Quelle
Alma/SFX Local Collection
Beschreibungen/Notizen
  • Many different techniques and tools for automated unit test generation target the Java programming languages due to its popularity. 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 generation of JUnit tests. In particular, code units (“beans”) are handled by external web containers (e.g., WildFly and GlassFish). Without considering 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 injection, 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).
Sprache
Englisch
Identifikatoren
ISBN: 9783319471051, 3319471058
ISSN: 0302-9743
eISSN: 1611-3349
DOI: 10.1007/978-3-319-47106-8_1
Titel-ID: cdi_springer_books_10_1007_978_3_319_47106_8_1

Weiterführende Literatur

Empfehlungen zum selben Thema automatisch vorgeschlagen von bX