On the effectiveness of mutation analysis as a black box testing technique

被引:21
|
作者
Murnane, T [1 ]
Reed, K [1 ]
机构
[1] TATE Associates, Carlton, Vic, Australia
关键词
D O I
10.1109/ASWEC.2001.948492
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The technique of mutation testing, in which the effectiveness of tests is determined by creating variants of a program in which statements are mutated, is well known. Whilst of considerable theoretical interest the technique requires costly tools and is computationally expensive. Very large numbers of 'mutants' can be generated for even simple programs. More recently it has been proposed that the concept be applied to specification based (black box) testing. The proposal is to generate test cases by systematically replacing data-items relevant to a particular part of a specification with a data-item relevant to another. If the specification is considered as generating a language that describes the set of valid inputs then the mutation process is intended to generate syntactically valid and invalid statements. Irrespective of their 'correctness' in terms of the specification, these can then be used to test a program in the usual (black box) manner. For this approach to have practical value it must produce test cases that would not be generated by other popular black box test generation approaches. This paper reports a case study involving the application of mutation based black box testing to two programs of different types. Test cases were also generated using equivalence class testing and boundary value testing approaches. The test cases from each method were examined to judge the overlap and to assess the value of the additional cases generated. It was found that less than 20% of the mutation test cases for a data-vetting program were generated by the other two methods, as against 75% for a statistical analysis program. This paper analyses these results and suggests classes of specifications for which mutation based test-case generation may be effective.
引用
收藏
页码:12 / 20
页数:9
相关论文
共 50 条
  • [41] Cracking Open the Black Box of Genetic Ancestry Testing
    Donovan, Joan
    Pasquetto, Irene
    Pierre, Jennifer
    PROCEEDINGS OF THE 51ST ANNUAL HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES (HICSS), 2018, : 1731 - 1740
  • [42] Black Box Work Extraction and Composite Hypothesis Testing
    Watanabe, Kaito
    Takagi, Ryuji
    PHYSICAL REVIEW LETTERS, 2024, 133 (25)
  • [43] A Black Box Tool for Robustness Testing of REST Services
    Laranjeiro, Nuno
    Agnelo, Joao
    Bernardino, Jorge
    IEEE ACCESS, 2021, 9 : 24738 - 24754
  • [44] Effective black-box testing with genetic algorithms
    Last, Mark
    Eyal, Shay
    Kandel, Abraham
    HARDWARE AND SOFTWARE VERIFICATION AND TESTING, 2006, 3875 : 134 - 148
  • [45] Black-Box Testing of Financial Virtual Assistants
    Itkin, Iosif
    Treshcheva, Elena
    Konnova, Luba
    Braslavski, Pavel
    Yavorskiy, Rostislav
    COMPANION OF THE 2020 IEEE 20TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY, AND SECURITY (QRS-C 2020), 2020, : 684 - 685
  • [46] Black-Box Testing of Deep Neural Networks
    Byun, Taejoon
    Rayadurgam, Sanjai
    Heimdahl, Mats P. E.
    2021 IEEE 32ND INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2021), 2021, : 309 - 320
  • [47] Black Box Fairness Testing of Machine Learning Models
    Aggarwal, Aniya
    Lohia, Pranay
    Nagar, Seema
    Dey, Kuntal
    Saha, Diptikalyan
    ESEC/FSE'2019: PROCEEDINGS OF THE 2019 27TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2019, : 625 - 635
  • [48] A stochastic theory of black-box software testing
    Meinke, Karl
    ALGEBRA, MEANING, AND COMPUTATION: ESSAYS DEDICATED TO JOSEPH A. GOGUEN ON THE OCCASION OF HIS 65TH BIRTHDAY, 2006, 4060 : 578 - 595
  • [49] Testing Framework for Black-box AI Models
    Aggarwal, Aniya
    Shaikh, Samiulla
    Hans, Sandeep
    Haldar, Swastik
    Ananthanarayanan, Rema
    Saha, Diptikalyan
    2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2021), 2021, : 81 - 84
  • [50] A Novel Black Box Approach For Component Adaptation Technique
    Jalender, B.
    Govardhan, A.
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2022, 22 (02): : 81 - 90