首页> 外文会议>Fundamental approaches to software engineering >Reducing the Costs of Bounded-Exhaustive Testing
【24h】

Reducing the Costs of Bounded-Exhaustive Testing

机译:降低有限穷举测试的成本

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

摘要

Bounded-exhaustive testing is an automated testing methodology that checks the code under test for all inputs within given bounds: first the user describes a set of test inputs and provides test oracles that check test outputs; then the tool generates all the inputs, executes them on the code under test, and checks the outputs; and finally the user inspects failing tests to submit bug reports. The costs of bounded-exhaustive testing include machine time for test generation and execution (which translates into human time waiting for these results) and human time for inspection of results. This paper proposes three techniques that reduce these costs. Sparse Test Generation skips some tests to reduce the time to the first failing test. Structural Test Merging generates a smaller number of larger test inputs (rather than a larger number of smaller test inputs) to reduce test generation and execution time. Oracle-based Test Clustering groups failing tests to reduce the inspection time. Results obtained from the bounded-exhaustive testing of the Eclipse refactor-ing engine show that these three techniques can substantially reduce the costs while mostly preserving fault-detection capability.
机译:边界穷举测试是一种自动测试方法,可以检查被测代码中给定范围内的所有输入:首先,用户描述一组测试输入,并提供检查测试输出的测试预告片;然后,该工具会生成所有输入,并在被测代码上执行它们,然后检查输出;最后,用户检查失败的测试以提交错误报告。有限穷举测试的成本包括用于测试生成和执行的机器时间(转换为等待这些结果的人工时间)和用于检查结果的人工时间。本文提出了三种降低这些成本的技术。稀疏测试生成会跳过一些测试,以减少第一次失败测试的时间。结构测试合并生成少量较大的测试输入(而不是大量较小的测试输入)以减少测试生成和执行时间。基于Oracle的测试集群可将失败的测试分组以减少检查时间。从Eclipse重构引擎的无穷尽测试中获得的结果表明,这三种技术可以大大降低成本,同时主要保留故障检测功能。

著录项

  • 来源
  • 会议地点 York(GB);York(GB);York(GB);York(GB)
  • 作者单位

    Department of Computer Science, University of Illinois at Urbana-Champaign Urbana, IL 61801, USA;

    Department of Computer Science, University of Illinois at Urbana-Champaign Urbana, IL 61801, USA;

    Department of Computer Science, University of Illinois at Urbana-Champaign Urbana, IL 61801, USA;

    Department of Computer Science, University of Illinois at Urbana-Champaign Urbana, IL 61801, USA;

  • 会议组织
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 计算机软件;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号