Test case generation method, device and equipment

Automatically generate test cases through pre-trained large language models in vertical fields, solving the problems of low test case generation efficiency and poor quality in the existing technology, and achieving efficient and accurate test case generation.

CN118377723BActive Publication Date: 2024-10-18北京电科智芯科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410799971.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-18
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

In the existing technology, the test case generation efficiency is low and the quality is difficult to guarantee. It mainly relies on manual writing and template selection, resulting in uneven business levels.

Method used

Using pre-trained large language models in vertical fields, the test case content is automatically generated by planning generation strategies and generating requirement generation prompt instructions, and quality assessment is performed to improve generation efficiency and accuracy.

Benefits of technology

It realizes the automatic generation of test cases, improves the generation efficiency and quality, reduces manual participation, and enhances the accuracy and completeness of test cases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118377723B_ABST
    Figure CN118377723B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of test cases, and discloses a test case generation method, device and equipment, the method comprising: planning the generation strategy corresponding to each element contained in the test case to be generated; generating prompt instructions corresponding to each element according to the generation strategy and generation requirements corresponding to each element, inputting the prompt instructions corresponding to each element into a pre-trained vertical domain large language model to generate the content corresponding to each element; the vertical domain large language model is trained according to the vertical domain knowledge corpus and the use case case library corresponding to the test case; filling in the content corresponding to each element according to the use case template to generate a test case. The technical solution disclosed in the present application uses a pre-trained vertical domain large language model to automatically generate test cases, thereby improving the efficiency of test case generation, and improving the accuracy and completeness of test case generation, so as to improve the quality of the generated test cases.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of test case technology, and in particular to a test case generation method, device and equipment. Background Art

[0002] A test case is a set of test inputs, execution conditions, and expected effects compiled for a specific purpose in order to test a program path or verify whether a specific requirement is met.

[0003] At present, test cases are mainly written manually, or selected manually based on a set template, and modified and confirmed manually. Generating test cases in the above way will result in low test case generation efficiency, and the writing quality will be difficult to guarantee due to the uneven professional level of the writers.

[0004] In summary, how to improve the efficiency and quality of test case generation is a technical problem that needs to be urgently solved by technical personnel in this field. Summary of the invention

[0005] In view of this, the purpose of this application is to provide a test case generation method, device and equipment to improve the efficiency and quality of test case generation.

[0006] In order to achieve the above objectives, this application provides the following technical solutions:

[0007] A test case generation method, comprising:

[0008] Plan the generation strategy corresponding to each element contained in the test case to be generated; generate prompt instructions corresponding to each element according to the generation strategy and generation requirements corresponding to each element, input the prompt instructions corresponding to each element into a pre-trained vertical domain big language model to generate content corresponding to each element; the vertical domain big language model is trained according to the vertical domain knowledge corpus and use case case library corresponding to the test case; fill in the content corresponding to each element according to the use case template to generate the test case.

[0009] Optionally, a vertical domain large language model is obtained by training according to the vertical domain knowledge corpus and the use case case library corresponding to the test case, including: pre-training the base model using the vertical domain knowledge corpus; and fine-tuning the pre-trained base model using the use case case library to obtain the vertical domain large language model.

[0010] Optionally, the generation strategy includes: zero-shot generation strategy, few-shot generation strategy and retrieval-enhanced generation strategy; prompt instructions corresponding to each element are generated according to the generation strategy and generation requirements corresponding to each element, including: when the generation strategy corresponding to the element is the zero-shot generation strategy, the prompt instruction is generated according to the generation requirement of the element; when the generation strategy corresponding to the element is the few-shot generation strategy, the use case case library is searched according to the generation requirement of the element to obtain similar element examples, and the prompt instruction is generated according to the generation requirement of the element and the similar element examples; when the generation strategy corresponding to the element is the retrieval-enhanced generation strategy, the test knowledge base is searched according to the generation requirement of the element to obtain the associated context, and the prompt instruction is generated according to the generation requirement of the element and the associated context.

[0011] Optionally, before filling in the content corresponding to each of the elements according to the use case template to generate the test case, it also includes: performing quality assessment on the content corresponding to each of the elements; if the content corresponding to each of the elements passes the quality assessment, executing the step of filling in the content corresponding to each of the elements according to the use case template to generate the test case; if there is a target element whose content does not pass the quality assessment, the content of the element that passes the quality assessment is filled in according to the use case template, and the generation strategy corresponding to the target element is re-planned, and the corresponding prompt instruction is generated according to the re-planned generation strategy and generation requirements corresponding to the target element, and the prompt instruction is input into the vertical field large language model to generate the content corresponding to the target element, and the quality assessment is performed on the content corresponding to the target element. If the quality assessment passes, the content corresponding to the target element is filled in according to the use case template; if the quality assessment fails, returning to the step of re-planning the generation strategy of the target element until the content corresponding to the target element is filled in according to the use case template, or until the number of iterations exceeds the preset number; if the number of iterations exceeds the preset number, a prompt is output that the content corresponding to the target element cannot be generated.

[0012] Optionally, performing a quality assessment on the content corresponding to each of the elements includes: performing a usability assessment and a completeness assessment on the content corresponding to the element.

[0013] Optionally, a usability evaluation is performed on the content corresponding to the element, including: obtaining a first entry associated with the content corresponding to the element from a test knowledge base; constructing a first prompt template according to the content corresponding to the element, the first entry and the prerequisites in the test case, inputting the first prompt template into the vertical field large language model, and obtaining a judgment result of whether the content corresponding to the element is essential content.

[0014] Optionally, a completeness assessment is performed on the content corresponding to the element, including: obtaining a second entry associated with the content corresponding to the element from the use case case library; constructing a second prompt template based on the content corresponding to the element, the second entry and the prerequisites in the test case, inputting the second prompt template into the vertical field large language model, and obtaining a judgment result on whether the content corresponding to the element is available content.

