Testing Practices, Challenges, and Developer Perspectives in Open-Source IoT Platforms
Daniel Rodriguez-Cardenas, Safwat Ali Khan, Prianka Mandal, Adwait, Nadkarni, Kevin Moran, Denys Poshyvanyk

TL;DR
This paper investigates testing practices and challenges in open-source IoT platforms through empirical analysis of code and developer surveys, revealing significant testing gaps and perceptions among developers.
Contribution
It provides the first comprehensive analysis of testing practices and developer perspectives in open-source IoT platforms, highlighting testing deficiencies and challenges.
Findings
OpenHab has a low test ratio of 0.04, indicating limited testing.
HomeAssistant has a higher test ratio of 0.42, but still shows room for improvement.
Developers focus on automated testing and lack manual testing, reflecting testing challenges in IoT.
Abstract
As the popularity of Internet of Things (IoT) platforms grows, users gain unprecedented control over their homes, health monitoring, and daily task automation. However, the testing of software for these platforms poses significant challenges due to their diverse composition, e.g., common smart home platforms are often composed of varied types of devices that use a diverse array of communication protocols, connections to mobile apps, cloud services, as well as integration among various platforms. This paper is the first to uncover both the practices and perceptions behind testing in IoT platforms, particularly open-source smart home platforms. Our study is composed of two key components. First, we mine and empirically analyze the code and integrations of two highly popular and well-maintained open-source IoT platforms, OpenHab and HomeAssitant. Our analysis involves the identification of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsIoT and Edge/Fog Computing · Software System Performance and Reliability
