For simulation-based systems, finding a set of test cases with the least cost by exploring multiple goals is a complex task. Domain-specific optimization goals (e.g. maximize output variance) are useful for guiding the rapid selection of test cases via mutation. But evaluating the selected test cases via mutation (that can distinguish the current program from something else) is a different goal to domain-specific optimizations. While the optimization goals can be used to guide the mutation analysis, that guidance should be viewed as a weak indicator since it can hurt the mutation effectiveness goals by focusing too much on the optimization goals. Based on the above, this paper proposes DoLesS (Domination with Least Squares Approximation) that selects the minimal and effective test cases by averaging over a coarse-grained grid of the information gained from multiple optimizations goals. DoLesS applies an inverted least squares approximation approach to find a minimal set of tests that can distinguish better from worse parts of the optimization goals. When tested on multiple simulation-based systems, DoLesS performs as well or even better as the prior state-of-the-art, while running 80-360 times faster on average (seconds instead of hours).
翻译:对于基于模拟的系统来说,通过探索多重目标找到一组成本最低的测试案例是一项复杂的任务。 特定域的优化目标( 如最大化产出差异) 有助于通过突变来指导快速选择测试案例。 但是, 通过突变( 能够区分当前程序和其他程序) 来评估选定的测试案例对于特定域的优化是一个不同的目标。 虽然优化目标可以用来指导突变分析, 但指导应该被视为一个薄弱的指标, 因为过于关注优化目标会损害突变的效果目标。 根据以上, 本文建议多功能模拟系统进行测试时, DoLesS 表现良好, 或更好于先前的状态, 以更快的速度运行 80-360 小时。