首页> 外文会议>Testing software and systems >Black-Box System Testing of Real-Time Embedded Systems Using Random and Search-Based Testing
【24h】

Black-Box System Testing of Real-Time Embedded Systems Using Random and Search-Based Testing

机译:使用随机和基于搜索的测试对实时嵌入式系统进行黑匣子系统测试

获取原文
获取原文并翻译 | 示例

摘要

Testing real-time embedded systems (RTES) is in many ways challenging. Thousands of test cases can be potentially executed on an industrial RTES. Given the magnitude of testing at the system level, only a fully automated approach can really scale up to test industrial RTES. In this paper we take a black-box approach and model the RTES environment using the UML/-MARTE international standard. Our main motivation is to provide a more practical approach to the model-based testing of RTES by allowing system testers, who are often not familiar with the system design but know the application domain well-enough, to model the environment to enable test automation. Environment models can support the automation of three tasks: the code generation of an environment simulator, the selection of test cases, and the evaluation of their expected results (oracles). In this paper, we focus on the second task (test case selection) and investigate three test automation strategies using inputs from UML/MARTE environment models: Random Testing (baseline), Adaptive Random Testing, and Search-Based Testing (using Genetic Algorithms). Based on one industrial case study and three artificial systems, we show how, in general, no technique is better than the others. Which test selection technique to use is determined by the failure rate (testing stage) and the execution time of test cases. Finally, we propose a practical process to combine the use of all three test strategies.
机译:测试实时嵌入式系统(RTES)在许多方面都具有挑战性。成千上万的测试用例可以在工业RTES上执行。考虑到系统级别的测试规模,只有完全自动化的方法才能真正扩展到测试工业RTES。在本文中,我们采用了黑盒方法,并使用UML / -MARTE国际标准对RTES环境进行了建模。我们的主要动机是通过允许通常不熟悉系统设计但熟悉应用程序领域的系统测试人员为环境建模以实现测试自动化,从而为RTES的基于模型的测试提供更实用的方法。环境模型可以支持以下三个任务的自动化:环境模拟器的代码生成,测试用例的选择以及对它们的预期结果的评估(预言)。在本文中,我们专注于第二项任务(测试用例选择),并使用UML / MARTE环境模型的输入研究三种测试自动化策略:随机测试(基准),自适应随机测试和基于搜索的测试(使用遗传算法) 。基于一项工业案例研究和三种人工系统,我们展示了一般而言,没有一种技术比其他技术更好。使用哪种测试选择技术取决于故障率(测试阶段)和测试用例的执行时间。最后,我们提出了一个实用的过程来结合使用所有三种测试策略。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号