Augmenting automatically generated unit-test suites with regression oracle checking

测试套件 计算机科学 甲骨文公司 回归检验 测试线束 测试管理方法 测试用例 测试脚本 可执行文件 单元测试 考试(生物学) 程序设计语言 正确性 关键字驱动测试 机器学习 软件 回归分析 软件系统 古生物学 软件建设 生物
作者
Tao Xie
摘要

Abstract. A test case consists of two parts: a test input to exercise the program under test and a test oracle to check the correctness of the test execution. A test oracle is often in the form of executable assertions such as in the JUnit testing framework. Manually generated test cases are valuable in exposing program faults in the current program version or regression faults in future program versions. However, manually generated test cases are often insufficient for assuring high software quality. We can then use an existing test-generation tool to generate new test inputs to augment the existing test suite. However, without specifications these automatically generated test inputs often do not have test oracles for exposing faults. In this paper, we have developed an automatic approach and its supporting tool, called Orstra, for augmenting an automatically generated unit-test suite with regression oracle checking. The augmented test suite has an improved capability of guarding against regression faults. In our new approach, Orstra first executes the test suite and collects the class under test’s object states exercised by the test suite. On collected object states, Orstra creates assertions for asserting behavior of the object states. On executed observer methods (public methods with non-void returns), Orstra also creates assertions for asserting their return values. Then later when the class is changed, the augmented test suite is executed to check whether assertion violations are reported. We have evaluated Orstra on augmenting automatically generated tests for eleven subjects taken from a variety of sources. The experimental results show that an automatically generated test suite’s fault-detection capability can be effectively improved after being augmented by Orstra. 1

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
刚刚
立仔完成签到 ,获得积分10
刚刚
喜悦完成签到,获得积分20
1秒前
1秒前
清清完成签到,获得积分10
1秒前
ya完成签到,获得积分10
1秒前
Yx完成签到 ,获得积分10
2秒前
流沙完成签到,获得积分10
2秒前
hustzwqq完成签到,获得积分10
3秒前
han发布了新的文献求助10
3秒前
3秒前
ssh完成签到,获得积分10
3秒前
waddles完成签到,获得积分10
3秒前
山鬼发布了新的文献求助30
3秒前
4秒前
wml应助关关难过关关过采纳,获得10
4秒前
量子星尘发布了新的文献求助150
4秒前
5秒前
Five完成签到,获得积分10
5秒前
5秒前
凌尘完成签到 ,获得积分10
6秒前
黄柯钦完成签到,获得积分20
6秒前
6秒前
机灵安白完成签到,获得积分10
6秒前
6秒前
1a发布了新的文献求助30
7秒前
星辰大海应助yuki采纳,获得10
7秒前
7秒前
giao发布了新的文献求助10
7秒前
7秒前
背影完成签到 ,获得积分10
7秒前
现代的可乐完成签到,获得积分10
8秒前
bibi完成签到,获得积分10
8秒前
8秒前
value完成签到,获得积分10
8秒前
zero完成签到,获得积分10
9秒前
浮游应助xiegusui采纳,获得10
9秒前
9秒前
李爱国应助渡星河采纳,获得10
10秒前
高分求助中
Comprehensive Toxicology Fourth Edition 2026 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Target genes for RNAi in pest control: A comprehensive overview 600
The Social Work Ethics Casebook(2nd,Frederic G. R) 600
Master Curve-Auswertungen und Untersuchung des Größeneffekts für C(T)-Proben - aktuelle Erkenntnisse zur Untersuchung des Master Curve Konzepts für ferritisches Gusseisen mit Kugelgraphit bei dynamischer Beanspruchung (Projekt MCGUSS) 500
Design and Development of A CMOS Integrated Multimodal Sensor System with Carbon Nano-electrodes for Biosensor Applications 500
A novel angiographic index for predicting the efficacy of drug-coated balloons in small vessels 500
热门求助领域 (近24小时)
化学 医学 生物 材料科学 工程类 有机化学 内科学 生物化学 物理 计算机科学 纳米技术 遗传学 基因 复合材料 化学工程 物理化学 病理 催化作用 免疫学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 5107539
求助须知:如何正确求助?哪些是违规求助? 4316890
关于积分的说明 13448771
捐赠科研通 4146047
什么是DOI,文献DOI怎么找? 2272001
邀请新用户注册赠送积分活动 1274343
关于科研通互助平台的介绍 1212187