[0015] Optionally, if the element includes sub-elements, the method further includes: after determining that the content corresponding to the element passes the usability evaluation, performing usability evaluation on the content corresponding to the sub-elements in the element;

[0016] Performing a completeness evaluation on the content corresponding to the element, including: performing a completeness evaluation on the content corresponding to the sub-element in the element.

[0017] A test case generation device comprises: a planning module for planning generation strategies corresponding to various elements contained in a test case to be generated; a generation module for generating prompt instructions corresponding to each element according to the generation strategies and generation requirements corresponding to each element, inputting the prompt instructions corresponding to each element into a pre-trained vertical domain large language model to generate content corresponding to each element; the vertical domain large language model is trained based on the vertical domain knowledge corpus and use case case library corresponding to the test case; and a filling module for filling in the content corresponding to each element according to a use case template to generate the test case.

[0018] A test case generation device comprises: a memory for storing a computer program; and a processor for implementing the steps of any one of the test case generation methods described above when executing the computer program.

[0019] The present application provides a test case generation method, device and equipment, wherein the method includes: planning the generation strategy corresponding to each element contained in the test case to be generated; generating prompt instructions corresponding to each element according to the generation strategy and generation requirements corresponding to each element, inputting the prompt instructions corresponding to each element into a pre-trained vertical domain large language model to generate content corresponding to each element; the vertical domain large language model is trained according to the vertical domain knowledge corpus and use case case library corresponding to the test case; filling in the content corresponding to each element according to the use case template to generate a test case.

[0020] The above technical solution disclosed in the present application is to obtain a vertical domain large language model by pre-training according to the vertical domain knowledge corpus and the use case case library corresponding to the test case. When generating a test case, the generation strategy corresponding to each element contained in the test task to be generated is planned, and the prompt instructions corresponding to each element are generated based on the generation strategy and generation requirements corresponding to each element, and the content corresponding to each element is input into the pre-trained vertical domain large language model to generate the content corresponding to each element. Then, the content corresponding to each element is filled in according to the use case template to generate the test case. Through the above implementation, the pre-trained vertical domain large language model is used to automatically generate test cases without human participation, thereby improving the efficiency of test case generation, and improving the accuracy and completeness of test case generation, so as to improve the quality of the generated test cases.

[0021] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A flowchart of a test case generation method provided in an embodiment of the present application;

[0023] Figure 2 A schematic diagram of a test case generation architecture provided in an embodiment of the present application;

[0024] Figure 3 A flowchart of quality assessment of content corresponding to an element provided in an embodiment of the present application;

[0025] Figure 4 A schematic diagram of the structure of a test case generation device provided in an embodiment of the present application;

[0026] Figure 5 A schematic diagram of the structure of a test case generation device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] At present, test cases are mainly written manually, or selected manually based on a set template, and modified and confirmed manually. Generating test cases in the above way will result in low test case generation efficiency, and the writing quality will be difficult to guarantee due to the uneven professional level of the writers.

[0028] To this end, the present application provides a test case generation method, apparatus and device for improving the efficiency and quality of test case generation.

[0029] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0030] See also Figure 1 , which shows a flow chart of a test case generation method provided by an embodiment of the present application. A test case generation method provided by an embodiment of the present application may include:

[0031] S11: Plan the generation strategy corresponding to each element included in the test case to be generated.

[0032] It should be noted that the test case to be generated contains multiple elements, such as the elements of the test project and the structure of the test project organization, the test sequence number, the test title, the importance level, the preset conditions, the test input, the test steps, etc. In the embodiment of the present application, the elements contained in the test case to be generated can be obtained according to the use case template corresponding to the test case to be generated. Specifically, each element can be extracted based on the test template elements and then the subsequent process can be executed, wherein the use case template can contain the main elements such as the elements of the test project and the structure of the test project organization, the test sequence number, the test title, the importance level, the preset conditions, the test input, the test steps, etc. (the actual elements may vary according to different specific conditions).

[0033] In an embodiment of the present application, when generating a test case, for each element included in the test case to be generated, the task planner can be used to first plan the generation strategy corresponding to each element. The generation strategy mentioned here is specifically the generation strategy of the prompt instruction corresponding to the element. The prompt instruction is used to input into the pre-trained vertical domain large language model to generate the content corresponding to the element, that is, the generation strategy corresponding to the element mentioned above can also be regarded as the generation strategy of the content corresponding to the element. By planning the generation strategy of each element in the test case to be generated, it is convenient to generate a more appropriate prompt instruction based on the planned generation strategy, so as to improve the quality of the generated content when the large language model generates the content corresponding to the element based on the prompt instruction, thereby facilitating the improvement of the generation quality of the test case.

[0034] Each element included in the test case to be generated may correspond to a generation task, and the generation strategy corresponding to each element included in the test case to be generated may be: planning the generation strategy corresponding to each element according to the situation of the generation task of each element. The generation strategy mentioned above may be, for example, a zero-shot generation strategy, a few-shot generation strategy, a retrieval enhancement generation strategy, etc.

[0035] S12: Generate prompt instructions corresponding to each element according to the generation strategy and generation requirements corresponding to each element, input the prompt instructions corresponding to each element into the pre-trained vertical domain large language model, and generate the content corresponding to each element; the vertical domain large language model is trained according to the vertical domain knowledge corpus and use case case library corresponding to the test case.

[0036] After planning the generation strategy, corresponding actions can be executed, and specific execution actions may include: test object element selection, prompt context assembly, and prompt instruction generation. Specifically, after planning the generation strategy corresponding to the element, the prompt instruction corresponding to the element is generated according to the generation strategy corresponding to the element and the generation requirement corresponding to the element, wherein the generation requirement corresponding to the element can be set and input by relevant personnel based on the technical documents, user manuals, public knowledge, etc. of the test object of the test case, or can be set and input by relevant personnel based on experience.

