Improving IoT Module Testability with Test-Driven Development and Machine Learning
Authors:
- 1 August 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 406-412
Abstract
Critical applications supported by the Internet of Things (IoT) such as health, finance and safety require robust, fault tolerant and available systems. Besides the large amount of real time data generated to extrinsic systems (considering Big Data, AI, Smart Cities and Industry 4.0 applications), there is a plethora of data that could be used intrinsically to diagnose an IoT system. A Test Driven Development (TDD) approach for automatic module assessment based on ESP32 IoT Module and unsupervised machine learning is proposed to classify an IoT module status as bad or good based on memory, temperature and WiFi level metrics. An automatic test case using the trained classifier is presented as a result of the proposed approach validation with real testbed data. The IoT module scripts for ESP32, and Python scripts for data collection, model training and inference with KNN algorithm are available under a Creative Commons license for replicability.Keywords
This publication has 6 references indexed in Scilit:
- Available and Fault Tolerant IoT System: Applying Quality Engineering Method2020
- TDD4Fog: A Test-Driven Software Development Platform for Fog Computing Systems2020
- TDDM4IoTS: A Test-Driven Development Methodology for Internet of Things (IoT)-Based Systems2020
- Software Testing Techniques in IoT2018
- A Distributed Test System Architecture for Open-source IoT Software2015
- The analysis of a simple k -means clustering algorithm2000