首页> 外文会议>IEEE VLSI Test Symposium >A New Method for Software Test Data Generation Inspired by D-algorithm
【24h】

A New Method for Software Test Data Generation Inspired by D-algorithm

机译:D算法启发的软件测试数据生成新方法

获取原文

摘要

Test generation for digital hardware is highly automated, scalable (in practice), and provides high test quality. In contrast, current software automatic test data generation approaches suffer from low test quality or high complexity. While mutation-oriented constraint-based test data generation for software was proposed to generate high quality test data for real program bugs, all existing approaches require symbolic analysis for the whole program, and hence are not scalable even for unit testing, i.e., testing the lowest-level software modules. We propose a new method inspired by hardware D-algorithm and divide and conquer for software test data generation. To reduce runtime complexity and improve scalability, we combine global structural analysis and a sequence of small reusable symbolic analyses of parts of the program, instead of symbolically executing each mutated version of the entire program. We also propose a multi-pass test generation system to further reduce runtime complexity and compact test data. We compare our tools with one of the best software test generation tools (EvoSuite[20], which won the SBST 2017 tool competition) and demonstrate that our approach generates higher quality unit tests in a scalable manner and provides a compact set of tests.
机译:数字硬件的测试生成是高度自动化的,可扩展的(在实践中),并提供高质量的测试。相反,当前的软件自动测试数据生成方法遭受测试质量低或复杂性高的困扰。虽然提出了针对软件的基于突变的基于约束的测试数据生成,以针对真实程序错误生成高质量的测试数据,但所有现有方法都需要对整个程序进行符号分析,因此即使对于单元测试(即测试程序)也无法扩展。最底层的软件模块。我们提出了一种新方法,该方法受硬件D算法启发,并通过分治法来生成软件测试数据。为了降低运行时的复杂性并提高可伸缩性,我们将全局结构分析和对程序各部分的一系列小的可重用符号分析进行了组合,而不是用符号方式执行整个程序的每个变异版本。我们还提出了一种多通道测试生成系统,以进一步降低运行时复杂度和紧凑的测试数据。我们将工具与最佳软件测试生成工具之一(EvoSuite [20],赢得了SBST 2017工具竞赛)进行了比较,证明了我们的方法以可扩展的方式生成了更高质量的单元测试,并提供了一组紧凑的测试。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号