[0037] After the prompt instructions corresponding to the elements are generated, the large language model can be used to generate the content corresponding to the elements based on the prompt instructions corresponding to the elements. Considering that the generation tasks in vertical fields have unique business characteristics and forms of expression, and the data used for general large language model training cannot cover the business problems in vertical fields, the general large language model cannot be adequately trained on the generation tasks in vertical fields, so that the general large language model itself is insufficient in the accuracy and completeness of generating test cases, and cannot be directly applied to the generation of test cases. For this reason, the embodiment of the present application trains a large language model in the vertical field of the test, which can be used to generate test cases in the corresponding vertical field to improve the accuracy and completeness of test case generation. Specifically, before generating a test case, the vertical domain knowledge corpus and the use case case library corresponding to the test case to be generated can be obtained in advance, wherein the vertical domain knowledge corpus is the knowledge corpus of the vertical field corresponding to the test case to be generated (specifically, it can be the knowledge corpus corresponding to the test vertical field), and the use case case library corresponding to the test case to be generated stores historical test cases (which can be historical test cases that are the same or similar to the test object, test function, test method or elements contained in the test case to be generated). Specifically, the use case case library corresponding to the test case to be generated can be the past excellent knowledge test cases accumulated by the business platform (that is, excellent historical test cases). After obtaining the vertical domain knowledge corpus and the use case case library corresponding to the test case to be tested, the general large language model can be trained according to the vertical domain knowledge corpus corresponding to the test case to be tested and the use case case library corresponding to the test case to be tested, so as to obtain the vertical domain large language model corresponding to the test case to be generated, so as to enhance the ability of the large language model, so that the vertical domain large language model obtained by pre-training can be specifically applicable to the generation of test cases in the corresponding vertical field, and improve the accuracy and completeness of the generated test cases.

[0038] On the basis of the pre-trained vertical field big language model, after the prompt instructions corresponding to the elements are generated, the prompt instructions corresponding to the elements can be input into the pre-trained vertical field big language model to generate the content corresponding to the corresponding elements.

[0039] It should be noted that the above two steps can be performed in turn for each element included in the test case to be generated, that is, first plan a generation strategy corresponding to an element, then generate the prompt instruction corresponding to the element according to the generation strategy and generation requirements corresponding to the element, input the prompt instruction corresponding to the element into the pre-trained vertical field big language model, generate the content corresponding to the element, and then plan the generation strategy corresponding to the next element... until the content corresponding to the last element is generated using the pre-trained vertical field big language model.

[0040] S13: Fill in the content corresponding to each element according to the use case template to generate a test case.

[0041] After using the vertical field big language model to generate the content corresponding to each element, the content corresponding to each element can be filled in according to the use case template, that is, the content corresponding to the element can be filled in according to the format of the use case template, that is, the content can be filled in according to the structure of the use case template, thereby generating a test case.

[0042] From the above, it can be seen that for the test vertical field, the embodiment of the present application pre-trains and constructs a vertical field big language model for automatic generation of test cases based on the vertical field knowledge corpus and use case case library corresponding to the test cases, and uses the vertical field big language model to automatically generate test cases, replacing the traditional manual writing-based method, thereby improving the efficiency of test case generation, and improving the accuracy and completeness of test case generation.

[0043] The above technical solution disclosed in the embodiment of the present application is to obtain a vertical field large language model by pre-training according to the vertical field knowledge corpus and the use case case library corresponding to the test case. When generating a test case, the generation strategy corresponding to each element contained in the test task to be generated is planned, and the prompt instructions corresponding to each element are generated based on the generation strategy and generation requirements corresponding to each element, and the content corresponding to each element is input into the pre-trained vertical field large language model to generate the content corresponding to each element. Then, the content corresponding to each element is filled in according to the use case template to generate the test case. Through the above implementation, the pre-trained vertical field large language model is used to automatically generate test cases without human participation, thereby improving the efficiency of test case generation, and improving the accuracy and completeness of test case generation, so as to improve the quality of the generated test cases.

[0044] A test case generation method provided in an embodiment of the present application, which obtains a vertical domain large language model by training the vertical domain knowledge corpus and the use case case library corresponding to the test case, may include:

[0045] Use vertical domain knowledge corpus to pre-train the base model;

[0046] The pre-trained base model is fine-tuned using the use case library to obtain a large language model in a vertical field.

[0047] In an embodiment of the present application, the specific process of training a vertical domain large language model based on the vertical domain knowledge corpus and the use case case library corresponding to the test case can be: (1) using the vertical domain knowledge corpus, the base model is enhanced pre-trained based on unsupervised training; (2) the pre-trained base model is fine-tuned by instruction based on the use case case library, and the ability of "problem-->solution" (i.e., problem to corresponding solution) is enhanced in turn. Among them, the base model mentioned in step (1) can be the base model of GLM, that is, SFT (instruction fine-tuning) can be performed on the basis of the base model of GLM to obtain a vertical domain large language model.

[0048] The data structure of the training model may be in the form of JSON (a lightweight data exchange format): {input, instruction, output}, where the input may specifically include: a. the original generated task prompt; b. the prompt enhanced with the associated context after retrieval; c. the prompt after merging similar use cases.

[0049] For the above step (2), first, a training data set can be constructed based on the historical sample data in the use case library, and the training data set can be used for training to obtain a large language model in the vertical field.

[0050] Through the above process, the trained vertical domain big language model has the ability to analyze grammar, skills, etc. in the test vertical domain, and enables the vertical domain big language model to have better performance when generating content corresponding to the elements, thereby improving the quality of the generated test cases.

[0051] A test case generation method provided in an embodiment of the present application, wherein the generation strategy may include: a zero-shot generation strategy, a few-shot generation strategy, and a retrieval enhancement generation strategy;

[0052] Generate prompt instructions corresponding to each element according to the generation strategy and generation requirements corresponding to each element, which may include:

[0053] When the generation strategy corresponding to the element is the zero-shot generation strategy, a prompt instruction is generated according to the generation requirements of the element;

