Assuring the quality of Internet of Things (IoT) systems is of paramount importance, and guaranteeing their reliability and compliance with the requirements is mandatory, but few attempts have been made so far. In previous works, we proposed two approaches for acceptance testing and runtime verification of IoT systems. Both works rely on a UML state machine to specify the system expected behaviour. In the acceptance testing approach, the interesting paths to exercise are identified and translated into executable test scripts. In the runtime verification approach, the relevant events during the system execution are monitored and compared against a formal specification derived from the UML state machine. In this paper, we compare the effectiveness of our two approaches, by applying them to a mobile health IoT system for the management of diabetic patients, employing over 100 mutated versions of the original system and analysing more than 1000 different executions. Results show that both approaches are effective in different ways in detecting bugs. While the acceptance testing approach is more effective to detect the bugs affecting the user interface, the runtime verification approach tracks better the subtle deviations from the system expected behaviour, in particular those concerning network issues.

Leotta, M., Clerissi, D., Franceschini, L., Olianas, D., Ancona, D., Ricca, F., et al. (2019). Comparing Testing and Runtime Verification of IoT Systems: A Preliminary Evaluation based on a Case Study. In Proceedings of the 14th International Conference on Evaluation of Novel Approaches to Software Engineering (pp.434-441). SciTePress [10.5220/0007745604340441].

Comparing Testing and Runtime Verification of IoT Systems: A Preliminary Evaluation based on a Case Study

Clerissi, D;
2019

Abstract

Assuring the quality of Internet of Things (IoT) systems is of paramount importance, and guaranteeing their reliability and compliance with the requirements is mandatory, but few attempts have been made so far. In previous works, we proposed two approaches for acceptance testing and runtime verification of IoT systems. Both works rely on a UML state machine to specify the system expected behaviour. In the acceptance testing approach, the interesting paths to exercise are identified and translated into executable test scripts. In the runtime verification approach, the relevant events during the system execution are monitored and compared against a formal specification derived from the UML state machine. In this paper, we compare the effectiveness of our two approaches, by applying them to a mobile health IoT system for the management of diabetic patients, employing over 100 mutated versions of the original system and analysing more than 1000 different executions. Results show that both approaches are effective in different ways in detecting bugs. While the acceptance testing approach is more effective to detect the bugs affecting the user interface, the runtime verification approach tracks better the subtle deviations from the system expected behaviour, in particular those concerning network issues.
paper
Acceptance Testing; IoT Systems; Node-RED; Runtime Verification; Systems Modelling; UML State Machine;
English
14th International Conference on Evaluation of Novel Approaches to Software Engineering, ENASE 2019 - 4 May 2019 - 5 May 2019
2019
Damiani, E; Spanoudakis, G; Maciaszek, L
Proceedings of the 14th International Conference on Evaluation of Novel Approaches to Software Engineering
9789897583759
2019
434
441
reserved
Leotta, M., Clerissi, D., Franceschini, L., Olianas, D., Ancona, D., Ricca, F., et al. (2019). Comparing Testing and Runtime Verification of IoT Systems: A Preliminary Evaluation based on a Case Study. In Proceedings of the 14th International Conference on Evaluation of Novel Approaches to Software Engineering (pp.434-441). SciTePress [10.5220/0007745604340441].
File in questo prodotto:
File Dimensione Formato  
Leotta et al-2019-ENASE-VoR.pdf

Solo gestori archivio

Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Licenza: Tutti i diritti riservati
Dimensione 1.87 MB
Formato Adobe PDF
1.87 MB Adobe PDF   Visualizza/Apri   Richiedi una copia

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/10281/620222
Citazioni
  • Scopus 6
  • ???jsp.display-item.citation.isi??? 4
Social impact