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. © Springer-Verlag Berlin Heidelberg 2003.

(2003). Using spin to generate tests from ASM specifications [conference presentation - intervento a convegno]. Retrieved from http://hdl.handle.net/10446/75876

Using spin to generate tests from ASM specifications

GARGANTINI, Angelo Michele;
2003-01-01

Abstract

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. © Springer-Verlag Berlin Heidelberg 2003.
2003
Inglese
Abstract State Machines 2003. Advances in Theory and Practice 10th International Workshop, ASM 2003 Taormina, Italy, March 3–7, 2003 Proceedings
Egon Börger, Angelo Gargantini, Elvinia Riccobene
978-3-540-00624-4
2589
263
277
cartaceo
online
Springer
Advances in Theory and Practice 10th International Workshop, ASM 2003
10th
Taormina, Italy
March 3–7, 2003
internazionale
contributo
Settore ING-INF/05 - Sistemi di Elaborazione delle Informazioni
Computer Science (all); Biochemistry, Genetics and Molecular Biology (all); Theoretical Computer Science
info:eu-repo/semantics/conferenceObject
3
Gargantini, Angelo Michele; Riccobene, Elvinia; Rinzivillo, Salvatore
1.4 Contributi in atti di convegno - Contributions in conference proceedings::1.4.01 Contributi in atti di convegno - Conference presentations
none
no full text
273
(2003). Using spin to generate tests from ASM specifications [conference presentation - intervento a convegno]. Retrieved from http://hdl.handle.net/10446/75876
File allegato/i alla scheda:
Non ci sono file allegati a questa scheda.
Pubblicazioni consigliate

Aisberg ©2008 Servizi bibliotecari, Università degli studi di Bergamo | Terms of use/Condizioni di utilizzo

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10446/75876
Citazioni
  • Scopus 63
  • ???jsp.display-item.citation.isi??? 37
social impact