Research Article

Artificial Intelligence-Driven Software Test Automation: A Comprehensive Survey

Jiale Chen*
Taiyuan University of Technology

* Corresponding author: [email protected]

Abstract

Software testing accounts for a significant proportion of resource consumption within the software development lifecycle. Traditional automated testing methods rely on predefined scripts and deterministic logic, and have inherent limitations when addressing the dynamic complexities of modern software systems. Artificial intelligence, particularly large language models, offers new technical avenues for test automation.This paper focuses on two key tasks—AI-driven test case generation and defect detection—and provides a systematic review of the technological evolution from traditional automation to intelligent testing. It analyses methods such as prompt engineering, retrieval-augmented generation, model fine-tuning and multi-agent systems,while contrasting traditional deep learning and large language model approaches in defect detection. The paper also examines key challenges, including the hallucination problem, evaluation criteria, interpretability and generalisation capabilities.The fundamental contribution of large language models lies not in replacing human testers, but in driving the transformation of test automation from 'execution automation' to 'decision support'—a distinction that provides important guidance for the design, evaluation and deployment of AI testing tools.

Keywords: Software test automation; Large language models; Test case generation; Defect detection; Retrieval-augmented generation
Published: September 15, 2026
DOI: 10.54254/2755-2721/2026.LD36950
Volume: ACE Vol.263
pp. 59-65
Download PDF

References

  1. Celik, A., et al. (2025). A review of large language models for automated test case generation.Machine Learning and Knowledge Extraction, 7(3), 97. DOI: 10.3390/make7030097.
  2. Wang, Y., Zi, Q. C., Peng, X., & Lou, Y. L. (2025). A method for fault reproduction test case generation based on large language models.Journal of Software, 36(10). DOI: 10.13328/j.cnki.jos.007474.
  3. Chu, B., et al. (2025). Large language models for unit test generation: Achievements, challenges, and opportunities.arXiv, arXiv:2511.21382.
  4. Wang, Z., Guo, X., & Tsuchiya, T. (2025). Retrieval-augmented generation for software requirement-based test case generation. In2025 25th International Conference on Software Quality, Reliability and Security (QRS), pp. 108-119. IEEE.
  5. Germano, L. B., Goldschmidt, R. R., Noya, R. C., & Duarte, J. C. (2025). A systematic review on detection, repair, and explanation of vulnerabilities in source code using large language models.IEEE Access, 13: 192263-192293. DOI: 10.1109/ACCESS.2025.3574567.
  6. Hariharan, M., et al. (2025). Agentic RAG for software testing with hybrid vector-graph and multi-agent orchestration.arXiv, arXiv:2510.10824.
  7. Ba, T. A., Toure, F., & Faghihi, U. (2025). Software defects prediction: Source code is all you need. In2025 25th International Conference on Software Quality, Reliability and Security Companion (QRS-C)(pp. 157–167). IEEE.
  8. Wang, W., Yang, C., Wang, Z., Huang, Y., Chu, Z., Song, D., Zhang, L., Chen, A. R., & Ma, L. (2025). TestEval: Benchmarking large language models for test case generation. InFindings of the Association for Computational Linguistics: NAACL 2025(pp. 3547–3562). ACL. DOI: 10.18653/v1/2025.findings-naacl.197.
  9. Faraji, A., & Pombo, N. (2025). AI-driven software test automation: An AI4SE-oriented survey of techniques, tools, and challenges.IEEE Access, 13, 183296–183313. DOI: 10.1109/ACCESS.2025.3521407.
  10. Modern approaches to software vulnerability detection: A survey of machine learning, deep learning, and large language models. (2025).Electronics, 14(22), 4449. DOI: 10.3390/electronics14224449.