首页> 外文学位 >A MEASURE OF TEST CASE COMPLETENESS (SOFTWARE, ENGINEERING).
【24h】

A MEASURE OF TEST CASE COMPLETENESS (SOFTWARE, ENGINEERING).

机译:测试用例完整性的度量(软件,工程)。

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

摘要

When testing a computer program, it is not usually clear when to stop testing and, at the same time, have some level of assurance that the program is correct. This decision, as well as the selection of test cases, is often done in an ad hoc manner.;It is also shown that the cause-effect graphing and equivalent normal form approaches to test case generation produce the same test cases. The equivalent normal form method is more algorithmic and easier to implement.;This dissertation addresses a technique that can be used to gain assurance that the quality of test cases are improving. First, a metric is developed to measure the effectiveness of a set of test cases developed using a particular testing approach, such as statement coverage, branch coverage, multiple condition coverage, path testing, cause-effect graphing and mutation analysis. A single measurement approach for test cases is developed, regardless of the test approach used to generate the test cases. This metric is used to evaluate both structural and functional methods for generating test cases. Next, a composite metric is constructed based on metrics developed for the approaches that were evaluated. This composite metric is shown, for the examples studied, to increase as the number of errors discovered increases. That is, by adding more test cases in a manner that increases the composite metric, one is likely to find more program errors than by adding test cases in a random manner. In addition, by applying regression analysis, some of the components of the composite metric are shown to be a predictor of the reliability of the programs in the sample studied.
机译:测试计算机程序时,通常不清楚何时停止测试,同时还可以一定程度地保证程序正确。该决定以及测试用例的选择通常以临时方式完成。还表明,因果图和等效的正规形式生成测试用例的方法会产生相同的测试用例。等效的法线形式方法在算法上更易于实现,更易于实现。本文研究了一种可用于确保测试用例质量不断提高的技术。首先,开发一种度量标准来度量使用特定测试方法开发的一组测试用例的有效性,例如语句覆盖率,分支覆盖率,多条件覆盖率,路径测试,因果图和突变分析。无论用于生成测试案例的测试方法如何,都针对测试案例开发了一种单一的度量方法。该指标用于评估生成测试用例的结构和功能方法。接下来,基于为所评估方法开发的度量标准来构建复合度量标准。对于所研究的示例,该综合指标显示为随着发现的错误数量的增加而增加。也就是说,与以随机方式添加测试用例相比,通过以增加复合度量的方式添加更多的测试用例,很可能会发现更多的程序错误。此外,通过应用回归分析,综合指标的某些组成部分可以预测所研究样本中程序的可靠性。

著录项

  • 作者

    WALSH, PATRICK JOSEPH.;

  • 作者单位

    State University of New York at Binghamton.;

  • 授予单位 State University of New York at Binghamton.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 1985
  • 页码 176 p.
  • 总页数 176
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 水产、渔业;
  • 关键词

  • 入库时间 2022-08-17 11:51:13

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号