首页> 外文期刊>Software >An empirical evaluation of several test-a-few strategies for testing particular conditions
【24h】

An empirical evaluation of several test-a-few strategies for testing particular conditions

机译:对几种用于测试特定条件的测试策略的实证评估

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

摘要

Existing specification-based testing techniques often generate comprehensive test suites to cover diverse combinations of test-relevant aspects. Such a test suite can be prohibitively expensive to execute exhaustively because of its large size. A pragmatic strategy often adopted in practice, called test-once strategy, is to identify certain particular conditions from the specification and to test each such condition once only. This strategy is implicitly based on the uniformity assumption that the implementation will process a particular condition uniformly, regardless of other parameters or inputs. As the decision of adopting the test-once strategy is often based on the specification, whether the uniformity assumption actually holds in the implementation needs to be critically assessed, or else the risk of inadequate testing could be non-negligible. As viable alternatives to reduce such a risk, a family of test-a-few strategies for the testing of particular conditions is proposed in this paper. Two rounds of experiments that evaluate the effectiveness of the test-a-few strategies as compared with the test-once strategy are further reported. Our experiments do the following: (1) provide clear evidence that the uniformity assumption often, but not always, holds and that the assumption usually fails to hold when the implementation is faulty; (2) demonstrate that all our proposed test-a-few strategies are statistically more reliable than the test-once strategy in revealing faulty programs; (3) show that random sampling is already substantially more effective than the test-once strategy; and (4) indicate that, compared with other test-a-few strategies under study, choice coverage seems to achieve a better trade-off between test effort and effectiveness.
机译:现有的基于规范的测试技术通常会生成全面的测试套件,以涵盖与测试相关的方面的各种组合。这种测试套件的体积太大,以致无法穷举执行,可能会非常昂贵。在实践中经常采用的一种实用策略(称为一次测试策略)是从规范中识别某些特定条件,并仅对每个条件进行一次测试。此策略隐式基于统一性假设,即实现将统一处理特定条件,而不考虑其他参数或输入。由于采用一次测试策略的决定通常是基于规范的,因此是否需要严格评估实施过程中实际存在的一致性假设,否则测试不足的风险就可以忽略不计。作为降低此类风险的可行替代方案,本文提出了一系列针对特定条件的测试策略。进一步报告了两轮实验,评估了一次测验策略与一次测验策略的有效性。我们的实验做了以下工作:(1)提供明确的证据,一致性假设经常但不总是成立,并且当实现有错误时,该假设通常无法成立; (2)证明在揭示错误程序时,我们提出的所有“少数测试”策略在统计上都比“一次测试”策略可靠; (3)表明随机抽样已经比一次测试策略有效得多; (4)表明,与正在研究的其他“少数测试”策略相比,选择覆盖似乎在测试努力和有效性之间取得了更好的权衡。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号