[0054] When the generation strategy corresponding to the element is a few-shot generation strategy, the use case library is searched according to the generation requirements of the element to obtain similar element examples, and prompt instructions are generated according to the generation requirements of the element and the similar element examples;

[0055] When the generation strategy corresponding to the element is the retrieval enhancement generation strategy, the test knowledge base is searched according to the generation requirements of the element to obtain the associated context, and prompt instructions are generated according to the generation requirements of the element and the associated context.

[0056] In an embodiment of the present application, the generation strategy planned by the task planner may specifically include a zero-shot generation strategy, a few-shot generation strategy, and a retrieval-enhanced generation strategy. Among them, the zero-shot generation strategy is to simply provide the task problem to the model and require a result. The few-shot generation strategy helps the model understand the task by providing a small number of labeled samples (i.e., examples). These examples usually include input and expected output, so that the model can more accurately grasp the nature and requirements of the task. The retrieval-enhanced generation strategy is to retrieve information related to the user's question from an external database, and then let the large language model generate results based on these relevant information, so as to enhance the ability of the large language model to generate accurate and relevant answers with the help of an external database.

[0057] When planning the generation strategy corresponding to each element included in the test case to be generated, the generation requirements of the elements can be obtained, and the use case case library can be searched according to the generation requirements of the elements. For example, the generation requirements of the elements and each piece of data in the use case case library can be vectorized, and the cosine similarity between the vector corresponding to the generation requirement and each vector converted in the use case case library is calculated. If there is a cosine similarity greater than the first preset similarity, it is determined that there are similar element examples in the use case case library. If there is no cosine similarity greater than the first preset similarity, it is determined that there are no similar element examples in the use case case library. If a similar element example can be detected in the use case case library, the generation strategy corresponding to the element is planned to be a few-shot generation strategy. If a similar element example cannot be detected in the use case case library, a search is performed in the test knowledge base according to the element generation requirements, wherein the test knowledge base contains technical documents, user manuals, industry knowledge data, etc. related to the test project (or test object). The above-mentioned search can, for example, perform vector conversion on the element generation requirements and each piece of data in the test knowledge base, calculate the cosine similarity between the vector corresponding to the element generation requirements and each vector converted in the test knowledge base, and if the cosine similarity is greater than the second preset similarity, it is determined that there is an associated context corresponding to the element generation requirements in the test knowledge base, and if there is no cosine similarity greater than the second preset similarity, it is determined that there is no associated context corresponding to the element generation requirements in the test knowledge base. If the associated context corresponding to the element generation requirements can be detected in the test knowledge base, the generation strategy corresponding to the element is planned to be a retrieval enhancement generation strategy, and if the associated context corresponding to the element generation requirements cannot be detected in the test knowledge base, the generation strategy corresponding to the element is planned to be a zero-shot generation strategy. At present, in the above process, it is also possible to first search in the test knowledge base according to the element generation requirements, and then determine whether to search in the use case case library based on the search results.

[0058] When the generation strategy corresponding to the planning element is the zero-shot generation strategy, the prompt generation capability of the large language model is directly applied to the content of the initial content, that is, the prompt instruction is generated according to the generation requirements of the element. When the generation strategy corresponding to the planning element is the few-shot generation strategy, the use case case library can be retrieved according to the generation requirements of the element to obtain similar element examples, and then the generation requirements of the element and the similar element examples obtained by retrieving the use case case library can be combined into a new requirement of the element, and the prompt instruction corresponding to the element is generated according to the new requirement of the element obtained by the combination, so as to provide more targeted content generation guidance, thereby improving the quality of the generated content. When the generation strategy corresponding to the planning element is the retrieval enhancement generation strategy, the test knowledge base can be retrieved according to the generation requirements of the element to obtain the associated context, and then the generation requirements of the element and the associated context obtained by retrieving the test knowledge base can be combined into a new requirement of the element, and the prompt instruction corresponding to the element is generated according to the new requirement of the element obtained by the combination, so as to provide associated context information, thereby improving the quality of the generated content.

[0059] By setting multiple generation strategies, selecting appropriate generation strategies, and generating prompt instructions according to appropriate generation strategies, the vertical domain large language model can smoothly generate test cases. When a few-shot generation strategy or a retrieval enhancement generation strategy is selected as the generation strategy corresponding to the element, the quality of the generated test cases can also be improved.

[0060] See also Figure 2 , which shows a schematic diagram of a test case generation architecture provided by an embodiment of the present application. A test case generation method provided by an embodiment of the present application, before filling in the content corresponding to each element according to the use case template to generate a test case, may also include:

[0061] Conduct quality assessment on the content corresponding to each element;

[0062] If the contents corresponding to each element have passed the quality assessment, the steps of filling in the contents corresponding to each element according to the use case template to generate a test case are executed;

[0063] If there is content corresponding to the target element that fails the quality assessment, the content of the element that passes the quality assessment will be filled in according to the use case template, and the generation strategy corresponding to the target element will be re-planned. The corresponding prompt instruction will be generated according to the re-planned generation strategy and generation requirements of the target element, and the prompt instruction will be input into the vertical field large language model to generate the content corresponding to the target element. The quality assessment is performed on the content corresponding to the target element. If the quality assessment is passed, the content corresponding to the target element will be filled in according to the use case template. If the quality assessment is not passed, the step of re-planning the generation strategy of the target element is returned to execute until the content corresponding to the target element is filled in according to the use case template to generate a test case, or until the number of iterations exceeds the preset number; if the number of iterations exceeds the preset number, a prompt is output indicating that the content corresponding to the target element cannot be generated.

[0064] In the embodiment of the present application, before filling in the content corresponding to each element according to the use case template, a quality assessor can also be used to perform a quality assessment on the content corresponding to each element generated by the vertical field large language model. The quality assessment can be performed on the content corresponding to each element when the content corresponding to the element is generated, or the quality assessment can be performed on the content corresponding to each element in turn after the content corresponding to all elements is generated.

