Title: Generative Artificial Intelligence in Software Testing
Authors: Serif Oyindamola Oyesiji, Aisha I. Abdulwahab, Harouna Wendpanga Yann Christian Sankara, Rosalyn Ezeako
Volume: 10
Issue: 10
Pages: 13-30
Publication Date: 2026/10/28
Abstract:
Background: Large language models now write unit tests, propose assertions, and repair failing test code inside continuous integration pipelines, yet a generated test that compiles and passes is not thereby evidence that software is correct. Objective: This review asks how generated test artefacts should be validated before they count as assurance evidence, and which organisational controls keep that evidence trustworthy. Method: An integrative review of software testing, traceability, empirical software engineering, and AI security literature published to 2026 was conducted under a predefined protocol, with sources appraised for oracle independence, fault measurement, rerun screening, and training-data contamination, and synthesised through mechanism, context, and outcome coding. Results: The evidence converges on four hazards: hallucinated or regression-captured assertions that certify existing faults, coverage gains unmatched by fault sensitivity, nondeterministic tests that erode trust in the build signal, and leakage or injection through prompts and agent tools. Marginal mutation analysis, rerun screening, requirement tracing, sandboxed execution, and evidence-informed review address these hazards unevenly. Contribution: The article proposes GATES, a framework of five constructs (grounding in intent, adversarial fault sensitivity, test determinism, endorsement, and security containment) with measures, gating rules, six falsifiable propositions, and a staged evaluation design. Implications: Generated tests should be admitted on fault-revealing, requirement-linked evidence, never on pass rates alone.