A unified framework for evaluating test criteria in model-checking-assisted test case generation

被引:1
作者
Zeng, Bolong [1 ]
Tan, Li [1 ]
机构
[1] Washington State Univ, Sch Elect Engn & Comp Sci, Richland, WA 99352 USA
关键词
Test case generation; Model checking; Performance evaluation; Test criteria;
D O I
10.1007/s10796-013-9424-y
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Testing is often cited as one of the most costly operations in testing dependable systems (Heimdahl et al. 2001). A particular challenging task in testing is test-case generation. To improve the efficiency of test-case generation and reduce its cost, recently automated formal verification techniques such as model checking are extended to automate test-case generation processes. In model-checking-assisted test-case generation, a test criterion is formulated as temporal logical formulae, which are used by a model checker to generate test cases satisfying the test criterion. Traditional test criteria such as branch coverage criterion and newer temporal-logic-inspired criteria such as property coverage criteria (Tan et al. 2004) are used with model-checking-assisted test generation. Two key questions in model-checking-assisted test generation are how efficiently a model checker may generate test suites for these criteria and how effective these test suites are. To answer these questions, we developed a unified framework for evaluating (1) the effectiveness of the test criteria used with model-checking-assisted test-case generation and (2) the efficiency of test-case generation for these criteria. The benefits of this work are three-fold: first, the computational study carried out in this work provides some measurements of the effectiveness and efficiency of various test criteria used with model-checking-assisted test case generation. These performance measurements are important factors to consider when a practitioner selects appropriate test criteria for an application of model-checking-assisted test generation. Second, we propose a unified test generation framework based on generalized Buchi automata. The framework uses the same model checker, in this case, SPIN model checker (Holzmann 1997), to generate test cases for different criteria and compare them on a consistent basis. Last but not least, we describe in great details the methodology and automated test generation environment that we developed on the basis of our unified framework. Such details would be of interest to researchers and practitioners who want to use and extend this unified framework and its accompanying tools.
引用
收藏
页码:823 / 834
页数:12
相关论文
共 31 条
  • [1] Using model checking to generate tests from specifications
    Ammann, PE
    Black, PE
    Majurski, W
    [J]. SECOND INTERNATIONAL CONFERENCE ON FORMAL ENGINEERING METHODS, PROCEEDINGS, 1998, : 46 - 54
  • [2] [Anonymous], LOG PROGR WORKSH
  • [3] [Anonymous], 1992, SOFTW CONS AIRB SYST
  • [4] Beer I., 1997, P 9 INT C COMP AID V
  • [5] Generating tests from counterexamples
    Beyer, D
    Chlipala, AJ
    Henzinger, TA
    Jhala, R
    Majumdar, R
    [J]. ICSE 2004: 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2004, : 326 - 335
  • [6] Tree-like counterexamples in model checking
    Clarke, E
    Jha, S
    Lu, Y
    Veith, H
    [J]. 17TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2002, : 19 - 29
  • [7] Clarke E. M., 1995, P 32 ANN ACM IEEE DE
  • [8] Clarke EM, 1999, MODEL CHECKING, P1
  • [9] Engels A., 1997, P 3 INT WORKSH TOOLS
  • [10] Fraser G., 2009, P 2009 INT C SOFTW T