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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Risk-Aware Validation of LLM-Based Software Testing: Selective Test Acceptance, Metamorphic Relation Validation, and Intelligent Failure Reporting

Kiran Paul Kanikaram
Zenodo (CERN European Organization for Nuclear Research)
Software Testing and Debugging Techniques
article

Risk-Aware Validation of LLM-Based Software Testing: Selective Test Acceptance, Metamorphic Relation Validation, and Intelligent Failure Reporting

Kiran Paul Kanikaram
article en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
Electronics Testing Center (TW)
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon