Enhancing Requirements via Structured Formalization and Process‐State Consistency Validation: An LLM‐Assisted Test‐Driven Framework. Li, H. & Zheng, L. IET Software, 2025(1):6714956, January, 2025.
Enhancing Requirements via Structured Formalization and Process‐State Consistency Validation: An LLM‐Assisted Test‐Driven Framework [link]Paper  doi  abstract   bibtex   
Though ensuring logical consistency between flows in use case specifications (UCSs) and high‐level business processes is a prerequisite and foundation for generating high‐quality, full‐coverage test cases, this task still primarily relies on manual effort. To address this limitation, a large language model (LLM)‐assisted test‐driven approach is proposed, which introduces a formal structure to guide LLMs in generating UCSs based on natural language requirements. Specifically, to validate the consistency of UCS flows with high‐level business process logic, UML activity and state machine diagrams are used as specific modeling methods for such processes. Furthermore, three novel rules are proposed to validate the consistency: business objects are incorporated to not only horizontally connect UCSs with these models but also vertically bridge different abstraction levels of requirements. To normalize this methodology, a comprehensive framework is established—this framework enables bidirectional traceability between requirements and testing while simultaneously building a feedback loop that integrates requirements, testing, and process models. Experimental results show that the approach not only improves the requirements specification quality but also facilitates semi‐automatic generation of test cases for acceptance testing, thereby enhancing the efficiency of the overall development process.
@article{li_enhancing_2025,
	title = {Enhancing {Requirements} via {Structured} {Formalization} and {Process}‐{State} {Consistency} {Validation}: {An} {LLM}‐{Assisted} {Test}‐{Driven} {Framework}},
	volume = {2025},
	issn = {1751-8806, 1751-8814},
	shorttitle = {Enhancing {Requirements} via {Structured} {Formalization} and {Process}‐{State} {Consistency} {Validation}},
	url = {https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/sfw2/6714956},
	doi = {10.1049/sfw2/6714956},
	abstract = {Though ensuring logical consistency between flows in use case specifications (UCSs) and high‐level business processes is a prerequisite and foundation for generating high‐quality, full‐coverage test cases, this task still primarily relies on manual effort. To address this limitation, a large language model (LLM)‐assisted test‐driven approach is proposed, which introduces a formal structure to guide LLMs in generating UCSs based on natural language requirements. Specifically, to validate the consistency of UCS flows with high‐level business process logic, UML activity and state machine diagrams are used as specific modeling methods for such processes. Furthermore, three novel rules are proposed to validate the consistency: business objects are incorporated to not only horizontally connect UCSs with these models but also vertically bridge different abstraction levels of requirements. To normalize this methodology, a comprehensive framework is established—this framework enables bidirectional traceability between requirements and testing while simultaneously building a feedback loop that integrates requirements, testing, and process models. Experimental results show that the approach not only improves the requirements specification quality but also facilitates semi‐automatic generation of test cases for acceptance testing, thereby enhancing the efficiency of the overall development process.},
	language = {en},
	number = {1},
	urldate = {2026-01-14},
	journal = {IET Software},
	author = {Li, Haibo and Zheng, Lixiao},
	editor = {Górski, Tomasz},
	month = jan,
	year = {2025},
	keywords = {/unread},
	pages = {6714956},
}

Downloads: 0