Randomizing Regression Tests using Game Theory

Citation:

Nupul Kukreja, William G. J. Halfond, and Milind Tambe. 2013. “Randomizing Regression Tests using Game Theory .” In International conference on Automated Software Engineering (ASE).
2013_32_teamcore_ase.pdf173 KB

Abstract:

As software evolves, the number of test-cases in the regression test suites continues to increase, requiring testers to prioritize their execution. Usually only a subset of the test cases is executed due to limited testing resources. This subset is often known to the developers who may try to “game” the system by committing insufficiently tested code for parts of the software that will not be tested. In this new ideas paper, we propose a novel approach for randomizing regression test scheduling, based on Stackelberg games for deployment of scarce resources. We apply this approach to randomizing test cases in such a way as to maximize the testers’ expected payoff when executing the test cases. Our approach accounts for resource limitations (e.g., number of testers) and provides a probabilistic distribution for scheduling test cases. We provide an example application of our approach showcasing the idea of using Stackelberg games for randomized regression test scheduling.
See also: 2013