Abstract Simulation platforms facilitate the development of emerging cyber-physical systems (CPS) like self-driving cars (SDC) because they are more efficient and less dangerous than field operational tests. Despite this, thoroughly testing SDCs in simulated environments remains challenging because SDCs must be tested in a sheer amount of long-running test scenarios. Past results on software testing optimization have shown that not all the tests contribute equally to establishing confidence in test subjects' quality and reliability, with some \uninformative" tests that can be skipped (or removed) to reduce testing effort. However, this problem was partially addressed in the context of SDC simulation platforms. In this paper, we investigate test selection strategies to increase the cost-effectiveness of simulation-based testing in the context of SDCs. We propose an approach called SDC-Scissor (SDC coSt-effeCtIve teSt SelectOR), which leverages machine learning (ML) strategies to identify and skip tests that are unlikely to detect faults in SDCs before executing them. Specifically, SDC-Scissor extract features concerning the characteristics of the test scenarios being executed in the simulation environment and via ML strategies predict tests that lead to faults before executing them. Our evaluation shows that SDC-Scissor achieved high classification accuracy (up to 93.4%) in classifying tests leading to a fault which allows improving testing cost-effectiveness: SDC-Scissor was able to reduce (ca. 170%) the time spent in running irrelevant tests as well as identified 33% more failure triggering tests compared to a randomized baseline. Interestingly, SDC-Scissor does not introduce significant computational overhead in the SDCs testing process, which is critical to SDC development in industrial settings.
翻译:93. 然而,这一问题在SDC模拟模拟环境中部分得到了解决。尽管如此,在模拟环境中彻底测试SDC仍然具有挑战性,因为SDC必须在大量长程测试情景中进行测试。以往的软件测试优化结果表明,并非所有测试结果都同样有助于建立对测试对象质量和可靠性的信心,一些可跳(或删除)减少测试努力的“不提供信息规范”测试。然而,这一问题在SDC模拟平台中得到了部分解决。在本文件中,我们调查测试选择战略以提高SDC模拟环境中基于模拟测试的成本效益,因为SDC必须用大量长程测试来测试。我们提出了一种叫做SDC-Slicor(SDC-EffeCtIve te SpeaTROR)的方法,它利用机器学习(ML)战略来识别和跳过测试,无法在SDC测试之前发现错误。具体地,SDC-Clicormax(S-Checker)提取关于Srentrodeal-develrial 测试功能的不透明性特征,SDC在模拟环境中进行。Scisal-deal-Cal-Cal-Cal-Cal-destrual-destrisal 测试,这是在S-destrual-destration-destrisal Test Stationalmental rodustrisastrational ex ex ex ex ex ex ex) 测试中,在S。在S。在模拟环境中进行一个高级测试中,在S-destrisalmentalmentalmentalmentalmentalationalation ex lautal ex ex ex ex ex ex ex