[0065] If the contents corresponding to each element pass the quality assessment, it means that there is no problem with the contents corresponding to each element, and test cases can be generated. At this time, the contents corresponding to each element can be filled in according to the use case template to generate test cases.

[0066] If there are target elements whose contents fail the quality assessment (target elements are elements that fail the quality assessment), the elements that pass the quality assessment can be filled in according to the use case template. For target elements that fail the quality assessment, the generation strategy of the target elements can be re-planned. For example, when the last generation strategy of the target element is the zero-shot generation strategy, the target element can be searched in the use case case library according to the content corresponding to the target element (i.e., the content generated last time). If a similar element example is detected in the use case case library, the generation strategy corresponding to the target element can be re-planned as the few-shot generation strategy. If a similar element example is not detected in the use case case library, the target element can be detected in the test knowledge base. If the corresponding associated context is retrieved in the test knowledge base, the generation strategy corresponding to the target element can be re-planned as the retrieval enhancement generation strategy. Or when the last generation strategy of the target element is the few-shot generation strategy, the target element can be detected in the test knowledge base according to the content corresponding to the target element. If the corresponding associated context is retrieved in the test knowledge base, the generation strategy corresponding to the target element can be re-planned as the retrieval enhancement generation strategy, etc. After re-planning the generation strategy corresponding to the target element, the prompt instruction corresponding to the target element can be generated according to the re-planned generation strategy and generation requirements corresponding to the target element, and the prompt instruction corresponding to the generated target element can be input into the vertical domain large language model to generate the content corresponding to the target element. Then, the quality assessment is performed on the content corresponding to the generated target element. If the quality assessment passes, the content corresponding to the generated target element is filled in according to the use case template. If the quality assessment fails, the step of re-planning the generation strategy of the target element is returned until the content corresponding to the generated target element passes the quality assessment and the content corresponding to the generated target element is filled in according to the use case template, or until the number of iterations (planning the generation strategy corresponding to the element, generating the prompt instruction according to the planned generation strategy corresponding to the element, inputting the prompt instruction into the vertical domain large language model to generate the content corresponding to the element, and performing quality assessment on the content corresponding to the generated element are the steps executed in one iteration) exceeds the preset number of times (the size of the preset number of times can be set according to experience or needs). Among them, if the content corresponding to the target element is filled in according to the use case template, a test case with relatively high quality can be successfully generated. If the number of iterations exceeds the preset number, it indicates that the content corresponding to the target element that passes the quality assessment cannot be generated. At this time, a prompt that the content corresponding to the target element cannot be generated can be output, so that relevant personnel can generate the content corresponding to the target element according to the prompt to generate a test case, or relevant personnel can also enrich the use case case library and / or test knowledge base in order to re-plan the generation strategy corresponding to the target element and other processing.

[0067] Exemplarily, for a certain element in a test case, the generation strategy corresponding to the element is first planned as a zero-shot generation strategy, and a prompt is constructed according to the generation requirements of the element and input into the vertical domain large language model to generate the initial content corresponding to the element. The initial content corresponding to the element is evaluated for quality. If the initial content corresponding to the element fails the quality evaluation, the generation strategy corresponding to the element is planned as a retrieval enhancement generation strategy. Based on the initial content corresponding to the element, a search is performed in the test knowledge base, and the associated context is recalled. A prompt instruction is generated based on the initial content corresponding to the element and the associated context. The prompt instruction is input into the vertical domain large language model to generate the intermediate content corresponding to the element, and the secondary generation is realized. The intermediate content corresponding to the element is evaluated for quality. If the initial content corresponding to the element fails the quality evaluation, the generation strategy corresponding to the element is planned as a few-shot generation strategy. Based on the intermediate content corresponding to the element, a search is performed in the use case case library to obtain similar element examples. Prompt instructions are generated according to the generation requirements of the element and similar element examples. The prompt instruction is input into the vertical domain large language model to generate the content corresponding to the element, and the third enhanced generation is realized. Through the above process, a test case generation scheme integrating the three capabilities of atomic generation, retrieval enhanced generation and context generation is established.

[0068] Through the above process, a technology for automatically evaluating generated content is established, which can automatically evaluate the quality of the content corresponding to each element generated by the large language model in the vertical field, help business personnel to quickly evaluate the generated test cases, guide the iterative optimization of the generation process, and improve the quality of test case generation.

[0069] A test case generation method provided in an embodiment of the present application performs quality assessment on the content corresponding to each element, which may include:

[0070] Conduct usability and completeness assessments on the content corresponding to the elements.

[0071] In the embodiment of the present application, the quality assessment of the content corresponding to the element may specifically be a usability assessment and a completeness assessment of the content corresponding to the element. If the content corresponding to the element fails the usability assessment or fails the completeness assessment, it is determined that the content corresponding to the element fails the quality assessment. If the content corresponding to the element passes the usability assessment and the completeness assessment, it is determined that the content corresponding to the element passes the quality assessment.

[0072] Specifically, the usability assessment and completeness assessment of the content corresponding to the element may be: firstly, the usability assessment is performed on the content corresponding to the element; if the content corresponding to the element passes the usability assessment, then the completeness assessment is performed on the content corresponding to the element, so as to improve the efficiency of quality assessment.

[0073] Through the above, a comprehensive quality assessment of the content corresponding to the elements can be achieved to improve the accuracy and completeness of test case generation.

[0074] A test case generation method provided in an embodiment of the present application performs usability evaluation on the content corresponding to the element, which may include:

[0075] Obtaining, from the test knowledge base, a first entry associated with the content corresponding to the element;

[0076] A first prompt template is constructed according to the content corresponding to the element, the first item and the prerequisites in the test case, and the first prompt template is input into the vertical field large language model to obtain a judgment result on whether the content corresponding to the element is essential content.

