基于大语言模型生成测试用例的方法、装置和设备
By using a test case generation method based on a large language model, test requirements are parsed and prompt words are constructed to generate test cases that conform to the system's business logic. This solves the problem of conflicts between existing tools and system processes, and achieves seamless integration and efficiency improvement.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HANGZHOU FEIZHIYUN INFORMATION TECH CO LTD
- Filing Date
- 2025-08-12
- Publication Date
- 2026-07-17
AI Technical Summary
Existing automated test case generation tools conflict with system workflows, leading to test failures or increased maintenance costs, and making it difficult to seamlessly integrate them into existing systems.
The method for generating test cases based on a large language model obtains the type, application domain, and business process by parsing test requirements, constructs prompt words, and generates test cases using a pre-trained large language model, ensuring that they conform to the system's business logic and state machine contract.
The generated test cases naturally conform to the system's business logic, achieving seamless integration with the existing system, improving testing efficiency and reducing maintenance costs.
Smart Images

Figure CN120803950B_ABST