Background: Testing IoT software is challenging due to large scale, volume of data and heterogeneity. Testing automation is a much-needed feature in the domain. Aims: The first goal of this research is to explore the requirements and challenges of IoT testing automation. The second goal is to integrate testing automation tools used in commercial software into the IoT context. Method: A systematic literature review is carried out to elicit requirements for testing automation in IoT. A design science approach is followed to build a testing automation tool for IoT applications written in the Node-Red platform, using the commercial testing automation tool Selenium. The resulting framework uses the Selenium Web Driver for browser-based testing automation for IoT applications. Results: The proposed framework has been functionally tested on multiple browsers with preliminary evaluation on maintainability, browser capability and comprehensiveness. Conclusions: The use of commercial tools for testing automation in IoT is feasible. However, major challenges like high data volumes and parallel transmission and processing of data need to be addressed comprehensively for complete integration.
翻译:目标:此项研究的第一个目标是探讨IoT测试自动化的要求和挑战;第二个目标是将商业软件中使用的测试自动化工具纳入IoT背景。 方法:进行系统的文献审查,以产生测试IoT自动化的要求。 采用设计科学方法,利用商业测试自动化工具Selenium,为在节点-Red平台上书写的IoT应用程序建立一个测试自动化工具。由此产生的框架使用Selenium网络驱动器对IoT应用程序进行浏览器测试自动化。结果:在多个浏览器上对拟议框架进行了功能测试,初步评估了可维持性、浏览器能力和全面性。结论:使用商业工具测试IoT自动化是可行的。然而,需要全面应对高数据量和平行传输及处理数据等重大挑战,以便完成整合。