Method and apparatus for generating test cases based on natural language processing
By generating structured test cases based on natural language processing, the problem of low efficiency and unstable quality in test case generation in existing technologies is solved. It achieves efficient and accurate automated generation of test cases and risk identification, meets regulatory requirements, and improves test coverage and applicability.
Patent Information
- Application Number
- CN202510858957.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-25
- Publication Date
- 2026-06-26
- Estimated Expiration
- 2045-06-25
AI Technical Summary
Existing technologies in software testing suffer from low efficiency in test case generation, unstable quality, weak risk identification capabilities, insufficient compliance assurance, and limited test path construction capabilities, making it difficult to cope with the testing needs of complex and ever-changing business scenarios and high-risk functional modules.
A natural language processing-based approach is adopted to extract key entity information through preprocessing to generate a structured requirement table. This table is then combined with a rule base and semantic similarity algorithm to match test templates, dynamically populate test cases, and introduce a multi-dimensional risk assessment model to mark risk levels and compliance requirements, thereby dynamically creating and expanding test paths.
It significantly improves the automation and accuracy of test case generation, reduces manual intervention, ensures that the generated test cases meet regulatory standards, and enhances test coverage and applicability, especially its test adaptability in high-risk scenarios.