@inproceedings{de170b7ab54541c4b5087b33b4f3c0b9,
title = "Targeted test generation for actor systems",
abstract = "This paper addresses the problem of targeted test generation for actor systems. Specifically, we propose a method to support generation of system-level tests to cover a given code location in an actor system. The test generation method consists of two phases. First, static analysis is used to construct an abstraction of an entire actor system in terms of a message flow graph (MFG). An MFG captures potential actor interactions that are defined in a program. Second, a backwards symbolic execution (BSE) from a target location to an “entry point” of the actor system is performed. BSE uses the MFG constructed in the first phase of our targeted test generation method to guide execution across actors. Because concurrency leads to a huge search space which can potentially be explored through BSE, we prune the search space by using two heuristics combined with a feedback-directed technique. We implement our method in Tap, a tool for Java Akka programs, and evaluate Tap on the Savina benchmarks as well as four open source projects. Our evaluation shows that the Tap achieves a relatively high target coverage (78% on 1,000 targets) and detects six previously unreported bugs in the subjects.",
keywords = "Actors, Static analysis, Symbolic execution, Test generation",
author = "Sihan Li and Farah Hariri and Gul Agha",
note = "Publisher Copyright: {\textcopyright} Sihan Li, Farah Hariri, and Gul Agha.; 32nd European Conference on Object-Oriented Programming, ECOOP 2018 ; Conference date: 16-07-2018 Through 21-07-2018",
year = "2018",
month = jul,
day = "1",
doi = "10.4230/LIPIcs.ECOOP.2018.8",
language = "English (US)",
series = "Leibniz International Proceedings in Informatics, LIPIcs",
publisher = "Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing",
editor = "Todd Millstein",
booktitle = "32nd European Conference on Object-Oriented Programming, ECOOP 2018",
}