[0077] In an embodiment of the present application, when performing usability evaluation on the content corresponding to an element, the evaluation may be performed based on retrieval recall, and a comparative analysis of the element evaluation may be performed based on the consistency of a large language model in a vertical field.

[0078] Specifically, after using the vertical domain large language model to generate the content corresponding to the element, the test knowledge base can be searched according to the content corresponding to the element, and the first entry associated with the content corresponding to the element can be obtained from the test knowledge base. Here, the most relevant top-k contextual knowledge (i.e., the most relevant top-k first entries) can be selected from the test knowledge base according to the rouge (recall-oriented understudy for gisting evaluation, measuring the quality of translation according to the recall rate) indicator, and then the content corresponding to the element, the first entry obtained, and the prerequisite in the test case (i.e., the information of the completed elements in the test case, or the completed element information of the use case template) are combined to construct the first prompt template. After that, the first prompt template is input into the vertical domain large language model to obtain the judgment result of whether the content corresponding to the element is the necessary content. If the judgment result is that the content corresponding to the element is the necessary content, it is determined that the content corresponding to the element passes the usability evaluation, and if the judgment result is that the content corresponding to the element is not the necessary content, it is determined that the content corresponding to the element fails the usability evaluation. Among them, when it is determined that the content corresponding to the element is the necessary content, it can be supplemented to the original element content.

[0079] Through the above method, it is possible to automatically perform usability evaluation on the content corresponding to the elements with the help of the test knowledge base and the vertical field large language model, so as to improve the accuracy of usability evaluation and improve the accuracy and completeness of test case generation.

[0080] A test case generation method provided in an embodiment of the present application performs a completeness evaluation on the content corresponding to an element, which may include:

[0081] Obtaining, from the use case case library, a second entry associated with the content corresponding to the element;

[0082] A second prompt template is constructed according to the content corresponding to the element, the second item and the prerequisites in the test case, and the second prompt template is input into the vertical field large language model to obtain a judgment result of whether the content corresponding to the element is available content.

[0083] When evaluating the completeness of the content corresponding to the elements, the evaluation can also be conducted based on retrieval recall, and a comparative analysis of the element evaluation can be conducted based on the consistency of the large language model in the vertical field.

[0084] Specifically, after using the vertical domain large language model to generate the content corresponding to the element, the use case case library can be searched according to the content corresponding to the element, and the second entry associated with the content corresponding to the element can be obtained from the use case case library. Here, the most relevant tok-k contextual knowledge can be selected according to the rouge indicator (that is, the most relevant top-k second entries are selected). Then, the content corresponding to the element, the obtained second entry, and the prerequisite factors in the test case are combined to construct a second prompt template. After that, the second prompt template is input into the vertical domain large language model to obtain a judgment result of whether the content corresponding to the element is available content. If the judgment result is that the content corresponding to the element is available content, it is determined that the content corresponding to the element passes the completeness evaluation. If the judgment result is that the content corresponding to the element is not available content, it is determined that the content corresponding to the element fails the completeness evaluation. Among them, when it is determined that the content corresponding to the element is available content, it can be supplemented to the original element content.

[0085] See also Figure 3 , which shows a flow chart of quality assessment of content corresponding to an element provided by an embodiment of the present application. A test case generation method provided by an embodiment of the present application, if an element includes sub-elements, may also include:

[0086] After determining that the content corresponding to the element has passed the usability evaluation, conduct usability evaluation on the content corresponding to the sub-elements in the element;

[0087] The completeness assessment of the content corresponding to the elements may include:

[0088] Conduct a completeness assessment of the content corresponding to the sub-elements in the element.

[0089] In an embodiment of the present application, if an element contains sub-elements, after determining that the content corresponding to the element passes the usability evaluation, a usability evaluation can be performed on the content corresponding to each sub-element of the element, wherein the specific implementation process of performing usability evaluation on the content corresponding to each sub-element can refer to the above-mentioned detailed description of performing usability evaluation on the content corresponding to the element, which will not be repeated here.

[0090] Moreover, when an element contains sub-elements, performing completeness assessment on the content corresponding to the element may specifically be performing completeness assessment on the content corresponding to each sub-element in the element, wherein the specific implementation process of performing completeness assessment on the content corresponding to each sub-element can refer to the detailed description of performing completeness assessment on the content corresponding to the element above, and will not be repeated here.

[0091] The present application also provides a test case generation device, see Figure 4 , which shows a schematic diagram of the structure of a test case generation device provided in an embodiment of the present application, which may include:

[0092] A planning module 41 is used to plan the generation strategy corresponding to each element included in the test case to be generated;

[0093] A generation module 42 is used to generate prompt instructions corresponding to each element according to the generation strategy and generation requirements corresponding to each element, input the prompt instructions corresponding to each element into a pre-trained vertical domain large language model, and generate content corresponding to each element; the vertical domain large language model is trained based on the vertical domain knowledge corpus and the use case case library corresponding to the test case;

[0094] The filling module 43 is used to fill in the content corresponding to each element according to the use case template to generate a test case.

[0095] A test case generation device provided in an embodiment of the present application includes a training model for obtaining a vertical domain large language model according to a vertical domain knowledge corpus and a use case case library corresponding to the test case. The training model may include:

[0096] Pre-training unit, used to pre-train the base model using vertical domain knowledge corpus;

[0097] The fine-tuning training unit is used to fine-tune the pre-trained base model using the use case library to obtain a large language model in a vertical field.

[0098] A test case generation device provided in an embodiment of the present application, wherein the generation strategy may include: a zero-shot generation strategy, a few-shot generation strategy, and a retrieval enhancement generation strategy;

[0099] The generation module 42 may include:

[0100] A first generating unit, configured to generate a prompt instruction according to a generation requirement of the element when the generation strategy corresponding to the element is a zero-shot generation strategy;

