LTL specifications are commonly used in runtime verification to describe the requirements about the system behavior. Efficient techniques derive, from LTL specifications, monitors that can check if system executions respect these properties. In this paper we present an online testing approach which is based on LTL properties of Java programs. We present an algorithm able to derive and execute test cases from monitors for LTL specifications. Our technique actively tests a Java class, avoids false failures, and it is able to check the correctness of the outputs also in the presence of nondeterminism. We devise several coverage criteria and strategies for visiting the monitors, providing different qualities in terms of test size, testing time, and fault detection capability.

Online testing of LTL properties for Java code / P. Arcaini, A. Gargantini, E. Riccobene - In: Hardware and software : verification and testing : 9th International Haifa verification conference, HVC 2013 : Haifa, Israel, november 5-7, 2013 : proceedings / [a cura di] V. Bertacco, A. Legay. - New York : Springer, 2013. - ISBN 9783319030760. - pp. 95-111 (( Intervento presentato al 9. convegno International Haifa Verification Conference (HVC) tenutosi a Haifa, Israel nel 2013 [10.1007/978-3-319-03077-7-7].

Online testing of LTL properties for Java code

E. Riccobene
2013

Abstract

LTL specifications are commonly used in runtime verification to describe the requirements about the system behavior. Efficient techniques derive, from LTL specifications, monitors that can check if system executions respect these properties. In this paper we present an online testing approach which is based on LTL properties of Java programs. We present an algorithm able to derive and execute test cases from monitors for LTL specifications. Our technique actively tests a Java class, avoids false failures, and it is able to check the correctness of the outputs also in the presence of nondeterminism. We devise several coverage criteria and strategies for visiting the monitors, providing different qualities in terms of test size, testing time, and fault detection capability.
Settore INF/01 - Informatica
2013
Book Part (author)
File in questo prodotto:
Non ci sono file associati a questo prodotto.
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/226724
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 3
  • ???jsp.display-item.citation.isi??? ND
social impact