Reinforcement learning for automatic test case prioritization and selection in continuous integration

计算机科学 回归检验 强化学习 考试(生物学) 选择(遗传算法) 优先次序 编码(集合论) 测试套件 可追溯性 机器学习 测试用例 人工智能 软件 回归分析 软件工程 工程类 软件开发 程序设计语言 软件建设 古生物学 集合(抽象数据类型) 管理科学 生物
作者
Helge Spieker,Arnaud Gotlieb,Dusica Marijan,Morten Mossige
标识
DOI:10.1145/3092703.3092709
摘要

Testing in Continuous Integration (CI) involves test case prioritization, selection, and execution at each cycle. Selecting the most promising test cases to detect bugs is hard if there are uncertainties on the impact of committed code changes or, if traceability links between code and tests are not available. This paper introduces Retecs, a new method for automatically learning test case selection and prioritization in CI with the goal to minimize the round-trip time between code commits and developer feedback on failed test cases. The Retecs method uses reinforcement learning to select and prioritize test cases according to their duration, previous last execution and failure history. In a constantly changing environment, where new test cases are created and obsolete test cases are deleted, the Retecs method learns to prioritize error-prone test cases higher under guidance of a reward function and by observing previous CI cycles. By applying Retecs on data extracted from three industrial case studies, we show for the first time that reinforcement learning enables fruitful automatic adaptive test case selection and prioritization in CI and regression testing.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
郑雪红发布了新的文献求助10
刚刚
我有魔鬼大头完成签到,获得积分10
1秒前
可爱的函函应助八岁采纳,获得10
1秒前
斯文败类应助小卡拉米采纳,获得10
1秒前
若雨凌风应助道尔采纳,获得10
1秒前
完美世界应助忧郁凌波采纳,获得10
1秒前
SciGPT应助dong采纳,获得10
1秒前
2秒前
brownnose完成签到,获得积分10
2秒前
lihongchi完成签到,获得积分10
2秒前
材料生发布了新的文献求助10
3秒前
科研通AI2S应助威武青亦采纳,获得10
3秒前
我也完成签到,获得积分10
4秒前
4秒前
4秒前
deyinlin完成签到,获得积分20
4秒前
汉堡包应助孤独烤鸡采纳,获得10
5秒前
藏喜完成签到,获得积分10
6秒前
多情的静槐完成签到 ,获得积分10
7秒前
perfumei发布了新的文献求助10
7秒前
7秒前
8秒前
8秒前
9秒前
9秒前
1111111222发布了新的文献求助10
9秒前
10秒前
劲秉应助超级水壶采纳,获得10
10秒前
10秒前
10秒前
10秒前
pzh完成签到,获得积分20
11秒前
自由香魔发布了新的文献求助10
12秒前
小蘑菇应助材料生采纳,获得10
12秒前
12秒前
英姑应助郑雪红采纳,获得10
12秒前
忧郁凌波完成签到,获得积分10
12秒前
jie发布了新的文献求助10
13秒前
言而有信的小蚂蚁完成签到,获得积分20
13秒前
13秒前
高分求助中
Genetics: From Genes to Genomes 3000
Production Logging: Theoretical and Interpretive Elements 2500
Continuum thermodynamics and material modelling 2000
Healthcare Finance: Modern Financial Analysis for Accelerating Biomedical Innovation 2000
Applications of Emerging Nanomaterials and Nanotechnology 1111
Les Mantodea de Guyane Insecta, Polyneoptera 1000
Diabetes: miniguías Asklepios 800
热门求助领域 (近24小时)
化学 医学 材料科学 生物 工程类 有机化学 生物化学 纳米技术 内科学 物理 化学工程 计算机科学 复合材料 基因 遗传学 物理化学 催化作用 细胞生物学 免疫学 电极
热门帖子
关注 科研通微信公众号,转发送积分 3470685
求助须知:如何正确求助?哪些是违规求助? 3063674
关于积分的说明 9084950
捐赠科研通 2754196
什么是DOI,文献DOI怎么找? 1511311
邀请新用户注册赠送积分活动 698363
科研通“疑难数据库(出版商)”最低求助积分说明 698253