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 条
  • [31] Examining the Landscape of Semantic Similarity based Mutation
    Nguyen Quang Uy
    Nguyen Xuan Hoai
    O'Neill, Michael
    GECCO-2011: PROCEEDINGS OF THE 13TH ANNUAL GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, 2011, : 1363 - 1370
  • [32] Using Semantic Metrics to Predict Mutation Equivalence
    Ayad, Amani
    Marsit, Imen
    Omri, Nazih Mohamed
    Loh, JiMeng
    Mili, Ali
    SOFTWARE TECHNOLOGIES, ICSOFT 2018, 2019, 1077 : 3 - 27
  • [33] Special section on Mutation testing (Mutation 2010) Preface
    du Bousquet, Lydie
    Bradbury, Jeremy S.
    Fraser, Gordon
    SCIENCE OF COMPUTER PROGRAMMING, 2013, 78 (04) : 343 - 344
  • [34] Testing the Quality of a Semantic Web Database
    Necula, Sabina-Cristiana
    INNOVATION VISION 2020: SUSTAINABLE GROWTH, ENTREPRENEURSHIP, AND ECONOMIC DEVELOPMENT, VOLS 1-4, 2012, : 1175 - 1179
  • [35] Testing an associative account of semantic satiation
    Tian, Xing
    Huber, David E.
    COGNITIVE PSYCHOLOGY, 2010, 60 (04) : 267 - 290
  • [36] Contextual Predictive Mutation Testing
    Jain, Kush
    Alon, Uri
    Groce, Alex
    Le Goues, Claire
    PROCEEDINGS OF THE 31ST ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2023, 2023, : 250 - 261
  • [37] Mutation Testing for Physical Computing
    Zhu, Qianqian
    Zaidman, Andy
    2018 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2018), 2018, : 289 - 300
  • [38] Fuzzing for CPS Mutation Testing
    Lee, Jaekwon
    Vigano, Enrico
    Cornejo, Oscar
    Pastore, Fabrizio
    Briand, Lionel
    2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE, 2023, : 1377 - 1389
  • [39] Towards Incremental Mutation Testing
    Cachia, Mark Anthony
    Micallef, Mark
    Colombo, Christian
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2013, 294 : 2 - 11
  • [40] CHROMOSOME METHODOLOGIES IN MUTATION TESTING
    不详
    TOXICOLOGY AND APPLIED PHARMACOLOGY, 1972, 22 (02) : 269 - &