首页> 外文会议>International Conference on Tests and Proofs;World Congress on Formal Methods >Fast, Automatic, and Nearly Complete Structural Unit-Test Generation Combining Genetic Algorithms and Formal Methods
【24h】

Fast, Automatic, and Nearly Complete Structural Unit-Test Generation Combining Genetic Algorithms and Formal Methods

机译:结合遗传算法和形式方法的快速,自动和近乎完整的结构单元测试生成

获取原文

摘要

Software testing is a time consuming and error prone activity, mostly manual in most industries. One approach to increase productivity is to automatically generate tests. In this paper, we focus on automatic generation of structural unit tests of safety-critical embedded software. Our purpose is to make a tool that integrates seamlessly with existing test processes in industry. We use genetic algorithms and automatic stub generation to quickly and automatically produce test cases satisfying test objectives of a given coverage criteria, using only the software under test as input. Moreover, we combine those genetic algorithms with formal methods to determine unfeasible test objectives and help on the coverage of difficult test objectives. We implemented our approach in a tool and tested it on a real-world industrial project, demonstrating that our approach can reliably generate test cases when feasible or demonstrate they are unfeasible for 99% of the MC/DC test objectives in about half an hour for 82,000 lines of C code with integer data.
机译:软件测试是一项耗时且容易出错的活动,在大多数行业中,大多数情况下是手动操作。一种提高生产率的方法是自动生成测试。在本文中,我们专注于安全关键嵌入式软件的结构单元测试的自动生成。我们的目的是制造一种与行业中现有测试流程无缝集成的工具。我们使用遗传算法和自动存根生成功能,仅使用被测软件作为输入,即可快速自动生成满足给定覆盖标准的测试目标的测试用例。此外,我们将这些遗传算法与形式方法相结合,以确定不可行的测试目标,并帮助涵盖了困难的测试目标。我们在工具中实施了我们的方法,并在一个实际的工业项目中对其进行了测试,证明了我们的方法可以在可行的情况下可靠地生成测试用例,或者证明对于约99%的MC / DC测试目标而言,它们是不可行的。包含整数数据的82,000行C代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号