Paper published in a book (Scientific congresses, symposiums and conference proceedings)
Generating Unit Tests with Structured System Interactions
Havrikov, Nikolas; Gambi, Alessio; Zeller, Andreas et al.
2017In IEEE/ACM International Workshop on Automation of Software Test (AST)
Peer reviewed
 

Files


Full Text
AST_2017_paper_2.pdf
Author preprint (460.65 kB)
Request a copy

All documents in ORBilu are protected by a user license.

Send to



Details



Abstract :
[en] There is a large body of work in the literature about automatic unit tests generation, and many successful results have been reported so far. However, current approaches target library classes, but not full applications. A major obstacle for testing full applications is that they interact with the environment. For example, they establish connections to remote servers. Thoroughly testing such applications requires tests that completely control the interactions between the application and its environment. Recent techniques based on mocking enable the generation of tests which include environment interactions; however, generating the right type of interactions is still an open problem. In this paper, we describe a novel approach which addresses this problem by enhancing search-based testing with complex test data generation. Experiments on an artificial system show that the proposed approach can generate effective unit tests. Compared with current techniques based on mocking, we generate more robust unit tests which achieve higher coverage and are, arguably, easier to read and understand.
Disciplines :
Computer science
Author, co-author :
Havrikov, Nikolas
Gambi, Alessio
Zeller, Andreas
Arcuri, Andrea;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT)
Galeotti, Juan Pablo
External co-authors :
yes
Language :
English
Title :
Generating Unit Tests with Structured System Interactions
Publication date :
2017
Event name :
IEEE/ACM International Workshop on Automation of Software Test (AST)
Event date :
2017
Main work title :
IEEE/ACM International Workshop on Automation of Software Test (AST)
Peer reviewed :
Peer reviewed
FnR Project :
FNR3949772 - Validation And Verification Laboratory, 2010 (01/01/2012-31/07/2018) - Lionel Briand
Available on ORBilu :
since 29 May 2017

Statistics


Number of views
51 (4 by Unilu)
Number of downloads
6 (2 by Unilu)

Scopus citations®
 
7
Scopus citations®
without self-citations
6
WoS citations
 
4

Bibliography


Similar publications



Contact ORBilu