Semantic mutation testing

被引:15
|
作者
Clark, John A. [1 ]
Dan, Haitao [2 ]
Hierons, Robert M. [2 ]
机构
[1] Univ York, Dept Comp Sci, York YO10 5GH, N Yorkshire, England
[2] Brunel Univ, Sch Informat Syst Comp & Math, Uxbridge UB8 3PH, Middx, England
基金
英国工程与自然科学研究理事会;
关键词
Mutation testing; Semantics; Misunderstandings;
D O I
10.1016/j.scico.2011.03.011
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Mutation testing is a powerful and flexible test technique. Traditional mutation testing makes a small change to the syntax of a description (usually a program) in order to create a mutant. A test suite is considered to be good if it distinguishes between the original description and all of the (functionally non-equivalent) mutants. These mutants can be seen as representing potential small slips and thus mutation testing aims to produce a test suite that is good at finding such slips. It has also been argued that a test suite that finds such small changes is likely to find larger changes. This paper describes a new approach to mutation testing, called semantic mutation testing. Rather than mutate the description, semantic mutation testing mutates the semantics of the language in which the description is written. The mutations of the semantics of the language represent possible misunderstandings of the description language and thus capture a different class of faults. Since the likely misunderstandings are highly context dependent, this context should be used to determine which semantic mutants should be produced. The approach is illustrated through examples with statecharts and C code. The paper also describes a semantic mutation testing tool for C and the results of experiments that investigated the nature of some semantic mutation operators for C. (C) 2011 Elsevier B.V. All rights reserved.
引用
收藏
页码:345 / 363
页数:19
相关论文
共 50 条
  • [1] Semantic Mutation Testing for Multi-agent Systems
    Huang, Zhan
    Alexander, Rob
    ENGINEERING MULTI-AGENT SYSTEMS, EMAS 2015, 2015, 9318 : 131 - 152
  • [2] Reducing the Cost of Mutation Testing using the Semantic Size of Mutant
    Sousa, Leonardo da S.
    Vincenzi, Auri M. R.
    Delamaro, Marcio Eduardo
    Vieira, Igor R.
    de Mendonca, Vinicius R. L.
    Rodrigues, Cassio L.
    2018 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2018, : 2675 - 2680
  • [3] Concurrent Program Semantic Mutation Testing Based on Abstract Memory Model
    Cao, Lixin
    Zheng, Wei
    Hu, Desheng
    Bai, Han
    2015 IEEE INTERNATIONAL CONFERENCE ON INFORMATION AND AUTOMATION, 2015, : 1200 - 1205
  • [4] Measuring component specification-implementation concordance with semantic mutation testing
    Department of Electrical Engineering and Computer Science, Syracuse University, Syracuse, NY 13244, United States
    Proc. ISCA Int. Conf. Comput. Their Appl., CATA, 1600, (102-107):
  • [5] Syntactic Versus Semantic Similarity of Artificial and Real Faults in Mutation Testing Studies
    Ojdanic, Milos
    Garg, Aayush
    Khanfir, Ahmed
    Degiovanni, Renzo
    Papadakis, Mike
    Le Traon, Yves
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (07) : 3922 - 3938
  • [6] Problems of Mutation Testing and Higher Order Mutation Testing
    Quang Vu Nguyen
    Madeyski, Lech
    ADVANCED COMPUTATIONAL METHODS FOR KNOWLEDGE ENGINEERING, 2014, 282 : 157 - 172
  • [7] Mutation Testing
    Reales, Pedro
    Polo, Macario
    Luis Fernandez-Aleman, Jose
    Toval, Ambrosio
    Piattini, Mario
    IEEE SOFTWARE, 2014, 31 (03) : 30 - 35
  • [8] Extended Firm Mutation Testing: A Cost Reduction Technique for Mutation Testing
    Singh, Mayank
    Srivastava, Viranjay M.
    2017 FOURTH INTERNATIONAL CONFERENCE ON IMAGE INFORMATION PROCESSING (ICIIP), 2017, : 604 - 609
  • [9] Mutation Testing Approach to Negative Testing
    Strug, Joanna
    JOURNAL OF ENGINEERING, 2016, 2016
  • [10] Semantic Mutation Test to OWL Ontologies
    Porn, Alex Mateus
    Peres, Leticia Mara
    ICEIS: PROCEEDINGS OF THE 19TH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS - VOL 2, 2017, : 434 - 441