Testing with simulation environments helps to identify critical failing scenarios emerging autonomous systems such as self-driving cars (SDCs) and are safer than in-field operational tests. However, these tests are very expensive and are too many to be run frequently within limited time constraints. In this paper, we investigate test case prioritization techniques to increase the ability to detect SDC regression faults with virtual tests earlier. Our approach, called SDC-Prioritizer, prioritizes virtual tests for SDCs according to static features of the roads used within the driving scenarios. These features are collected without running the tests and do not require past execution results. SDC-Prioritizer utilizes meta-heuristics to prioritize the test cases using diversity metrics (black-box heuristics) computed on these static features. Our empirical study conducted in the SDC domain shows that SDC-Prioritizer doubles the number of safety-critical failures that virtual tests can detect at the same level of execution time compared to baselines: random and greedy-based test case orderings. Furthermore, this meta-heuristic search performs statistically better than both baselines in terms of detecting safety-critical failures. SDC-Prioritizer effectively prioritize test cases for SDCs with a large improvement in fault detection while its overhead (up to 0.34% of the test execution cost) is negligible.
翻译:模拟环境的测试有助于确定自驾驶汽车(SDCs)等新兴自主系统出现的关键故障假设,并且比实地操作测试更安全。然而,这些测试费用非常昂贵,而且太多,无法在有限的时限内经常运行。在本文件中,我们调查了测试案件优先排序技术,以提高通过早期虚拟测试检测SDC回归缺陷的能力。我们称为SDC-优先测试器的方法,根据驾驶情景中所用道路的静态特征,优先为SDCs进行虚拟测试。这些特征收集时没有运行测试,也不需要过去的执行结果。SDC-优先使用超重技术来利用根据这些静态特征计算的多样性指标(黑盒超重)来优先处理测试案件。我们在SDC领域进行的经验研究表明,SDC-重点测试将虚拟测试能够检测到的安全临界故障数量增加一倍,而虚拟测试在与基线相比:随机和贪婪测试案例的排序。此外,在检测安全-偏重性测试中,这种超重的搜索在统计上优于两个基准,在检测安全-偏重性测试中,在测算的大规模测试中,在测算中,快速测算中,快速测算。