DocumentCode
626357
Title
Combining Model-Based Testing and Runtime Monitoring for Program Testing in the Presence of Nondeterminism
Author
Arcaini, Paolo ; Gargantini, Angelo ; Riccobene, Elvinia
Author_Institution
Dipt. di Inf., Univ. degli Studi di Milano, Milan, Italy
fYear
2013
fDate
18-22 March 2013
Firstpage
178
Lastpage
187
Abstract
In case of underspecified or not fully predictable systems, models specifying system behaviors are nondeterministic. Nondeterminism poses several challenges for the validation and verification activities, including the problem of inconclusive tests in model-based testing with model checker. It is a validation technique that uses model checker counterexamples as test cases. In this paper, we tackle the problem of testing nondeterministic systems by combining model-based testing and runtime conformance monitoring: the input sequences of the tests are automatically generated from nondeterministic models; then their execution is runtime monitored to check conformance of the code w.r.t. its specification. This technique provides an oracle for the test data, it never bears inconclusive responses, and it allows measuring the requirement coverage. The approach uses the Abstract State Machines as formal method for specification purposes and Java as implementation language. As a proof of concepts, the Tic-Tac-Toe game is taken as example of a system with nondeterministic behavior (both at specification and code levels).
Keywords
Java; finite state machines; formal specification; program testing; program verification; system monitoring; Java; Tic-Tac-Toe game; abstract state machines; formal method; inconclusive tests; model checker; model-based testing; nondeterminism; nondeterministic system testing; program testing; runtime conformance monitoring; specification purposes; validation activities; verification activities; Abstracts; Computational modeling; Java; Monitoring; Object oriented modeling; Runtime; Testing; model-based testing; nondeterminism; runtime monitoring;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Testing, Verification and Validation Workshops (ICSTW), 2013 IEEE Sixth International Conference on
Conference_Location
Luxembourg
Print_ISBN
978-1-4799-1324-4
Type
conf
DOI
10.1109/ICSTW.2013.29
Filename
6571628
Link To Document