• Home
  • Search
  • A method for IoT devices test case generation using language models.
  • Cite Icon4
  • https://doi.org/10.1016/j.mex.2025.103340Copy DOI Icon

A method for IoT devices test case generation using language models.

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
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.

Similar Papers
  • Conference Article
  • Citations2

Generating Abstract Test Cases from User Requirements using MDSE and NLP

  • Dec 01, 2022
  • Sai Chaithra Allala +4
  • Research Article
  • Citations18

Automated Specification-Based Testing of REST APIs

  • Aug 09, 2021
  • Sensors (Basel, Switzerland)
  • Ovidiu Baniaș +3
  • Research Article
  • Citations5

Automatic Generation and Optimization of Combinatorial Test Cases from UML Activity Diagram Using Particle Swarm Optimization

  • Feb 28, 2022
  • Ingénierie des systèmes d information
  • Subhash Tatale +1
  • Research Article

Integrating NLP into Radiation Oncology: A Practical Guide to Transformer Architecture and Large Language Models

  • Aug 13, 2025
  • BJR|Artificial Intelligence
  • Reza Khanmohammadi +10
  • Research Article
  • Citations1

An Enhanced Multiview Test Case Generation Technique for Object-oriented Software using Class and Activity Diagrams

  • Nov 30, 2020
  • International Journal of Recent Technology and Engineering (IJRTE)
  • James Maina Mburu +2
  • Research Article

Collecting protest event data using natural language processing models

  • Dec 12, 2025
  • Post-Soviet Affairs
  • Bogdan Mamaev
  • Book Chapter

Research on Automatic Generation of Test Cases Based on Genetic Algorithm

  • Jan 01, 2018
  • Lu Xiong +1
  • Conference Article
  • Citations2

Swarm inspired test case generation for online C++ programming assessment

  • Jun 01, 2014
  • Oi-Mean Foong +3
  • Research Article
  • Citations49

Automated test data generation using a scatter search approach

  • Dec 24, 2008
  • Information and Software Technology
  • Raquel Blanco +2
  • Book Chapter
  • Citations1

Supporting Tool for Automatic Specification-Based Test Case Generation

  • Jan 01, 2013
  • Weihang Zhang +1
  • Research Article
  • Citations3

An Automated Test Case Generating Tool Using UML Activity Diagram

  • Dec 09, 2018
  • International Journal of Engineering & Technology
  • Md Abdul Monim +1
  • Conference Article
  • Citations28

Constructing Test cases using Natural Language Processing

  • Feb 01, 2017
  • Ahlam Ansari +3
  • Book Chapter
  • Citations5

Automatic Generation of Specification-Based Test Cases by Applying Genetic Algorithms in Reinforcement Learning

  • Jan 01, 2016
  • Yuji Sato +1
  • Research Article
  • Citations34

Automatic Test Case and Test Oracle Generation Based on Functional Scenarios in Formal Specifications for Conformance Testing

  • Jun 04, 2020
  • IEEE Transactions on Software Engineering
  • Shaoying Liu +1
  • Research Article
  • Citations2

A novel approach for automatic model-based test case generation

  • Oct 15, 2017
  • Scientia Iranica
  • Amin Rezaee +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.