Using Spin to generate tests from ASM specifications

被引:0
|
作者
Gargantini, A [1 ]
Riccobene, E
Rinzivillo, S
机构
[1] Univ Catania, CEA, I-95124 Catania, Italy
[2] Univ Catania, Dipartimento Matemat & Informat, I-95124 Catania, Italy
[3] Univ Pisa, Dipartimento Informat, I-56100 Pisa, Italy
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper we introduce an algorithm to automatically encode an ASM specification in PROMELA, the language of the model checker Spin, and we present a method exploiting the counter example generation feature of Spin, to automatically generate from ASM specifications test sequences which accomplish a desired coverage. ASMs are used as test oracles to predict the expected outputs of units under test. A prototype tool that implements the proposed method is also presented. Experimental results in evaluating the method are reported. The experiments include test sequence generation, tests execution, code coverage measurement for a case study implemented in Java, and comparison with random tests generation. Benefits and limitations in using model checking are discussed.
引用
下载
收藏
页码:263 / 277
页数:15
相关论文
共 50 条
  • [31] Quality control - specifications and tests
    WHO EXPERT COMMITTEE ON SPECIFICATIONS FOR PHARMACEUTICAL PREPARATIONS, 2015, 992 : 8 - 18
  • [32] Quality control - specifications and tests
    不详
    WHO EXPERT COMMITTEE ON SPECIFICATIONS FOR PHARMACEUTICAL PREPARATIONS, 2002, 902 : 2 - 4
  • [33] Using Large Language Models to Generate JUnit Tests: An Empirical Study
    Siddiq, Mohammed Latif
    Santos, Joanna C. S.
    Tanvir, Ridwanul Hasan
    Ulfat, Noshin
    Al Rifat, Fahmid
    Lopes, Vinicius Carvalho
    PROCEEDINGS OF 2024 28TH INTERNATION CONFERENCE ON EVALUATION AND ASSESSMENT IN SOFTWARE ENGINEERING, EASE 2024, 2024, : 313 - 322
  • [34] A Graph Transformation Approach to Generate Analysable Maude Specifications from UML Interaction Overview Diagrams
    Djaoui, Chafika
    Kerkouche, Elhillali
    Khalfaoui, Khaled
    Chaoui, Allaoua
    2018 IEEE INTERNATIONAL CONFERENCE ON INFORMATION REUSE AND INTEGRATION (IRI), 2018, : 511 - 517
  • [35] GMT ASM prototype dynamic and optical tests results
    Andrighettoni, M.
    Biasi, R.
    Manetti, M.
    Tintori, M.
    Gallieni, D.
    Thompson, P. M.
    Spanos, J.
    Bouchet, A.
    Groark, F.
    ADAPTIVE OPTICS SYSTEMS VIII, 2022, 12185
  • [36] A Method for aplying reuse in tests specifications
    de Souza, Eric Rocha
    Lencastre, Maria
    2012 EIGHTH INTERNATIONAL CONFERENCE ON THE QUALITY OF INFORMATION AND COMMUNICATIONS TECHNOLOGY (QUATIC 2012), 2012, : 143 - 148
  • [37] Specifications for dark-adaptation tests
    Craik, KJW
    BMJ-BRITISH MEDICAL JOURNAL, 1943, 1943 : 632 - 633
  • [38] INVESTIGATION OF VISCOSITY RELATED TESTS AND SPECIFICATIONS
    KOFALT, JA
    MATERIALS RESEARCH AND STANDARDS, 1965, 5 (05): : 253 - &
  • [39] Laboratory tests to determine valve specifications
    Aerosol Spray Report, 1995, 34 (10):
  • [40] FORMAL SPECIFICATIONS, PROTOTYPING AND INTEGRATION TESTS
    CHOPPY, C
    LECTURE NOTES IN COMPUTER SCIENCE, 1987, 289 : 172 - 179