亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolutionary Search

计算机科学 测试套件 代码覆盖率 测试用例 抽象语法树 故障覆盖率 可扩展性 缩小 相似性(几何) 自动测试模式生成 考试(生物学) Java 回归检验 语法 程序设计语言 软件 人工智能 机器学习 软件开发 操作系统 工程类 电子线路 电气工程 古生物学 回归分析 图像(数学) 软件建设 生物
作者
Rongqi Pan,Taher Ahmed Ghaleb,Lionel Briand
标识
DOI:10.1109/icse48619.2023.00146
摘要

Executing large test suites is time and resource consuming, sometimes impossible, and such test suites typically contain many redundant test cases. Hence, test case (suite) minimization is used to remove redundant test cases that are unlikely to detect new faults. However, most test case minimization techniques rely on code coverage (white-box), model-based features, or requirements specifications, which are not always (entirely) accessible by test engineers. Code coverage analysis also leads to scalability issues, especially when applied to large industrial systems. Recently, a set of novel techniques was proposed, called FAST-R, relying solely on test case code for test case minimization, which appeared to be much more efficient than white-box techniques. However, it achieved a comparable low fault detection capability for Java projects, thus making its application challenging in practice. In this paper, we propose ATM (AST-based Test case Minimizer), a similarity-based, search-based test case minimization technique, taking a specific budget as input, that also relies exclusively on the source code of test cases but attempts to achieve higher fault detection through finer-grained similarity analysis and a dedicated search algorithm. ATM transforms test case code into Abstract Syntax Trees (AST) and relies on four tree-based similarity measures to apply evolutionary search, specifically genetic algorithms, to minimize test cases. We evaluated the effectiveness and efficiency of ATM on a large dataset of 16 Java projects with 661 faulty versions using three budgets ranging from 25% to 75% of test suites. ATM achieved significantly higher fault detection rates (0.82 on average), compared to FAST-R (0.61 on average) and random minimization (0.52 on average), when running only 50% of the test cases, within practically acceptable time (1.1 - 4.3 hours, on average, per project version), given that minimization is only occasionally applied when many new test cases are created (major releases). Results achieved for other budgets were consistent.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
季风气候完成签到 ,获得积分10
刚刚
旺旺大礼包完成签到,获得积分10
1秒前
4秒前
8秒前
科研通AI5应助无以渡清欢采纳,获得10
16秒前
入戏太深完成签到,获得积分10
17秒前
复杂冬亦完成签到,获得积分10
23秒前
科研通AI2S应助科研通管家采纳,获得10
27秒前
29秒前
HFT完成签到,获得积分10
30秒前
mumumuzzz发布了新的文献求助20
34秒前
诸葛藏藏完成签到 ,获得积分10
49秒前
小胡爱科研完成签到 ,获得积分10
49秒前
量子星尘发布了新的文献求助10
53秒前
53秒前
56秒前
1分钟前
WebCasa完成签到,获得积分10
1分钟前
MoonByMoon发布了新的文献求助10
1分钟前
1分钟前
MoonByMoon完成签到,获得积分10
1分钟前
欣喜的人龙完成签到 ,获得积分10
1分钟前
zzz完成签到,获得积分10
1分钟前
小六完成签到,获得积分10
1分钟前
1分钟前
谢生婷发布了新的文献求助10
1分钟前
烟花应助dede采纳,获得10
1分钟前
1分钟前
刘佳灏发布了新的文献求助10
1分钟前
1分钟前
刘佳灏完成签到,获得积分10
1分钟前
HY发布了新的文献求助10
1分钟前
723小师妹完成签到,获得积分20
1分钟前
FashionBoy应助723小师妹采纳,获得10
1分钟前
1分钟前
刘球球发布了新的文献求助10
2分钟前
打卡下班应助谢生婷采纳,获得10
2分钟前
浮生完成签到 ,获得积分10
2分钟前
彭于晏应助刘球球采纳,获得10
2分钟前
2分钟前
高分求助中
(禁止应助)【重要!!请各位详细阅读】【科研通的精品贴汇总】 10000
Semantics for Latin: An Introduction 1099
Biology of the Indian Stingless Bee: Tetragonula iridipennis Smith 1000
War and Peace in the Borderlands of Myanmar: The Kachin Ceasefire, 1994-2011 800
Robot-supported joining of reinforcement textiles with one-sided sewing heads 740
2024-2030年中国石英材料行业市场竞争现状及未来趋势研判报告 500
镇江南郊八公洞林区鸟类生态位研究 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 4142647
求助须知:如何正确求助?哪些是违规求助? 3678871
关于积分的说明 11627725
捐赠科研通 3372503
什么是DOI,文献DOI怎么找? 1852347
邀请新用户注册赠送积分活动 915150
科研通“疑难数据库(出版商)”最低求助积分说明 829672