Identifying the Failure-Revealing Test Cases in Metamorphic Testing: A Statistical Approach

计算机科学 考试(生物学) 软件测试 可靠性工程 程序设计语言 软件 地质学 工程类 古生物学
作者
Zheng Zheng,Daixu Ren,Huai Liu,Tsong Yueh Chen,T. T. Li
出处
期刊:ACM Transactions on Software Engineering and Methodology [Association for Computing Machinery]
被引量:1
标识
DOI:10.1145/3695990
摘要

Metamorphic testing, thanks to its high failure-detection effectiveness especially in the absence of test oracle, has been widely applied in both the traditional context of software testing and other relevant fields such as fault localization and program repair. Its core element is a set of metamorphic relations, which are the necessary properties of the target algorithm in the form of the relationships among multiple inputs and corresponding expected outputs. When a relation is violated by the outputs of a group of test cases, namely metamorphic group of test cases, that are constructed based on the relation, a failure is said to be revealed. Traditionally, the primary task of software testing is to reveal failures. Therefore, from the perspective of software testing, it may not need to know which test case(s) in the metamorphic group cause the violation and thus the failure. However, such information is definitely helpful for other software engineering activities, such as software debugging. The current literature of metamorphic testing lacks a systematic mechanism of identifying the actual failure-revealing test cases, which hinders its applicability and effectiveness in other relevant fields. In this paper, we propose a new technique for the FAILure-revealing Test case Identification in Metamorphic testing, namely FAILTIM. The approach is based on a novel application of statistical methods. More specifically, we leverage and adapt the basic ideas of spectrum-based techniques, which are originally used in fault localization, and propose the utilization of a set of risk formulas to estimate the suspiciousness of each individual test case in metamorphic groups. Failure-revealing test cases are then suggested according to their suspiciousness. A series of experiments have been conducted to evaluate the effectiveness and efficiency of FAILTIM using nine subject programs and 30 risk formulas. The experimental results showed that the new approach can achieve a high accuracy in identifying the actual failure-revealing test cases in metamorphic testing. Consequently, our study will help boost the applicability and performance of metamorphic testing beyond testing to other software engineering areas. The present work also unfolds a number of research directions for further advancing the theory of metamorphic testing and more broadly, software testing.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
5秒前
6秒前
爱笑麦丽素完成签到 ,获得积分10
6秒前
科研通AI6.2应助xzj采纳,获得10
7秒前
spoon文完成签到 ,获得积分10
7秒前
欢喜的戎完成签到 ,获得积分10
8秒前
哈哈发布了新的文献求助10
8秒前
文静达完成签到,获得积分10
9秒前
小蘑菇应助sywww采纳,获得10
9秒前
9秒前
友好的凌波完成签到,获得积分10
10秒前
10秒前
深情安青应助追寻采纳,获得10
13秒前
egfuy完成签到,获得积分10
15秒前
molihuakai应助abc采纳,获得10
16秒前
16秒前
手打鱼丸完成签到 ,获得积分10
17秒前
海絮关注了科研通微信公众号
18秒前
19秒前
20秒前
爆米花应助1234采纳,获得10
22秒前
22秒前
24秒前
26秒前
iq_lv完成签到,获得积分10
27秒前
973382868发布了新的文献求助10
28秒前
28秒前
28秒前
烟花应助踏实的土豆采纳,获得10
28秒前
29秒前
29秒前
30秒前
王甜甜完成签到,获得积分20
30秒前
30秒前
31秒前
31秒前
egfuy发布了新的文献求助10
32秒前
32秒前
33秒前
高分求助中
Clinical Epidemiology: The Essentials, 6e 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Graphene Handbook (2019 Edition) 800
Adhesion Science: Principles & Practice 800
Signals, Systems, and Signal Processing 610
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 600
The Immune System (Fifth Edition) 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6567788
求助须知:如何正确求助?哪些是违规求助? 8347557
关于积分的说明 17884843
捐赠科研通 5694371
什么是DOI,文献DOI怎么找? 2943911
邀请新用户注册赠送积分活动 1919816
关于科研通互助平台的介绍 1795530