清晨好,您是今天最早来到科研通的研友!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您科研之路漫漫前行!

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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
金石为开完成签到,获得积分10
3秒前
chenqj完成签到 ,获得积分10
12秒前
大胆半双完成签到,获得积分10
12秒前
简单完成签到 ,获得积分10
22秒前
蔡勇强完成签到 ,获得积分10
24秒前
27秒前
白华苍松发布了新的文献求助10
31秒前
知行者完成签到 ,获得积分10
31秒前
开心向真完成签到,获得积分10
34秒前
27完成签到 ,获得积分10
35秒前
阿甘完成签到,获得积分10
49秒前
Ray完成签到 ,获得积分10
56秒前
1分钟前
null应助科研通管家采纳,获得10
1分钟前
cdercder应助科研通管家采纳,获得10
1分钟前
cdercder应助科研通管家采纳,获得10
1分钟前
cdercder应助科研通管家采纳,获得10
1分钟前
1分钟前
1分钟前
1分钟前
Wang发布了新的文献求助10
1分钟前
zen完成签到,获得积分10
1分钟前
亳亳发布了新的文献求助10
1分钟前
白华苍松发布了新的文献求助10
1分钟前
wanci应助激动的初雪采纳,获得10
1分钟前
贾方硕完成签到,获得积分10
1分钟前
ZDU完成签到 ,获得积分10
1分钟前
zen发布了新的文献求助10
1分钟前
1分钟前
我很好完成签到 ,获得积分10
1分钟前
1分钟前
感动的仇天完成签到,获得积分10
1分钟前
四叶草完成签到 ,获得积分10
1分钟前
清脆安南完成签到,获得积分10
1分钟前
iman发布了新的文献求助50
1分钟前
研友_VZG7GZ应助亳亳采纳,获得10
1分钟前
1分钟前
白华苍松发布了新的文献求助10
1分钟前
elsa622完成签到 ,获得积分10
1分钟前
sponge完成签到 ,获得积分10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
CLSI VET01S-2024 Performance Standards for Antimicrobial Disk and Dilution Susceptibility Tests for Bacteria Isolated From Animals (7th Ed) 500
DIPPR Project 801 - Full Version 380
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7765895
求助须知:如何正确求助?哪些是违规求助? 9309897
关于积分的说明 20312962
捐赠科研通 7350641
什么是DOI,文献DOI怎么找? 3315002
关于科研通互助平台的介绍 2464456
邀请新用户注册赠送积分活动 2329556