@inproceedings{3f502cb870a54cdeb98393969d67540d,
title = "Generating Unit Tests with Structured System Interactions",
abstract = "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 access files on the hard drive or 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.",
keywords = "automated test generation, environment mocking, functional mocking, unit testing, xml schema",
author = "Nikolas Havrikov and Alessio Gambi and Andreas Zeller and Andrea Arcuri and Galeotti, {Juan Pablo}",
note = "Publisher Copyright: {\textcopyright} 2017 IEEE.",
year = "2017",
month = jun,
day = "29",
doi = "10.1109/AST.2017.2",
language = "English",
series = "Proceedings - 2017 IEEE/ACM 12th International Workshop on Automation of Software Testing, AST 2017",
publisher = "IEEE Computer Society",
pages = "30--33",
booktitle = "Proceedings - 2017 IEEE/ACM 12th International Workshop on Automation of Software Testing, AST 2017",
}