Feedback-Directed Metamorphic Testing

被引:1
|
作者
Sun, Chang-Ai [1 ]
Dai, Hepeng [1 ]
Liu, Huai [2 ]
Chen, Tsong Yueh [2 ]
机构
[1] Univ Sci & Technol Beijing, 30 Xueyuan Rd, Beijing 100083, Peoples R China
[2] Swinburne Univ Technol, John St, Hawthorn, Vic 3122, Australia
基金
北京市自然科学基金; 中国国家自然科学基金; 澳大利亚研究理事会;
关键词
Metamorphic testing; metamorphic relation; test execution; feedback control; random testing; adaptive partition testing; PARTITION;
D O I
10.1145/3533314
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Over the past decade, metamorphic testing has gained rapidly increasing attention from both academia and industry, particularly thanks to its high efficacy on revealing real-life software faults in a wide variety of application domains. On the basis of a set of metamorphic relations among multiple software inputs and their expected outputs, metamorphic testing not only provides a test case generation strategy by constructing new (or follow-up) test cases from some original (or source) test cases, but also a test result verificationmechanism through checking the relationship between the outputs of source and follow-up test cases. Many efforts have been made to further improve the cost-effectiveness ofmetamorphic testing from different perspectives. Some studies attempted to identify "good" metamorphic relations, while other studies were focused on applying effective test case generation strategies especially for source test cases. In this article, we propose improving the cost-effectiveness of metamorphic testing by leveraging the feedback information obtained in the test execution process. Consequently, we develop a new approach, namely feedback-directed metamorphic testing, which makes use of test execution information to dynamically adjust the selection of metamorphic relations and selection of source test cases. We conduct an empirical study to evaluate the proposed approach based on four laboratory programs, one GNU program, and one industry program. The empirical results show that feedback-directed metamorphic testing can use fewer test cases and take less time than the traditional metamorphic testing for detecting the same number of faults. It is clearly demonstrated that the use of feedback information about test execution does help enhance the cost-effectiveness of metamorphic testing. Our work provides a new perspective to improve the efficacy and applicability of metamorphic testing as well as many other software testing techniques.
引用
收藏
页数:34
相关论文
共 50 条
  • [21] Hybrid malware detection approach with feedback-directed machine learning
    Zhetao LI
    Wenlin LI
    Fuyuan LIN
    Yi SUN
    Min YANG
    Yuan ZHANG
    Zhibo WANG
    [J]. Science China(Information Sciences), 2020, 63 (03) : 240 - 242
  • [22] A Feedback-Directed Approach to Crawl Android Apps for Increasing Code Coverage
    Chen, Shu-ling
    Liu, Chien-hung
    Xiao, Wen-quan
    [J]. JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2023, 39 (05) : 1129 - 1153
  • [23] AutoFDO: Automatic Feedback-Directed Optimization for Warehouse-Scale Applications
    Chen, Dehao
    Li, David Xinliang
    Moseley, Tipp
    [J]. PROCEEDINGS OF CGO 2016: THE 14TH INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, 2016, : 12 - 23
  • [24] Throughput analysis of feedback-directed adaptive MIMO-OFDM systems
    Chiu, Fu-Hsuan
    Hong, Yao-Win
    Kuo, C. -C. Jay
    [J]. 2007 IEEE WIRELESS COMMUNICATIONS & NETWORKING CONFERENCE, VOLS 1-9, 2007, : 831 - +
  • [25] A feedback-directed method of evolutionary test data generation for parallel programs
    Gong, Dunwei
    Pan, Feng
    Tian, Tian
    Yang, Su
    Meng, Fanlin
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2020, 124
  • [26] Automatic Feedback-Directed Object Inlining in the Java']Java HotSpot™ Virtual Machine
    Wimmer, Christian
    Moessenboeck, Hanspeter
    [J]. VEE'07: PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE ON VIRTUAL EXECUTION ENVIRONMENTS, 2007, : 12 - 21
  • [27] Feedback-directed page placement for ccNUMA via hardware-generated memory traces
    Marathe, Jaydeep
    Thakkar, Vivek
    Mueller, Frank
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2010, 70 (12) : 1204 - 1219
  • [28] JIT Technology with C/C++: Feedback-Directed Dynamic Recompilation for Statically Compiled Languages
    Nuzman, Dorit
    Eres, Revital
    Dyshel, Sergei
    Zalamanovici, Marcel
    Castanos, Jose
    [J]. ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2013, 10 (04)
  • [29] Feedback-Directed Unit Test Generation for C/C plus plus using Concolic Execution
    Garg, Pranav
    Ivancic, Franjo
    Balakrishnan, Gogul
    Maeda, Naoto
    Gupta, Aarti
    [J]. PROCEEDINGS OF THE 35TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2013), 2013, : 132 - 141
  • [30] Search-Based Software Test Data Generation for Path Coverage Based on a Feedback-Directed Mechanism
    Semujju, Stuart Dereck
    Huang, Han
    Liu, Fangqing
    Xiang, Yi
    Hao, Zhifeng
    [J]. Complex System Modeling and Simulation, 2023, 3 (01): : 12 - 31