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

(1999). Using model checking to generate tests from requirements specifications [conference presentation - intervento a convegno]. Retrieved from http://hdl.handle.net/10446/75859

Using model checking to generate tests from requirements specifications

GARGANTINI, Angelo Michele;
1999-01-01

Abstract

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. © Springer-Verlag Berlin Heidelberg 1999.
1999
Inglese
SOFTWARE ENGINEERING - ESEC/FSE '99, PROCEEDINGS
Oscar Nierstrasz, Michel Lemoine
978-3-540-66538-0
1687
146
162
cartaceo
online
Springer
7th European Software Engineering Conference, ESEC 1999 - Held Jointly with the 7th ACM SIGSOFT Symposium on the Foundations of Software Engineering, FSE 1999
7th
Toulouse, France
6 - 10 September 1999
ACM SIGSOFT
CEPIS
SUPAERO
ONERA
internazionale
contributo
Settore ING-INF/05 - Sistemi di Elaborazione delle Informazioni
Computer Science (all); Theoretical Computer Science
info:eu-repo/semantics/conferenceObject
2
Gargantini, Angelo Michele; Heitmeyer, Constance
1.4 Contributi in atti di convegno - Contributions in conference proceedings::1.4.01 Contributi in atti di convegno - Conference presentations
reserved
Non definito
273
(1999). Using model checking to generate tests from requirements specifications [conference presentation - intervento a convegno]. Retrieved from http://hdl.handle.net/10446/75859
File allegato/i alla scheda:
File Dimensione del file Formato  
esec99.pdf

Solo gestori di archivio

Versione: publisher's version - versione editoriale
Licenza: Licenza default Aisberg
Dimensione del file 204.49 kB
Formato Adobe PDF
204.49 kB Adobe PDF   Visualizza/Apri
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/75859
Citazioni
  • Scopus 294
  • ???jsp.display-item.citation.isi??? 224
social impact