首页> 外文会议>International Conference on Software Maintenance and Evolution >Efficient regression testing based on test history: An industrial evaluation
【24h】

Efficient regression testing based on test history: An industrial evaluation

机译:基于测试历史记录的高效回归测试:行业评估

获取原文

摘要

Due to changes in the development practices at Axis Communications, towards continuous integration, faster regression testing feedback is needed. The current automated regression test suite takes approximately seven hours to run which prevents developers from integrating code changes several times a day as preferred. Therefore we want to implement a highly selective yet accurate regression testing strategy. Traditional code coverage based techniques are not applicable due to the size and complexity of the software under test. Instead we decided to select tests based on regression test history. We developed a tool, the Difference Engine, which parses and analyzes results from previous test runs and outputs regression test recommendations. The Difference Engine correlates code and test cases at package level and recommends test cases that are strongly correlated to recently changed packages. We evaluated the technique with respect to correctness, precision, recall and efficiency. Our results are promising. On average the tool manages to identify 80% of the relevant tests while recommending only 4% of the test cases in the full regression test suite.
机译:由于Axis Communications的开发实践发生了变化,朝着持续集成的方向发展,因此需要更快的回归测试反馈。当前的自动回归测试套件大约需要花费七个小时来运行,这可以防止开发人员最好每天进行几次集成代码更改。因此,我们希望实施高度选择性而又准确的回归测试策略。由于受测软件的大小和复杂性,基于传统代码覆盖率的技术不适用。相反,我们决定根据回归测试历史选择测试。我们开发了一个工具差分引擎,可以分析和分析先前测试运行的结果并输出回归测试建议。差异引擎在程序包级别关联代码和测试用例,并推荐与最近更改的程序包密切相关的测试用例。我们从准确性,准确性,召回率和效率方面评估了该技术。我们的结果是有希望的。平均而言,该工具设法确定80%的相关测试,而在整个回归测试套件中仅推荐4%的测试用例。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号