Test case generation method, device and electronic equipment
By acquiring multidimensional data and code coverage information of test cases, determining similarity vectors and performing cluster analysis, and combining this with defect detection potential scoring, the problems of wasted testing resources and low defect discovery efficiency are solved, achieving more efficient defect discovery and resource utilization.
CN122432055APending Publication Date: 2026-07-21INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2026-06-22
- Publication Date
- 2026-07-21
Smart Images

Figure CN122432055A_ABST
Abstract
The application discloses a test case generation method and device and electronic equipment, and relates to the technical field of computers, and comprises the following steps: determining target similarity vectors between test cases according to code coverage information corresponding to the test cases; performing clustering analysis on the test cases based on the target similarity vectors between the test cases, to obtain a multi-cluster test case set; analyzing and processing multi-dimensional test data and code coverage information corresponding to the test cases, to obtain defect detection potential scores corresponding to the test cases; and determining a test case execution sequence in the multi-cluster test case set according to the defect detection potential scores corresponding to the test cases, the code coverage information and the multi-dimensional test data. The subjectivity defects of artificial decision-making can be avoided, the defect discovery speed can be accelerated, the defect detection rate can be improved, and the overall test reliability can be improved based on the similarity clustering and multi-target intelligent sorting mechanism.
Need to check novelty before this filing date? Find Prior Art