arrow
Return

Path-directed source test case generation and prioritization in metamorphic testing

delete2022-01-01
delete20
PRE
AI
孙
孙昌爱 (Chang‐ai Sun) *
B
Baoli Liu
A
An Fu
Y
Yiqiang Liu
H
Huai Liu
DOI:10.1016/j.jss.2021.111091delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Metamorphic testing is a technique that makes use of some necessary properties of the software under test, termed as metamorphic relations, to construct new test cases, namely follow-up test cases, based on some existing test cases, namely source test cases. Due to the ability of verifying testing results without the need of test oracles, it has been widely used in many application domains and detected lots of real-life faults. Numerous investigations have been conducted to further improve the effectiveness of metamorphic testing, most of which were focused on the identification and selection of goodmetamorphic relations. Recently, a few studies emerged on the research direction of how to generate and select source test cases that are effective in fault detection. In this paper, we propose a novel approach to generating source test cases based on their associated path constraints, which are obtained through symbolic execution. The path distance among test cases is leveraged to guide the prioritization of source test cases, which further improve the efficiency. A tool has been developed to automate the proposed approach as much as possible. Empirical studies have also been conducted to evaluate the fault-detection effectiveness of the approach. The results show that this approach enhances both the performance and automation of metamorphic testing. It also highlights interesting research directions for further improving metamorphic testing. (c) 2021 Elsevier Inc. All rights reserved.
Keywords:
Metamorphic testing
Source test case
Symbolic execution
Path constraint

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.5K
Citations:
8.4K

Organization

S
Swinburne University of Technology
Scholars:
9.3K
Papers: 1.2W
Citations: 2.0W
Cited Papers

Cited Papers

Electrospun Borneol‐PVP Nanocomposites
err2012-05-14
err0
errOAAI
errXiao-Yan Li; Xia Wang; Deng-Guang Yu; Shuai Ye; Qi-Kun Kuang; Qing-Wen Yi; Xin-Zhe Yao
errShare
errSave
Geopolitics and discourse
err1992-03-01
err0
PREAI
errGearóid Ó Tuathail; John Agnew
errShare
errSave
Testing and validating machine learning classifiers by metamorphic testing
err2011-04-01
err251
errOAAI
errXie, Xiaoyuan; Ho, Joshua W. K.; Murphy, Christian; Kaiser, Gail; Xu, Baowen; Chen, Tsong Yueh
errShare
errSave
Prioritizing test cases for regression testing
err2001-10-01
err828
PREAI
errRothermel, G; Untch, RH; Harrold, MJ
errShare
errSave
A review of methods for mitigating ionospheric artifacts in differential SAR interferometry
err2022-03-01
err0
errOAAI
errBochen Zhang; Wu Zhu; Xiaoli Ding; Chisheng Wang; Songbo Wu; Qin Zhang
errShare
errSave
Metamorphic Testing of RESTful Web APIs
err2018-11-01
err98
errOAAI
errSegura, Sergio; Parejo, Jose A.; Troya, Javier; Ruiz-Cortes, Antonio
errShare
errSave
errShare
errSave
Adaptive Partition Testing
err2019-02-01
err16
PREAI
errSun, Chang-Ai; Dai, Hepeng; Liu, Huai; Chen, Tsong Yueh; Cai, Kai-Yuan
errShare
errSave
researcher View more