Running summarizing tools on a new article

Check the paper below, then start its synthesis.


A method for IoT devices test case generation using language models

Sumit Kumar (Symbiosis International (Deemed University)), Kiran Malhari Napte (Savitribai Phule Pune University), Ruchi Rani (MIT World Peace University), Sanjeev Kumar Pippal (G.L. Bajaj Institute of Technology and Management Greater Noida)

MethodsX
DOI: 10.1016/j.mex.2025.103340 (Computer Science)
License: CC BY

Abstract: The rapid growth of IoT and electronic systems has led to complex real-time data processing and management solutions. However, these systems present significant software and hardware testing challenges, often requiring manual, time-consuming testing efforts. To address this, an automated end-to-end testing framework is essential for improving efficiency and reliability in IoT system development. With advancements in Natural Language Processing (NLP) and language models, automated test case generation systems can now create structured test cases in programming languages while ensuring code integrity and style. Applying these techniques to IoT projects streamlines testing, enhances accuracy, and reduces workload. This paper introduces TCG-IoT (Test Case Generation for IoT Systems), an automated testing framework designed to generate comprehensive test cases and actionable event lists based on technical and data specifications. Unlike existing frameworks that depend on model-based testing or simulation environments, TCG-IoT uniquely integrates a Retrieval-Augmented Generation (RAG) mechanism, a vector knowledge base of IoT standards, and code generation via Code-Llama to directly produce structured, executable C-code scripts for software and manual steps for hardware components. The results demonstrate that TCG-IoT delivers high-quality, context-aware test cases and scripts with maximum system coverage, ensuring secure, efficient, and scalable IoT development.•Automates test case generation for IoT hardware and software components.•Enhances test coverage and reliability using language models.•Evaluates performance through case studies on smart home automation.

Published on 28 Apr. 2025