Randoop-TSR: Random-based Test Generator with Test Suite Reduction

测试套件 代码覆盖率 冗余(工程) 计算机科学 测试用例 随机测试 自动测试模式生成 可靠性工程 故障覆盖率 模糊测试 测试管理方法 软件质量 测试压缩 测试中的系统 考试(生物学) 软件 基于模型的测试 故障检测与隔离 软件开发 程序设计语言 人工智能 机器学习 工程类 软件建设 操作系统 回归分析 古生物学 执行机构 电子线路 生物 电气工程
作者
Xiangjun Liu,Yu Ping
标识
DOI:10.1145/3545258.3545280
摘要

Software testing plays a very important role in the software development process. Automated test generation tools increase the effectiveness and efficiency of software testing, and alleviate the problem of low efficiency caused by writing hand-crafted test cases. However, different test case generation methods vary in the size, code coverage, and fault detection capacity of the automatically-produced test suites. Automated test case generation tool based on random testing, Randoop as a representative, randomly and incrementally generates a large number of method sequences, which gives various possible combinations of calling methods, but the size of the test suite is not proportional to test quality. Therefore, there exists a lot of redundancy in the test cases. This paper proposes Randoop-TSR, an approach for identifying and eliminating redundant test cases on the basis of Randoop to improve the process of test generation. Our approach adopts three strategies to realize the removal of redundancy, namely: (i) similarity-based input sequence selection; (ii) redundant and duplicate assert statements elimination based on test smell detection; (iii) redundant test cases elimination without breaking test requirements (i.e., code coverage and mutation score). Randoop-TSR can eliminate redundancy effectively, and greatly reduce the size of test suites and execution time. Furthermore, our approach improves the efficiency and understandability of test cases while retaining code coverage and mutation score.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
NSS发布了新的文献求助10
1秒前
zxingji完成签到,获得积分10
1秒前
2秒前
蓝天应助予秋采纳,获得10
2秒前
3秒前
4秒前
小巧水绿发布了新的文献求助10
4秒前
Tiako完成签到,获得积分10
6秒前
7秒前
Firsterchao发布了新的文献求助10
7秒前
GehaoZhang发布了新的文献求助10
7秒前
irisjlj完成签到,获得积分10
7秒前
机智的不愁完成签到,获得积分10
7秒前
大个应助GGDog采纳,获得10
8秒前
刘岩松发布了新的文献求助10
8秒前
淡定乐荷完成签到,获得积分10
8秒前
科研通AI2S应助Tiako采纳,获得10
9秒前
李爱国应助吴优秀采纳,获得10
9秒前
Zxy完成签到 ,获得积分10
9秒前
10秒前
英姑应助文艺的冬卉采纳,获得10
12秒前
13秒前
A29964095发布了新的文献求助10
14秒前
15秒前
Firsterchao完成签到,获得积分10
17秒前
汉堡包应助fish晶晶采纳,获得10
17秒前
18秒前
mm完成签到,获得积分10
22秒前
22秒前
GehaoZhang完成签到,获得积分10
22秒前
24秒前
vobei完成签到 ,获得积分10
24秒前
Chloe完成签到,获得积分10
24秒前
活着完成签到,获得积分10
24秒前
Jasmine完成签到,获得积分10
25秒前
小二郎应助丁绿凝采纳,获得10
25秒前
昌莆完成签到 ,获得积分10
25秒前
26秒前
李大玲儿完成签到,获得积分10
26秒前
吴优秀发布了新的文献求助10
26秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Resistance Spot Welding Dataset for Automobile Body-in-White Quality Analysis 748
日本現代怪異事典 副読本 700
悉尼大学博士学位论文,题目:Modelling and testing of one-sided stitched laminated composites. 作者:Kristopher P. Plain 650
Machine Learning for Asset Management and Pricing 600
Numerical analysis of the coupled atmosphere-ocean models (CAO II). II 600
Models for the coupled atmosphere and ocean 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7386652
求助须知:如何正确求助?哪些是违规求助? 8993410
关于积分的说明 19134253
捐赠科研通 7023717
什么是DOI,文献DOI怎么找? 3227837
关于科研通互助平台的介绍 2390632
邀请新用户注册赠送积分活动 2209028