From Requirements to Test Cases: An NLP-Based Approach for High-Performance ECU Test Case Automation
Nikitha Medeshetty, Ahmad Nauman Ghazi, Sadi Alawadi, Fahed Alkhabbas

TL;DR
This paper explores NLP techniques, especially rule-based and machine learning methods, to automatically convert natural language requirements into structured test cases for high-performance ECUs, improving efficiency and accuracy.
Contribution
It introduces an NLP-based framework for test case automation, comparing rule-based and NER approaches, and demonstrates the superiority of rule-based methods in accuracy and efficiency.
Findings
Rule-Based method achieved 95% accuracy on simple requirements.
NER method achieved 77.3% accuracy but struggled with complex cases.
Statistical analysis confirmed efficiency and accuracy improvements over manual methods.
Abstract
Automating test case specification generation is vital for improving the efficiency and accuracy of software testing, particularly in complex systems like high-performance Electronic Control Units (ECUs). This study investigates the use of Natural Language Processing (NLP) techniques, including Rule-Based Information Extraction and Named Entity Recognition (NER), to transform natural language requirements into structured test case specifications. A dataset of 400 feature element documents from the Polarion tool was used to evaluate both approaches for extracting key elements such as signal names and values. The results reveal that the Rule-Based method outperforms the NER method, achieving 95% accuracy for more straightforward requirements with single signals, while the NER method, leveraging SVM and other machine learning algorithms, achieved 77.3% accuracy but struggled with complex…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