[0101] The second generation unit is used for searching the use case library according to the generation requirements of the elements to obtain similar element examples when the generation strategy corresponding to the element is a few-shot generation strategy, and generating prompt instructions according to the generation requirements of the elements and the similar element examples;

[0102] The third generating unit is used to search the test knowledge base according to the generation requirement of the element to obtain the associated context when the generation strategy corresponding to the element is the retrieval enhancement generation strategy, and generate prompt instructions according to the generation requirement of the element and the associated context.

[0103] A test case generation device provided in an embodiment of the present application may also include:

[0104] The quality assessment module is used to perform quality assessment on the content corresponding to each element before filling in the content corresponding to each element according to the use case template to generate the test case;

[0105] An execution module, for executing the step of filling in the contents corresponding to each element according to the use case template to generate a test case if the contents corresponding to each element have passed the quality assessment;

[0106] The re-planning generation module is used to fill in the content of the elements that have passed the quality assessment according to the use case template if there is content corresponding to the target element that fails to pass the quality assessment, and re-plan the generation strategy corresponding to the target element, generate the corresponding prompt instruction according to the re-planned generation strategy and generation requirements corresponding to the target element, input the prompt instruction into the vertical field large language model, generate the content corresponding to the target element, and perform quality assessment on the content corresponding to the target element. If the quality assessment is passed, the content corresponding to the target element is filled in according to the use case template. If the quality assessment is not passed, it returns to the step of re-planning the generation strategy of the target element until the content corresponding to the target element is filled in according to the use case template to generate a test case, or until the number of iterations exceeds the preset number; if the number of iterations exceeds the preset number, a prompt is output that the content corresponding to the target element cannot be generated.

[0107] The test case generation device provided in the embodiment of the present application may include a quality assessment module:

[0108] The first evaluation unit is used to perform usability evaluation and completeness evaluation on the content corresponding to the element.

[0109] In a test case generation device provided in an embodiment of the present application, a first evaluation unit may include:

[0110] A first acquisition subunit, used to acquire a first entry associated with the content corresponding to the element from the test knowledge base;

[0111] The first construction subunit is used to construct a first prompt template according to the content corresponding to the element, the first item and the prerequisites in the test case, input the first prompt template into the vertical field large language model, and obtain a judgment result of whether the content corresponding to the element is essential content.

[0112] In a test case generation device provided in an embodiment of the present application, a first evaluation unit may include:

[0113] A second acquisition subunit is used to acquire a second entry associated with the content corresponding to the element from the use case case library;

[0114] The second construction subunit is used to construct a second prompt template according to the content corresponding to the element, the second item and the prerequisites in the test case, input the second prompt template into the vertical field large language model, and obtain a judgment result of whether the content corresponding to the element is available content.

[0115] The test case generation device provided in the embodiment of the present application, the quality assessment module may also include:

[0116] A second evaluation unit, configured to, if the element includes sub-elements, perform usability evaluation on the content corresponding to the sub-elements in the element after determining that the content corresponding to the element passes the usability evaluation;

[0117] The first assessment unit may include:

[0118] The evaluation sub-unit is used to evaluate the completeness of the content corresponding to the sub-elements in the element.

[0119] The present application also provides a test case generation device, see Figure 5 , which shows a schematic diagram of the structure of a test case generation device provided in an embodiment of the present application, which may include:

[0120] A memory 51, used for storing computer programs;

[0121] The processor 52, when used to execute the computer program stored in the memory 51, can implement the following steps:

[0122] Plan the generation strategies corresponding to the elements contained in the test cases to be generated; generate prompt instructions corresponding to each element according to the generation strategies and generation requirements corresponding to each element, input the prompt instructions corresponding to each element into the pre-trained vertical domain big language model to generate the content corresponding to each element; the vertical domain big language model is trained according to the vertical domain knowledge corpus and use case case library corresponding to the test case; fill in the content corresponding to each element according to the use case template to generate a test case.

[0123] The present application also provides a readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the following steps can be implemented:

[0124] Plan the generation strategies corresponding to the elements contained in the test cases to be generated; generate prompt instructions corresponding to each element according to the generation strategies and generation requirements corresponding to each element, input the prompt instructions corresponding to each element into the pre-trained vertical domain big language model to generate the content corresponding to each element; the vertical domain big language model is trained according to the vertical domain knowledge corpus and use case case library corresponding to the test case; fill in the content corresponding to each element according to the use case template to generate a test case.

[0125] The description of the relevant parts of a test case generation device, equipment and readable storage medium provided in an embodiment of the present application can be found in the detailed description of the corresponding parts of a test case generation method provided in an embodiment of the present application, and will not be repeated here.

