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 条
  • [41] SPECIFICATIONS AND TESTS FOR ARTIFICIAL SPORTS SURFACES
    BROWN, RP
    POLYMER TESTING, 1982, 3 (02) : 85 - 98
  • [42] Evaluation of the clinical chemistry tests analytical performance by using different models and specifications
    Keles, Murat
    TURKISH JOURNAL OF BIOCHEMISTRY-TURK BIYOKIMYA DERGISI, 2020, 45 (01): : 11 - 18
  • [43] Verifying compiler based refinement of BluespecTM specifications using the SPIN model checker
    Singh, Gaurav
    Shukla, Sandeep K.
    MODEL CHECKING SOFTWARE, PROCEEDINGS, 2008, 5156 : 250 - 269
  • [44] Novel Method to Generate Tests for VHDL
    Jusas, Vacius
    Neverdauskas, Tomas
    INFORMATION AND SOFTWARE TECHNOLOGIES (ICIST 2013), 2013, 403 : 365 - 375
  • [45] Mining Specifications from Documentation using a Crowd
    Sun, Peng
    Brown, Chris
    Beschastnikh, Ivan
    Stolee, Kathryn T.
    2019 IEEE 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER), 2019, : 275 - 286
  • [46] Formal definition of SDL-2000 -: Compiling and running SDL specifications as ASM models
    Eschbach, R
    Glässer, U
    Gotzhein, R
    von Löwis, M
    Prinz, A
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2001, 7 (11): : 1024 - 1049
  • [47] Using state diagrams to generate unit tests for object-oriented systems
    Ipate, F
    Holcombe, M
    EXTREME PROGRAMMING AND AGILE PROCESSES IN SOFTWARE ENGINEERING, PROCEEDINGS, 2005, 3556 : 214 - 217
  • [48] How to generate tests using semi-formal technique: Industrial experiences
    Dushina, J
    Benjamin, M
    Geist, D
    2001 4TH INTERNATIONAL CONFERENCE ON ASIC PROCEEDINGS, 2001, : 607 - 611
  • [49] Testing and specifications: National and international organizations coordinate lubricant specifications and tests.
    Holdmeyer, Dan
    Tribology and Lubrication Technology, 2024, 80 (05): : 26 - 28
  • [50] AGUTER a platform for automated generation of user acceptance tests from requirements specifications
    Antonelli, Leandro
    Camilleri, Guy
    Torres, Diego
    Zarate, Pascale
    KYBERNETES, 2023, 52 (01) : 44 - 63