首页> 外文会议>Software Engineering Conference, 2001. Proceedings. 2001 Australian >On the effectiveness of mutation analysis as a black box testing technique
【24h】

On the effectiveness of mutation analysis as a black box testing technique

机译:关于突变分析作为黑盒测试技术的有效性

获取原文

摘要

The technique of mutation testing, in which the effectiveness of tests is determined by creating variants of a program in which statements are mutated, is well known.. Whilst of considerable theoretical interest, the technique requires costly tools and is computationally expensive. Very large numbers of 'mutants' can be generated for even simple programs. More recently, it has been proposed that the concept be applied to specification based (black box) testing. The proposal is to generate test cases by systematically replacing data items relevant to a particular part of a specification with a data item relevant to another. If the specification is considered as generating a language that describes the set of valid inputs, then the mutation process is intended to generate syntactically valid and invalid statements. Irrespective of their 'correctness' in terms of the specification, these can then be used to test a program in the usual (black box) manner. For this approach to have practical value it must produce test cases that would not be generated by other popular black box test generation approaches. The paper reports a case study involving the application of mutation based black box testing to two programs of different types. Test cases were also generated using equivalence class testing. and boundary value testing approaches. The test cases from each method were examined to judge the overlap and to assess the value of the additional cases generated. It was found that less than 20% of the mutation test cases for a data-vetting program were generated by the other two methods, as against 75% for a statistical analysis program. The paper analyses these results and suggests classes of specifications for which mutation based test-case generation may be effective.
机译:变异测试技术是众所周知的,在变异测试中,通过创建对语句进行变异的程序的变体来确定测试的有效性。尽管具有相当大的理论价值,但该技术需要昂贵的工具并且计算量大。即使是简单的程序,也可能生成大量的“突变体”。最近,已经提出将该概念应用于基于规范的(黑匣子)测试。提议是通过系统地将与规范的特定部分相关的数据项替换为与另一部分相关的数据项来生成测试用例。如果规范被认为是生成描述有效输入集的语言,则突变过程旨在生成语法上有效和无效的语句。无论它们在规范方面的“正确性”如何,都可以将它们用于以常规(黑匣子)方式测试程序。为了使这种方法具有实用价值,它必须产生测试用例,而其他流行的黑匣子测试生成方法不会生成这些测试用例。该论文报告了一个案例研究,该案例涉及将基于突变的黑盒测试应用于两个不同类型的程序。还使用等效类测试来生成测试用例。和边值测试方法。检查每种方法的测试用例,以判断重叠之处,并评估所产生的其他用例的价值。发现数据审查程序的突变测试用例中,只有不到20%是通过其他两种方法生成的,而统计分析程序则是75%。本文分析了这些结果,并提出了基于突变的测试用例生成可能有效的规范类别。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号