[0126] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any readable storage medium for use by an instruction execution system, device or equipment (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or equipment and execute instructions), or in combination with these instruction execution systems, devices or equipment. For the purpose of this specification, "readable storage medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or equipment, or in combination with these instruction execution systems, devices or equipment. More specific examples (non-exhaustive list) of readable storage media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the readable storage medium may even be paper or other suitable medium on which the program is printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0127] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0128] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0129] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0130] In this application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0131] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A test case generation method, It is characterized in that include: Plan the generation strategy corresponding to each element contained in the test case to be generated; Generate prompt instructions corresponding to each of the elements according to the generation strategies and generation requirements corresponding to each of the elements, input the prompt instructions corresponding to each of the elements into a pre-trained vertical domain large language model, and generate content corresponding to each of the elements; The vertical domain large language model is trained based on the vertical domain knowledge corpus and the use case case library corresponding to the test case; Fill in the content corresponding to each of the elements according to the use case template to generate the test case; The generation strategies include: zero-shot generation strategy, few-shot generation strategy and retrieval enhancement generation strategy; Generating prompt instructions corresponding to each of the elements according to the generation strategies and generation requirements corresponding to each of the elements, including: when the generation strategy corresponding to the element is the zero-shot generation strategy, generating the prompt instructions according to the generation requirements of the element; when the generation strategy corresponding to the element is the few-shot generation strategy, searching the use case library according to the generation requirements of the element to obtain similar element examples, and generating the prompt instructions according to the generation requirements of the element and the similar element examples; when the generation strategy corresponding to the element is the retrieval-enhanced generation strategy, searching the test knowledge base according to the generation requirements of the element to obtain the associated context, and generating the prompt instructions according to the generation requirements of the element and the associated context; Before filling in the content corresponding to each of the elements according to the use case template to generate the test case, it also includes: performing quality assessment on the content corresponding to each of the elements; if the content corresponding to each of the elements passes the quality assessment, executing the step of filling in the content corresponding to each of the elements according to the use case template to generate the test case; if there is a target element whose content does not pass the quality assessment, the content of the element that passes the quality assessment is filled in according to the use case template, and the generation strategy corresponding to the target element is re-planned, and the corresponding prompt instruction is generated according to the re-planned generation strategy and generation requirements corresponding to the target element, and the prompt instruction is input into the vertical field large language model to generate the content corresponding to the target element, and the quality assessment is performed on the content corresponding to the target element. If the quality assessment passes, the content corresponding to the target element is filled in according to the use case template; if the quality assessment fails, returning to the step of re-planning the generation strategy of the target element until the content corresponding to the target element is filled in according to the use case template, or until the number of iterations exceeds the preset number; if the number of iterations exceeds the preset number, a prompt is output that the content corresponding to the target element cannot be generated.

2. The test case generation method according to claim 1, It is characterized in that A vertical domain large language model is obtained by training the vertical domain knowledge corpus and the use case case library corresponding to the test case, including: Pre-training the base model using the vertical domain knowledge corpus; The pre-trained base model is fine-tuned using the use case library to obtain the vertical field large language model.

3. The test case generation method according to claim 1, It is characterized in that Conduct a quality assessment of the content corresponding to each of the above elements, including: Conduct usability and completeness assessments on the contents corresponding to the elements.

4. The test case generation method according to claim 3, It is characterized in that Conduct usability assessment on the content corresponding to the above elements, including: Acquire a first entry associated with the content corresponding to the element from a test knowledge base; A first prompt template is constructed according to the content corresponding to the element, the first item and the prerequisites in the test case, and the first prompt template is input into the vertical field large language model to obtain a judgment result of whether the content corresponding to the element is essential content.

5. The test case generation method according to claim 4, It is characterized in that Conduct a completeness assessment of the content corresponding to the above elements, including: Acquire, from the use case case library, a second entry associated with the content corresponding to the element; A second prompt template is constructed according to the content corresponding to the element, the second item and the prerequisites in the test case, and the second prompt template is input into the vertical field large language model to obtain a judgment result of whether the content corresponding to the element is available content.

6. The test case generation method according to claim 5, It is characterized in that If the element includes sub-elements, it also includes: After determining that the content corresponding to the element passes the usability evaluation, performing usability evaluation on the content corresponding to the sub-element in the element; Conduct a completeness assessment of the content corresponding to the above elements, including: Perform a completeness assessment on the content corresponding to the sub-element in the element.

7. A test case generating device, It is characterized in that include: A planning module is used to plan the generation strategy corresponding to each element contained in the test case to be generated; A generation module, used to generate prompt instructions corresponding to each of the elements according to the generation strategies and generation requirements corresponding to each of the elements, input the prompt instructions corresponding to each of the elements into a pre-trained vertical domain large language model, and generate content corresponding to each of the elements; The vertical domain large language model is trained based on the vertical domain knowledge corpus and the use case case library corresponding to the test case; A filling module is used to fill in the content corresponding to each of the elements according to the use case template to generate the test case; The generation strategies include: zero-shot generation strategy, few-shot generation strategy and retrieval enhancement generation strategy; The generation module includes: a first generation unit, which is used to generate the prompt instruction according to the generation requirement of the element when the generation strategy corresponding to the element is the zero-shot generation strategy; a second generation unit, which is used to search the use case case library according to the generation requirement of the element to obtain similar element examples, and generate the prompt instruction according to the generation requirement of the element and the similar element examples when the generation strategy corresponding to the element is the few-shot generation strategy; a third generation unit, which is used to search the test knowledge base according to the generation requirement of the element to obtain the associated context, and generate the prompt instruction according to the generation requirement of the element and the associated context when the generation strategy corresponding to the element is the retrieval enhancement generation strategy; The test case generation device also includes: a quality assessment module, which is used to perform quality assessment on the content corresponding to each of the elements before filling in the content corresponding to each of the elements according to the use case template to generate the test case; an execution module, which is used to execute the step of filling in the content corresponding to each of the elements according to the use case template to generate the test case if the content corresponding to each of the elements passes the quality assessment; a re-planning generation module, which is used to fill in the content of the elements that have passed the quality assessment according to the use case template if there is a content corresponding to the target element that fails the quality assessment, and re-plan the generation strategy corresponding to the target element according to the target element. The element is generated after re-planning, and the prompt instruction corresponding to the generation demand is generated, the prompt instruction is input into the vertical field large language model, the content corresponding to the target element is generated, and the quality assessment is performed on the content corresponding to the target element. If the quality assessment passes, the content corresponding to the target element is filled in according to the use case template. If the quality assessment fails, the step of re-planning the generation strategy of the target element is returned to execute until the content corresponding to the target element is filled in according to the use case template, or until the number of iterations exceeds the preset number; if the number of iterations exceeds the preset number, a prompt is output that the content corresponding to the target element cannot be generated.

8. A test case generating device, It is characterized in that include: Memory for storing computer programs; A processor, configured to implement the steps of the test case generation method as described in any one of claims 1 to 6 when executing the computer program.

Citation Information

Patent Citations

  • Government affair service field multi-strategy fusion dialogue method based on knowledge graph

    CN116628172A

  • Test case generation method and device, electronic equipment and storage medium

    CN117389890A