An acceptance testing approach for Internet of Things systems

Maurizio Leotta, Diego Clerissi, Dario Olianas, Filippo Ricca, Davide Ancona, Giorgio Delzanno, Luca Franceschini, Marina Ribaudo

IET Software · 2018 · 27 citations · 15 references

DOIFull text

Open access

Concepts

TL;DR

IoT systems are ubiquitous and ensuring their quality is essential, yet few testing proposals exist in the literature. The authors propose an acceptance‑testing approach for IoT systems that relies on graphical user interfaces as the primary interaction mode. They derive test scenarios from a state‑machine model of the IoT system, generate executable test cases with data and assertions, and apply the method to a mobile‑health diabetes‑management system. The approach achieved 93 % mutant detection, demonstrating its effectiveness.

Abstract

Internet of things (IoT) systems are becoming ubiquitous and assuring their quality is fundamental. Unfortunately, a few proposals for testing these complex, and often safety-critical, systems are present in the literature. The authors propose an approach for acceptance testing of IoT systems adopting graphical user interfaces as a principal way of interaction. Acceptance testing is a type of black box testing based on test scenarios, i.e. sequences of steps/actions performed by the user or the system. In their approach, test scenarios are derived from a state machine that expresses the behaviour of the system under test, and test cases are derived from them by specifying the actual data and assertions and made executable by implementing the corresponding test scripts. As a case study, they selected a mobile health IoT system for diabetes management composed of local sensors/actuators, smartphones, and a remote cloud-based system. The effectiveness of the approach has been evaluated by measuring the capability of two test suites implemented using different localisation strategies (visual and structure-based) in detecting mutants of the original m-health system. Results show the effectiveness of the test suites implemented by following the proposed approach since 93% of the generated mutants have been detected.

References

15