Risk-Aware Validation of LLM-Based Software Testing: Selective Test Acceptance, Metamorphic Relation Validation, and Intelligent Failure Reporting
Large language models (LLMs) are increasingly used to generate software tests, interpret execution traces, and summarize failures. Their probabilistic outputs, however, create a quality-assurance challenge: a generated test may be syntactically plausible but invalid, a metamorphic relation may encode an incorrect expectation, and an LLM-generated failure report may confidently misidentify a defect. Existing approaches commonly evaluate generation quality, execution outcomes, or reporting quality separately, leaving the reliability of the complete decision pipeline insufficiently controlled. This paper develops a risk-aware quality-engineering framework that couples test generation with evidence validation, calibrated confidence, impact-sensitive decision thresholds, and human escalation. The framework organizes test generation into intent-based, session-based, and autonomous-exploration modes; treats metamorphic relations as hypotheses that require validation; and separates observed execution evidence from model-generated explanations. A formal decision model is presented for routing candidate results to automated acceptance, human review, or regeneration. MeTMaP and AutoMT are examined as motivating examples of metamorphic testing in retrieval-augmented generation and autonomous-driving systems. Rather than claiming unverified performance gains, the paper specifies an empirical evaluation protocol covering executable-test rate, relation validity, defect-detection performance, report accuracy, calibration, review effort, and total cost. The contribution is a testable architecture and evaluation agenda for risk-aware selective validation of LLM-assisted software testing. Experimental effectiveness remains to be established through implementation and evaluation.
Authors
- Kiran Paul Kanikaram (ORCID: https://orcid.org/0009-0004-5146-3993)
Institutions
- Electronics Testing Center (TW)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24756355
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00