首页> 外文期刊>IEEE Transactions on Software Engineering >On the Use of Mutation Faults in Empirical Assessments of Test Case Prioritization Techniques
【24h】

On the Use of Mutation Faults in Empirical Assessments of Test Case Prioritization Techniques

机译:在测试用例优先级排序技术的经验评估中使用变异故障

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

摘要

Regression testing is an important activity in the software life cycle, but it can also be very expensive. To reduce the cost of regression testing, software testers may prioritize their test cases so that those which are more important, by some measure, are run earlier in the regression testing process. One potential goal of test case prioritization techniques is to increase a test suite's rate of fault detection (how quickly, in a run of its test cases, that test suite can detect faults). Previous work has shown that prioritization can improve a test suite's rate of fault detection, but the assessment of prioritization techniques has been limited primarily to hand-seeded faults, largely due to the belief that such faults are more realistic than automatically generated (mutation) faults. A recent empirical study, however, suggests that mutation faults can be representative of real faults and that the use of hand-seeded faults can be problematic for the validity of empirical results focusing on fault detection. We have therefore designed and performed two controlled experiments assessing the ability of prioritization techniques to improve the rate of fault detection of test case prioritization techniques, measured relative to mutation faults. Our results show that prioritization can be effective relative to the faults considered, and they expose ways in which that effectiveness can vary with characteristics of faults and test suites. More importantly, a comparison of our results with those collected using hand-seeded faults reveals several implications for researchers performing empirical studies of test case prioritization techniques in particular and testing techniques in general
机译:回归测试是软件生命周期中的重要活动,但它也可能非常昂贵。为了降低回归测试的成本,软件测试人员可以确定其测试用例的优先级,以使在某种程度上更重要的测试用例在回归测试过程中尽早运行。测试用例优先级划分技术的一个潜在目标是提高测试套件的故障检测率(在测试用例的运行中,测试套件可以检测到故障的速度)。先前的工作表明,优先级排序可以提高测试套件的故障检测率,但是优先级排序技术的评估主要限于人工种子错误,这在很大程度上是因为人们认为这样的错误比自动生成(变异)的错误更为实际。 。但是,最近的一项实证研究表明,突变故障可以代表真实故障,而对于人工故障,使用手工播种的故障可能会给以故障检测为重点的经验结果的有效性带来问题。因此,我们设计并执行了两个受控实验,评估了相对于突变故障测得的优先级划分技术提高测试用例优先级划分技术的故障检测率的能力。我们的结果表明,优先级相对于所考虑的故障是有效的,并且它们揭示了有效性可以随故障和测试套件的特性而变化的方式。更重要的是,将我们的结果与使用手工种子故障收集的结果进行比较,揭示了对研究人员进行测试案例优先级划分技术(尤其是测试技术)的实证研究的一些含义。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号