【24h】

Generating tests from counterexamples

机译:从反例生成测试

获取原文

摘要

We have extended the software model checker BLAST to automatically generate test suites that guarantee full coverage with respect to a given predicate. More precisely, given a C program and a target predicate p, BLAST determines the set L of program locations which program execution can reach with p true, and automatically generates a set of test vectors that exhibit the truth of p at all locations in L. We have used BLAST to generate test suites and to detect dead code in C programs with up to 30 K lines of code. The analysis and test vector generation is fully automatic (no user intervention) and exact (no false positives).
机译:我们扩展了软件模型检查器BLAST来自动生成测试套件,以确保对给定谓词进行全面覆盖。更精确地讲,给定C程序和目标谓词p,BLAST会确定程序执行可以以p true到达的程序位置的L个集合,并自动生成一组测试向量,这些向量在L中的所有位置都显示p的真相。我们已使用BLAST生成测试套件,并检测具有多达30 K行代码的C程序中的无效代码。分析和测试向量的生成是全自动的(无用户干预),准确的(无误报)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号