Skip to content

Automatic Test Case Generation for Robotic Systems

We presented in OOPSLA (~SPLASH) a paper describing the challenges we faced and overcame when attempting to apply automated test case generation mechanisms based on mixed concrete and symbolic execution in the context of robotic distributed systems built with ROS. The abstract of the paper follows:

Detecting Problematic Message Sequences and Frequencies in Distributed Systems

Testing the components of a distributed system is challenging as it requires consideration of not just the state of a component, but also the sequence of messages it may receive from the rest of the system or the environment. Such messages may vary in type and content, and more particularly, in the frequency at which they are generated. All of these factors, in the right combination, may lead to faulty behavior. In this paper we present an approach to address these challenges by systematically analyzing a component in a distributed system to identify specific message sequences and frequencies at which a failure can occur. At the core of the analysis is the generation of a test driver that defines the space of message sequences to be generated, the exploration of that space through the use of dynamic symbolic execution, and the timing and analysis of the generated tests to identify problematic frequencies. We implemented our approach in the context of the popular Robotic Operating System and investigated its application to three systems of increasing complexity.

Published inUncategorized