一种测试用例的生成方法、装置及存储介质

By obtaining the user-configured test strategy, the topology and process path of the test factors are generated, and test cases are automatically generated. This solves the problems of low efficiency and unstable quality of test case generation in existing technologies, and achieves efficient and stable test case generation.

CN116126695BActive Publication Date: 2026-07-17CHINA UNITED NETWORK COMM GRP CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UNITED NETWORK COMM GRP CO LTD
Filing Date
2022-12-28
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In existing technologies, methods for automatically generating test cases cannot be used for full-scale testing during the system testing phase, and manually generated test cases suffer from large quality fluctuations, are time-consuming, and inefficient.

Method used

By acquiring the user-configured test strategy, a topology structure of test factors is generated. Based on the topology structure, a process path is generated, and test plans and their corresponding test cases are automatically generated. The logical order between test factors and the test results are predicted.

Benefits of technology

This eliminates the need for manual test case generation, reducing generation time and improving the efficiency and quality stability of test case generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116126695B_ABST
    Figure CN116126695B_ABST
Patent Text Reader

Abstract

本申请提供一种测试用例的生成方法、装置及存储介质,涉及软件测试领域,用于提高测试用例的生成效率。该方法包括:获取用户配置的测试策略,测试策略指示测试需求文档中N个测试因子的因子值构成的拓扑结构,N为正整数;根据测试策略,生成至少一个测试方案,测试方案指示N个测试因子的因子值构成的拓扑结构中的一个流程路径,流程路径包括顺序排列的M个测试因子的因子值,M个测试因子的因子值为N个测试因子的因子值的子集,M为正整数;根据测试方案及测试方案相关的M个测试因子中各个测试因子对应的测试步骤和预测测试结果,生成测试方案对应的测试用例。
Need to check novelty before this filing date? Find Prior Art