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 条
  • [21] Information gain of black-box testing
    Yang, Linmin
    Dang, Zhe
    Fischer, Thomas R.
    FORMAL ASPECTS OF COMPUTING, 2011, 23 (04) : 513 - 539
  • [22] Using Control Flow Analysis to Improve the Effectiveness of Incremental Mutation Testing
    Bajada, Luke
    Micallef, Mark
    Colombo, Christian
    14TH INTERNATIONAL WORKSHOP ON PRINCIPLES OF SOFTWARE EVOLUTION (IWPSE 2015), 2015, : 73 - 78
  • [23] A note on an anomaly in black-box testing
    Huima, Antti
    FORMAL APPROACHES TO SOFTWARE TESTING, 2006, 3997 : 47 - 61
  • [24] Test suite completeness and black box testing
    Bonifacio, Adilson Luiz
    Moura, Arnaldo Vieira
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2017, 27 (1-2): : 1 - 2
  • [25] Towards Black Box Testing of Android Apps
    Zhauniarovich, Yury
    Philippov, Anton
    Gadyatskaya, Olga
    Crispo, Bruno
    Massacci, Fabio
    PROCEEDINGS 10TH INTERNATIONAL CONFERENCE ON AVAILABILITY, RELIABILITY AND SECURITY ARES 2015, 2015, : 501 - 510
  • [26] Test case prioritization for black box testing
    Qu, Bo
    Nie, Changhai
    Xu, Baowen
    Zhang, Xiaofang
    COMPSAC 2007: THE THIRTY-FIRST ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOL I, PROCEEDINGS, 2007, : 465 - +
  • [27] Research of the Comparison on the Black Box Testing Methods
    Liu, Shugang
    Cui, Kebin
    Wu, Yuqi
    PROCEEDINGS OF 2009 INTERNATIONAL CONFERENCE ON INFORMATION, ELECTRONIC AND COMPUTER SCIENCE, VOLS I AND II, 2009, : 651 - 654
  • [28] Reusing Black Box Test Paths For White Box Testing of Websites
    Chopra, Rajiv
    Madan, Sushila
    PROCEEDINGS OF THE 2013 3RD IEEE INTERNATIONAL ADVANCE COMPUTING CONFERENCE (IACC), 2013, : 1345 - 1350
  • [29] From mutation to clinical presentation: Mechanisms in the black box
    Zhu, ZI
    Clancy, CE
    JOURNAL OF MOLECULAR AND CELLULAR CARDIOLOGY, 2005, 38 (06) : 965 - 968
  • [30] Direct-Indirect Link Matrix: A Black Box Testing Technique for Component-Based Software
    Rawat, Saurabh
    Kumar, Rajesh
    INTERNATIONAL JOURNAL OF INFORMATION TECHNOLOGY PROJECT MANAGEMENT, 2020, 11 (04) : 56 - 69