Reinforcement Learning for Test Case Prioritization

计算机科学 强化学习 优先次序 考试(生物学) 人工智能 钢筋 机器学习 人机交互 管理科学 工程类 古生物学 生物 结构工程
作者
Mojtaba Bagherzadeh,Nafıseh Kahani,Lionel Briand
出处
期刊:IEEE Transactions on Software Engineering [IEEE Computer Society]
卷期号:48 (8): 2836-2856 被引量:63
标识
DOI:10.1109/tse.2021.3070549
摘要

Continuous Integration (CI) significantly reduces integration problems, speeds up development time, and shortens release time. However, it also introduces new challenges for quality assurance activities, including regression testing, which is the focus of this work. Though various approaches for test case prioritization have shown to be very promising in the context of regression testing, specific techniques must be designed to deal with the dynamic nature and timing constraints of CI. Recently, Reinforcement Learning (RL) has shown great potential in various challenging scenarios that require continuous adaptation, such as game playing, real-time ads bidding, and recommender systems. Inspired by this line of work and building on initial efforts in supporting test case prioritization with RL techniques, we perform here a comprehensive investigation of RL-based test case prioritization in a CI context. To this end, taking test case prioritization as a ranking problem, we model the sequential interactions between the CI environment and a test case prioritization agent as an RL problem, using three alternative ranking models. We then rely on carefully selected and tailored state-of-the-art RL techniques to automatically and continuously learn a test case prioritization strategy, whose objective is to be as close as possible to the optimal one. Our extensive experimental analysis shows that the best RL solutions provide a significant accuracy improvement over previous RL-based work, with prioritization strategies getting close to being optimal, thus paving the way for using RL to prioritize test cases in a CI context.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
VJFFF发布了新的文献求助10
1秒前
1秒前
1秒前
2秒前
hahaha完成签到,获得积分10
2秒前
花卷完成签到,获得积分10
2秒前
2秒前
2秒前
kewy发布了新的文献求助10
2秒前
困了就睡完成签到,获得积分10
3秒前
wushuimei完成签到 ,获得积分0
3秒前
3秒前
hanyy完成签到,获得积分10
3秒前
fan发布了新的文献求助10
4秒前
灵舒完成签到,获得积分0
4秒前
ldkl完成签到,获得积分0
4秒前
zty568发布了新的文献求助10
4秒前
F_echo发布了新的文献求助10
4秒前
5秒前
lilyswift完成签到,获得积分10
5秒前
乐乐应助科研通管家采纳,获得10
5秒前
李爱国应助科研通管家采纳,获得10
6秒前
6秒前
WuX发布了新的文献求助20
6秒前
NexusExplorer应助科研通管家采纳,获得10
6秒前
6秒前
KDVBHGJDFHGAV应助科研通管家采纳,获得10
6秒前
缥缈的松鼠完成签到 ,获得积分10
6秒前
发发发完成签到,获得积分10
6秒前
蛇從革应助Steven采纳,获得30
6秒前
6秒前
6秒前
6秒前
锋回露转123完成签到,获得积分10
7秒前
脑洞疼应助科研通管家采纳,获得10
7秒前
九月发布了新的文献求助200
7秒前
深情安青应助科研通管家采纳,获得10
7秒前
科研小白0125应助倚栏听风采纳,获得10
7秒前
zhonglv7应助科研通管家采纳,获得10
7秒前
完美世界应助科研通管家采纳,获得10
7秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Burger's Medicinal Chemistry, Drug Discovery and Development, Volumes 1 - 8, 8 Volume Set, 8th Edition 1800
Cronologia da história de Macau 1600
Contemporary Debates in Epistemology (3rd Edition) 1000
International Arbitration Law and Practice 1000
文献PREDICTION EQUATIONS FOR SHIPS' TURNING CIRCLES或期刊Transactions of the North East Coast Institution of Engineers and Shipbuilders第95卷 1000
BRITTLE FRACTURE IN WELDED SHIPS 1000
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 纳米技术 计算机科学 化学工程 生物化学 物理 复合材料 内科学 催化作用 物理化学 光电子学 细胞生物学 基因 电极 遗传学
热门帖子
关注 科研通微信公众号,转发送积分 6159744
求助须知:如何正确求助?哪些是违规求助? 7987829
关于积分的说明 16602097
捐赠科研通 5268176
什么是DOI,文献DOI怎么找? 2810854
邀请新用户注册赠送积分活动 1790988
关于科研通互助平台的介绍 1658094