Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Engineering Prompt-Orchestrated LLM Workflows for Automated Test Case Generation in Agile Environments

Author 1: Almeyda Alania Fredy Antonio Author 2: Barrientos Padilla Alfredo Author 3: Siancas Garay Ronald Gustavo
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 16, No. 12 · Published 2025

DOI: https://doi.org/10.14569/IJACSA.2025.0161272

Abstract

Manual test case generation for agile software development is a critical bottleneck that is costly, inconsistent, and error-prone. This study introduces a prompt-engineering and multi-level orchestration framework to automate this process. The proposed approach explicitly targets the automated generation of high-level acceptance test cases, addressing a gap in existing research that predominantly focuses on unit-level or reactive testing. The proposed tool, AI-Based Desktop Test Generator (AIDTG), employs a dual-LLM engine (Gemini 1.5 and GPT-4) to transform high-level functional descriptions from the Product Backlog into structured validation scenarios. Unlike prior LLM-based testing approaches, the framework integrates schema-aware prompt engineering and dual-model orchestration to ground the generation process in both functional intent and technical data constraints. The methodology is distinguished by its context-aware prompt engineering, which injects a frozen database schema to ground the models, and its ability to format outputs for the TestRigor BDD 2.0 platform. This schema-grounded and orchestrated workflow enables the systematic translation of informal User Stories into executable Behavior-Driven Development (BDD) acceptance tests, reducing ambiguity and improving semantic correctness. Experimental results on a real-world dataset of fifty User Stories show the framework reduces manual test design effort by eighty per cent, achieves a four point seven five (out of five) average quality rating from human experts, and produces BDD scripts with a ninety-one point nine per cent functional correctness pass rate. These results demonstrate that orchestrated, schema-aware Generative AI can operate as a reliable co-assistant for QA teams, improving efficiency while maintaining high standards of quality and executability.

Keywords

How to Cite this Article

Antonio, A. A. F., Alfredo, B. P., & Gustavo, S. G. R. (2025). Engineering Prompt-Orchestrated LLM Workflows for Automated Test Case Generation in Agile Environments. International Journal of Advanced Computer Science and Applications, 16(12). https://doi.org/10.14569/IJACSA.2025.0161272

Antonio, Almeyda Alania Fredy, et al.. "Engineering Prompt-Orchestrated LLM Workflows for Automated Test Case Generation in Agile Environments." International Journal of Advanced Computer Science and Applications, vol. 16, no. 12, 2025, https://doi.org/10.14569/IJACSA.2025.0161272.

@article{Antonio2025,
  title     = {Engineering Prompt-Orchestrated LLM Workflows for Automated Test Case Generation in Agile Environments},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {16},
  number    = {12},
  year      = {2025},
  publisher = {The Science and Information Organization},
  author    = {Almeyda Alania Fredy Antonio and Barrientos Padilla Alfredo and Siancas Garay Ronald Gustavo},
  doi       = {10.14569/IJACSA.2025.0161272},
  url       = {https://doi.org/10.14569/IJACSA.2025.0161272}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.