Mutation-Based Test-Case Generation with Ecdar

被引:13
|
作者
Larsen, Kim G. [1 ]
Lorber, Florian [1 ]
Nielsen, Brian [1 ]
Nyman, Ulrik M. [1 ]
机构
[1] Aalborg Univ, Dept Comp Sci, Aalborg, Denmark
关键词
D O I
10.1109/ICSTW.2017.60
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Model-based testing is a well-known technique for automating the otherwise tedious process of testing. Test cases are automatically created from a formal model, according to some test criterion which determines when the test suite is complete. In model-based mutation testing, the test criterion is defined via faulty models, called mutants, which are used to create test cases that specifically target the modeled faults. To be able to reveal timing related faults, timed automata can be used as the test model. While model-based mutation testing has already been applied to timed automata, we show how to implement the technique more efficiently with the tool Ecdar, which belongs to the well-known UPPAAL tool family. The tool is used to perform an unbounded conformance check between the correct specification and the mutants, based on a notion of timed refinement. If a mutant does not refine the specification, Ecdar creates a strategy for reaching the non-conformance, which can be used as an adaptive test case. We applied the procedure to the timed automata model of a car alarm system, which was used in the previous approach of model-based mutation testing for timed automata, and compare the two approaches based on the results.
引用
收藏
页码:319 / 328
页数:10
相关论文
共 50 条
  • [1] Mutation-based Test-Case Prioritization in Software Evolution
    Lou, Yiling
    Hao, Dan
    Zhang, Lu
    [J]. 2015 IEEE 26TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE), 2015, : 46 - 57
  • [2] Test Case Generation for Mutation-based Testing of Timeliness
    Nilsson, Robert
    Offutt, Jeff
    Mellin, Jonas
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 164 (04) : 97 - 114
  • [3] Mutation-Based Test Case Generation for Simulink Models
    Brillout, Angelo
    He, Nannan
    Mazzucchi, Michele
    Kroening, Daniel
    Purandare, Mitra
    Ruemmer, Philipp
    Weissenbacher, Georg
    [J]. FORMAL METHODS FOR COMPONENTS AND OBJECTS, 2010, 6286 : 208 - +
  • [4] Mutation-Based Generation of Software Product Line Test Configurations
    Henard, Christopher
    Papadakis, Mike
    Le Traon, Yves
    [J]. SEARCH-BASED SOFTWARE ENGINEERING, 2014, 8636 : 92 - 106
  • [5] Achieving scalable mutation-based generation of whole test suites
    Fraser, Gordon
    Arcuri, Andrea
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2015, 20 (03) : 783 - 812
  • [6] Mutation-Based Minimal Test Suite Generation for Boolean Expressions
    Ayav, Tolga
    Belli, Fevzi
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2023, 33 (06) : 865 - 884
  • [7] Technology of test-case generation
    Lúcio, L
    Samer, M
    [J]. MODEL-BASED TESTING OF REACTIVE SYSTEMS, 2005, 3472 : 323 - 354
  • [8] Achieving scalable mutation-based generation of whole test suites
    Gordon Fraser
    Andrea Arcuri
    [J]. Empirical Software Engineering, 2015, 20 : 783 - 812
  • [9] TEST-CASE GENERATION WITH IOGEN
    LINDQUIST, TE
    JENKINS, JR
    [J]. IEEE SOFTWARE, 1988, 5 (01) : 72 - 79
  • [10] Automatic Test-Case Generation
    Machado, Patricia
    Sampaio, Augusto
    [J]. TESTING TECHNIQUES IN SOFTWARE ENGINEERING, 2010, 6153 : 59 - +