Testing Practices, Challenges, and Developer Perspectives in Open-Source IoT Platforms

被引:0
作者
Rodriguez-Cardenas, Daniel [1 ]
Khan, Safwat Ali [2 ]
Mandal, Prianka [1 ]
Nadkarni, Adwait [1 ]
Moran, Kevin [3 ]
Poshyvanyk, Denys [1 ]
机构
[1] William & Mary, Williamsburg, VA 23185 USA
[2] George Mason Univ, Fairfax, VA USA
[3] Univ Cent Florida, Orlando, FL USA
来源
2025 IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION, ICST | 2025年
关键词
Internet of Things; Software Testing; Maintenance; Unit test; Developer study; SYSTEMS; INTERNET; THINGS;
D O I
10.1109/ICST62969.2025.10988986
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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 opensource IoT platforms, OpenHAB and HomeAssistant. Our analysis involves the identification of functional and related test methods based on the focal method approach. We find that OpenHAB has only 0.04 test ratio (approximate to 4K focal test methods from approximate to 76K functional methods) in Java files, while HomeAssistant exhibits higher test ratio of 0.42, which reveals a significant dearth of testing. Second, to understand the developers' perspective on testing in IoT, and to explain our empirical observations, we survey 80 open-source developers actively engaged in IoT platform development. Our analysis of survey responses reveals a significant focus on automated (unit) testing, and a lack of manual testing, which supports our empirical observations, as well as testing challenges specific to IoT. Together, our empirical analysis and survey yield 10 key findings that uncover the current state of testing in IoT platforms, and reveal key perceptions and challenges. These findings provide valuable guidance to the research community in navigating the complexities of effectively testing IoT platforms.
引用
收藏
页码:290 / 301
页数:12
相关论文
共 47 条
[1]   State-of-the-art survey of artificial intelligent techniques for IoT security [J].
Ahanger, Tariq Ahamed ;
Aljumah, Abdullah ;
Atiquzzaman, Mohammed .
COMPUTER NETWORKS, 2022, 206
[2]  
Ami AS, 2022, P IEEE S SECUR PRIV, P614, DOI [10.1109/SP46214.2022.00024, 10.1109/SP46214.2022.9833582]
[3]  
Ami Amit Seal, 2024, UNDERSTANDING IND PE, P3979, DOI [10.1109/SP54263.2024.00019, DOI 10.1109/SP54263.2024.00019]
[4]  
[Anonymous], Nest App
[5]  
[Anonymous], Amazon Alexa
[6]  
[Anonymous], 2022, P 2022 ACM SIGSAC C, P1615, DOI [10.1145/3548606.3560640, DOI 10.1145/3548606.3560640]
[7]  
[Anonymous], Tree-sitter Introduction
[8]  
[Anonymous], HomeKit
[9]  
Blazemeter, 2023, taurus: Automation-friendly framework for Continuous Testing
[10]   Testing IoT systems using a hybrid simulation based testing approach [J].
Bosmans, Stig ;
Mercelis, Siegfried ;
Denil, Joachim ;
Hellinckx, Peter .
COMPUTING, 2019, 101 (07) :857-872