Controlling test case explosion in test generation from B formal models

被引:12
|
作者
Legeard, B
Peureux, F
Utting, M
机构
[1] Univ Franche Comte, CNRS, INRIA, Lab Informat, F-25030 Besancon, France
[2] Univ Waikato, Dept Comp Sci, Hamilton, New Zealand
来源
SOFTWARE TESTING VERIFICATION & RELIABILITY | 2004年 / 14卷 / 02期
关键词
model-based testing; boundary values; set constraint solving; B notation;
D O I
10.1002/stvr.287
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
BZ-TESTING-TOOLS (BZ-TT) is a tool set for automated test case generation from B and Z specifications. BZ-TT uses boundary and cause-effect testing on the basis of the formal model. It has been used and validated on several industrial applications in the domain of critical software, particularly smart card and transport systems. This paper presents the test coverage criteria supported by BZ-TT. On the one hand, these correspond to various classical structural coverage criteria, but specialized to the case of B abstract machines. The paper gives algorithms for these in Prolog. On the other hand, BZ-TT introduces new coverage criteria for complex data structures, based on boundary analysis: this paper defines weak and strong state-boundary coverage, input-boundary coverage and output-boundary coverage. Finally, the paper describes how BZ-TT presents a unified view of these criteria to the validation engineer, and allows him or her to control the test case explosion on a coarse basis (choosing from a range of coverage criteria) as well as a fine basis (selecting options for each state or input variable). Copyright (C) 2004 John Wiley Sons, Ltd.
引用
收藏
页码:81 / 103
页数:23
相关论文
共 50 条
  • [1] Formal test generation from UML models
    Buchs, Didier
    Pedro, Luis
    Lucio, Levi
    DEPENDABLE SYSTEMS: SOFTWARE, COMPUTING, NETWORKS, 2006, 4028 : 145 - 171
  • [2] Test-sequence generation from formal requirement models
    Rayadurgam, S
    Heimdahl, MPE
    SIXTH IEEE INTERNATIONAL SYMPOSIUM ON HIGH ASSURANCE SYSTEMS ENGINEERING, 2001, : 23 - 31
  • [3] Boundary coverage criteria for test generation from formal models
    Kosmatov, N
    Legeard, B
    15TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2004, : 139 - 150
  • [4] LEIRIOS test generator: Automated test generation from B models
    Jaffuel, Eddie
    Legeard, Bruno
    B 2007: FORMAL SPECIFICATION AND DEVELOPMENT IN B, PROCEEDINGS, 2007, 4355 : 277 - +
  • [5] Test case generation from QR models
    Brandl, Harald
    Wotawa, Franz
    NEW FRONTIERS IN APPLIED ARTIFICIAL INTELLIGENCE, 2008, 5027 : 235 - 244
  • [6] Automated test-data generation from formal models of software
    Rayadurgam, S
    16TH ANNUAL INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2001), PROCEEDINGS, 2001, : 438 - 438
  • [7] Mastering test generation from smart card software formal models
    Bouquet, F
    Legeard, B
    Peureux, F
    Torreborre, E
    CONSTRUCTION AND ANALYSIS OF SAFE, SECURE, AND INTEROPERABLE SMART DEVICES, 2005, 3362 : 70 - 85
  • [8] Test Case Generation for Formal Concept Analysis
    Hwang, Ha Jin
    Tak, Joo Ik
    UBIQUITOUS COMPUTING AND MULTIMEDIA APPLICATIONS, PT II, 2011, 151 : 457 - 458
  • [9] Automated Security Test Generation with Formal Threat Models
    Xu, Dianxiang
    Tu, Manghui
    Sanford, Michael
    Thomas, Lijo
    Woodraska, Daniel
    Xu, Weifeng
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2012, 9 (04) : 526 - 540
  • [10] Automated test case generation from dynamic models
    Fröhlich, P
    Link, J
    ECOOP 2000 - OBJECT-ORIENTED PROGRAMMING, 2000, 1850 : 472 - 491