Focus on New Test Cases in Continuous Integration Testing based on Reinforcement Learning

计算机科学 回归检验 强化学习 测试用例 光学(聚焦) 机器学习 考试(生物学) 人工智能 集成测试 软件 数据挖掘 回归分析 软件系统 软件建设 程序设计语言 古生物学 物理 光学 生物
作者
Fanliang Chen,Zheng Li,Ying Shang,Yang Yang
标识
DOI:10.1109/qrs57517.2022.00088
摘要

In software regression testing, newly added test cases are more likely to fail, and therefore, should be prioritized for execution. In software regression testing for continuous integration, reinforcement learning-based approaches are promising and the RETECS (Reinforced Test Case Prioritization and Selection) framework is a successful application case. RETECS uses an agent composed of a neural network to predict the priority of test cases, and the agent needs to learn from historical information to make improvements. However, the newly added test cases have no historical execution information, thus using RETECS to predict their priority is more like 'random'. In this paper, we focus on new test cases for continuous integration testing, and on the basis of the RETECS framework, we first propose a priority assignment method for new test cases to ensure that they can be executed first. Secondly, continuous integration is a fast iterative integration method where new test cases have strong fault detection capability within the latest periods. Therefore, we further propose an additional reward method for new test cases. Finally, based on the full lifecycle management, the 'new' additional rewards need to be terminated within a certain period, and this paper implements an empirical study. We conducted 30 iterations of the experiment on 12 datasets and our best results were 19.24%, 10.67%, and 34.05 positions better compared to the best parameter combination in RETECS for the NAPFD (Normalized Average Percentage of Faults Detected), RECALL and TTF (Test to Fail) metrics, respectively.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
研友_VZG7GZ应助小李老博采纳,获得10
刚刚
yy完成签到 ,获得积分10
刚刚
Yao完成签到,获得积分10
2秒前
gogogo完成签到 ,获得积分10
3秒前
YY完成签到 ,获得积分10
3秒前
怡然绯完成签到 ,获得积分10
4秒前
zhanjl13完成签到,获得积分10
4秒前
小鱼完成签到 ,获得积分10
5秒前
wolfa发布了新的文献求助10
6秒前
矛盾空间完成签到,获得积分10
6秒前
001完成签到,获得积分10
7秒前
llmm完成签到,获得积分10
7秒前
7秒前
舒适涵山完成签到,获得积分0
8秒前
三七二十一完成签到 ,获得积分10
9秒前
麒麟发布了新的文献求助10
9秒前
胡凯完成签到,获得积分10
10秒前
难过凡霜完成签到,获得积分10
12秒前
llmm发布了新的文献求助10
13秒前
萧萧完成签到,获得积分10
13秒前
meilirenshengzcs完成签到,获得积分10
13秒前
燕燕完成签到,获得积分10
17秒前
Dellamoffy完成签到,获得积分10
18秒前
Chisn1完成签到,获得积分10
18秒前
FashionBoy应助葡萄成熟采纳,获得10
18秒前
Microbiota完成签到,获得积分10
18秒前
夕荀完成签到,获得积分10
19秒前
典雅浩轩完成签到,获得积分10
20秒前
吴鹏程完成签到 ,获得积分10
21秒前
文静的笑阳完成签到,获得积分10
22秒前
srrr完成签到 ,获得积分10
22秒前
健忘魔镜完成签到,获得积分10
23秒前
淡淡依霜完成签到 ,获得积分10
23秒前
英俊的铭应助chifer采纳,获得10
23秒前
苗条青槐完成签到 ,获得积分10
23秒前
一蓑烟雨任平生完成签到,获得积分10
24秒前
来轩完成签到,获得积分10
24秒前
kyle完成签到 ,获得积分10
25秒前
小李完成签到 ,获得积分10
27秒前
li完成签到,获得积分10
27秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Römisch-Germanische Forschungen 1000
APA handbook of comparative psychology: Basic concepts, methods, neural substrate, and behavior 1000
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
An introduction of AMSTAR-2: a quality assessment instrument of systematic reviews including randomized or non-randomized controlled trials or both 500
An introduction to a measurement tool to assess the methodological quality of systematic reviews/meta-analysis: AMSTAR 500
The formulation methods and steps of umbrella review 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7605821
求助须知:如何正确求助?哪些是违规求助? 9181650
关于积分的说明 19663104
捐赠科研通 7180140
什么是DOI,文献DOI怎么找? 3269523
关于科研通互助平台的介绍 2433442
邀请新用户注册赠送积分活动 2263681