An Interleaving Guided Metamorphic Testing Approach for Concurrent Programs

计算机科学 甲骨文公司 白盒测试 并发 程序设计语言 软件工程 软件 软件开发 软件建设
作者
Chang‐ai Sun,Hepeng Dai,Ning Geng,Huai Liu,Tsong Yueh Chen,Peng Wu,Yan Cai,Jinqiu Wang
出处
期刊:ACM Transactions on Software Engineering and Methodology [Association for Computing Machinery]
卷期号:33 (1): 1-21 被引量:6
标识
DOI:10.1145/3607182
摘要

Concurrent programs are normally composed of multiple concurrent threads sharing memory space. These threads are often interleaved, which may lead to some non-determinism in execution results, even for the same program input. This poses huge challenges to the testing of concurrent programs, especially on the test result verification—that is, the prevalent existence of the oracle problem. In this article, we investigate the application of metamorphic testing (MT), a mainstream technique to address the oracle problem, into the testing of concurrent programs. Based on the unique features of interleaved executions in concurrent programming, we propose an extended notion of metamorphic relations, the core part of MT, which are particularly designed for the testing of concurrent programs. A comprehensive testing approach, namely ConMT , is thus developed and a tool is built to automate its implementation on concurrent programs written in Java. Empirical studies have been conducted to evaluate the performance of ConMT, and the experimental results show that in addition to addressing the oracle problem, ConMT outperforms the baseline traditional testing techniques with respect to a higher degree of automation, better bug detection capability, and shorter testing time. It is clear that ConMT can significantly improve the cost-effectiveness for the testing of concurrent programs and thus advances the state of the art in the field. The study also brings novelty into MT, hence promoting the fundamental research of software testing.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
badboyzm发布了新的文献求助10
1秒前
赘婿应助111222333采纳,获得10
2秒前
2秒前
大力凡波完成签到,获得积分10
2秒前
Mrwang完成签到,获得积分10
3秒前
Nikki完成签到,获得积分10
3秒前
Hello应助wujin采纳,获得10
4秒前
4秒前
Akim应助科研通管家采纳,获得10
4秒前
汉堡包应助科研通管家采纳,获得20
5秒前
852应助科研通管家采纳,获得10
5秒前
共享精神应助科研通管家采纳,获得10
5秒前
斯文败类应助科研通管家采纳,获得10
5秒前
李健应助科研通管家采纳,获得10
5秒前
5秒前
复杂曼荷完成签到,获得积分10
6秒前
Nole应助科研通管家采纳,获得20
6秒前
脑洞疼应助科研通管家采纳,获得10
6秒前
东方元语应助科研通管家采纳,获得20
6秒前
6秒前
汉堡包应助科研通管家采纳,获得10
6秒前
Nole应助科研通管家采纳,获得10
6秒前
Orange应助科研通管家采纳,获得10
6秒前
深情安青应助科研通管家采纳,获得10
7秒前
walker007完成签到,获得积分10
7秒前
orixero应助七月不远采纳,获得10
8秒前
Cheney发布了新的文献求助10
11秒前
完美世界应助不易采纳,获得10
11秒前
chen完成签到,获得积分10
12秒前
15秒前
希望天下0贩的0应助badboyzm采纳,获得10
16秒前
酷酷的山雁完成签到,获得积分10
18秒前
19秒前
领导范儿应助上岸采纳,获得10
19秒前
上官若男应助1233445采纳,获得10
19秒前
Hope完成签到,获得积分20
19秒前
babo完成签到,获得积分10
21秒前
21秒前
柏梦岚发布了新的文献求助10
21秒前
22秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Reducing Compassion Fatigue, Secondary Traumatic Stress and Burnout 600
Comparative Elite Sport Development Systems, Structures and Public Policy 600
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Auslegungsgeschichte 500
Cosmos as Art Object: Studies in Plato's Timaeus and Other Dialogues 500
What is the Future of Psychotherapy in Digital Age? Technology, AI Bots, and Psychotherapy after Covid 444
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7637743
求助须知:如何正确求助?哪些是违规求助? 9211300
关于积分的说明 19758409
捐赠科研通 7204937
什么是DOI,文献DOI怎么找? 3275767
关于科研通互助平台的介绍 2437385
邀请新用户注册赠送积分活动 2272928