首页> 外文会议>Conference on Information Communications Technology and Society >Using Machine Learning to Prioritize Automated Testing in an Agile Environment
【24h】

Using Machine Learning to Prioritize Automated Testing in an Agile Environment

机译:在敏捷环境中使用机器学习确定自动测试的优先级

获取原文

摘要

Automated software testing is an integral part of most Agile methodologies. In the case of the Scrum Agile methodology, the definition of done includes the completion of tests. As a software project matures, however, the number of tests increases to such a point that the time required to run all the tests often hinders the speed in which artifacts can be deployed. This paper describes a technique of using machine learning to help prioritize automated testing to ensure that tests which have a higher probability of failing are executed early in the test run giving the programmers an early indication of problems. In order to do this, various metrics are collected about the software under test including Cyclomatic values, Halstead-based values, and Chidamber-Kemere values. In addition, the historical commit messages from the source code control system is accessed to see if there had been defects in the various source classes previously. From these two inputs, a data file can be created which contains various metrics and whether or not there had been defects in these source files previously. This data file can then be sent to Weka to create a decision tree indicating which measurements indicate potential defects. The model created by Weka can then then be used in future to attempt to predict where defects might be in the source files and then prioritize testing appropriately.
机译:自动化软件测试是大多数敏捷方法中不可或缺的一部分。就Scrum Agile方法而言,完成的定义包括测试的完成。但是,随着软件项目的成熟,测试的数量增加到这样的程度,以至于运行所有测试所需的时间通常会阻碍工件部署的速度。本文介绍了一种使用机器学习来帮助对自动化测试进行优先级排序的技术,以确保在测试运行的早期就执行失败概率更高的测试,从而为程序员提供了问题的早期指示。为此,收集了有关被测软件的各种度量标准,包括Cyclomatic值,基于Halstead的值和Chidamber-Kemere值。另外,访问来自源代码控制系统的历史提交消息,以查看以前各种源类中是否存在缺陷。从这两个输入中,可以创建一个数据文件,其中包含各种指标以及这些源文件之前是否存在缺陷。然后可以将该数据文件发送到Weka,以创建决策树,该决策树指示哪些测量结果指示潜在缺陷。然后,将来可以使用Weka创建的模型来尝试预测源文件中的缺陷所在,然后适当地对测试进行优先级划分。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号