Using model checking to generate tests from requirements specifications

被引:0
|
作者
Gargantini, A [1 ]
Heitmeyer, C
机构
[1] Politecn Milan, I-20133 Milan, Italy
[2] USN, Res Lab, Washington, DC 20375 USA
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Recently, many formal methods, such as the SCR (Software Cost Reduction) requirements method, have been proposed for improving the quality of software specifications. Although improved specifications are valuable, the ultimate objective of software development is to produce software that satisfies its requirements. To evaluate the correctness of a software implementation, one can apply black-box testing to determine whether the implementation, given a sequence of system inputs, produces the correct system outputs. This paper describes a specification-based method for constructing a suite of test sequences, where a test sequence is a sequence of inputs and outputs for testing a software implementation. The test sequences are derived from a tabular SCR requirements specification containing diverse data types, i.e., integer, boolean, and enumerated types. From the functions defined in the SCR specification, the method forms a collection of predicates called branches, which "cover" all possible software behaviors described by the specification. Based on these predicates, the method then derives a suite of test sequences by using a model checker's ability to construct counterexamples. The paper presents the results of applying our method to four specifications, including a sizable component of a contractor specification of a real system.
引用
收藏
页码:146 / 162
页数:17
相关论文
共 50 条
  • [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] Model Checking Complete Requirements Specifications Using Abstraction
    Bharadwaj R.
    Heitmeyer C.L.
    [J]. Automated Software Engineering, 1999, 6 (1) : 37 - 68
  • [3] Model checking complete requirements specifications using abstraction
    Bharadwaj, Ramesh
    Heitmeyer, Constance L.
    [J]. Automated Software Engineering, 1999, 6 (01): : 37 - 68
  • [4] Using model checking to generate fault detecting tests
    Gargantini, Angelo
    [J]. TESTS AND PROOFS, 2007, 4454 : 189 - 206
  • [5] Using spin to generate tests from ASM specifications
    Gargantini, Angelo
    Riccobene, Elvinia
    Rinzivillo, Salvatore
    [J]. Lect. Notes Comput. Sci., (263-277):
  • [6] Using Spin to generate tests from ASM specifications
    Gargantini, A
    Riccobene, E
    Rinzivillo, S
    [J]. ABSTRACT STATE MACHINES 2003: ADVANCES IN THEORY AND PRACTICE, PROCEEDINGS, 2003, 2589 : 263 - 277
  • [7] Model checking early requirements specifications in Tropos
    Fuxman, A
    Pistore, M
    Mylopoulos, J
    Traverso, P
    [J]. FIFTH IEEE INTERNATIONAL SYMPOSIUM ON REQUIREMENTS ENGINEERING, PROCEEDINGS, 2001, : 174 - 181
  • [8] Using abstraction and model checking to detect safety violations in requirements specifications
    Heitmeyer, C
    Kirby, J
    Labaw, B
    Archer, M
    Bharadwaj, R
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1998, 24 (11) : 927 - 948
  • [9] Automatic Verification of Behavior of UML Requirements Specifications using Model Checking
    Matsuura, Saeko
    Ikeda, Sae
    Yokotae, Kasumi
    [J]. PROCEEDINGS OF THE 8TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD), 2020, : 158 - 166
  • [10] Analyzing tabular requirements specifications using infinite state model checking
    Bultan, Tevfik
    Heitmeyer, Constance
    [J]. FOURTH ACM & IEEE INTERNATIONAL CONFERENCE ON FORMAL METHODS AND MODELS FOR CO-DESIGN, PROCEEDINGS, 2006, : 7 - +