Abstract
Many systems are inherently stochastic: they interact with unpredictable environments or use randomised algorithms. Then classical model-based testing is insufficient: it only covers functional correctness. In this paper, we present a new model-based testing framework that additionally covers the stochastic aspects in hard and soft real-time systems. Using the theory of stochastic automata for specifications, test cases and a formal notion of conformance, it provides clean mechanisms to represent underspecification, randomisation, and stochastic timing. Supporting arbitrary continuous and discrete probability distributions, the framework generalises previous work based on purely Markovian models. We cleanly define its theoretical foundations, and then outline a practical algorithm for statistical conformance testing based on the Kolmogorov-Smirnov test. We exemplify the framework’s capabilities and tradeoffs by testing timing aspects of the Bluetooth device discovery protocol.
Original language | English |
---|---|
Title of host publication | Proceedings of the 10th International NASA Formal Methods Symposium (NFM 2018) |
Editors | Aaron Dutle, Cesar Munoz, Anthony Narkawicz |
Publisher | Springer |
Pages | 203-219 |
ISBN (Electronic) | 978-3-319-77935-5 |
ISBN (Print) | 978-3-319-77934-8 |
DOIs | |
Publication status | Published - 11 Mar 2018 |
Event | 10th International Symposium on NASA Formal Methods 2018 - Newport News Marriott at City Center, Newport News, United States Duration: 17 Apr 2018 → 19 Apr 2018 Conference number: 10 https://shemesh.larc.nasa.gov/NFM2018/ |
Publication series
Name | Lecture Notes in Computer Science |
---|---|
Publisher | Springer |
Volume | 10811 |
Conference
Conference | 10th International Symposium on NASA Formal Methods 2018 |
---|---|
Abbreviated title | NFM 2018 |
Country/Territory | United States |
City | Newport News |
Period | 17/04/18 → 19/04/18 |
Internet address |