EDA tool testing method and system based on celery distribution

Through the celery distributed EDA tool testing method, the testing process is simplified, tedious testing and resource allocation problems are solved, and real-time monitoring and efficient execution are achieved.

CN118626398BActive Publication Date: 2024-10-15SHANDONG QIXIN SOFTWARE TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411087935.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-10-15
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

The EDA tool testing process is cumbersome and involves a lot of repetitive work. When there are many test cases, the test time is longer. Single-machine testing cannot reasonably allocate test resources and monitor task status in real time.

Method used

Adopt a celery-based distributed testing method, build command combination templates and process templates through web front-end services, combine the celery framework and redis library to build the optimal task flow, allocate test tasks to idle resources, and update task status in real time.

Benefits of technology

It simplifies the testing process, improves execution efficiency and resource allocation rate, and realizes real-time monitoring and efficient execution of test tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626398B_ABST
    Figure CN118626398B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of tool testing, and specifically relates to a celery-based distributed EDA tool testing method and system. The method includes: importing case files into a database to form a case library; constructing a command combination template for use in different test processes; combining traditional EDA test processes to construct a process template for calling different case files; creating a test plan, selecting case files from the case library and associating them with the test plan, and executing test tasks on the case files associated with them based on the test plan, and when executing the test tasks, combining the celery framework and the redis library, and constructing an optimal task flow through a web backend service. The present invention solves the problems of long test time, inability to reasonably allocate test resources, and inability to monitor task status in real time when the test process is cumbersome, there are many repetitive tasks, and there are many test cases.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of tool testing, and more specifically, relates to a celery-based distributed EDA tool testing method and system. Background Art

[0002] The purpose of EDA tool testing is to ensure the stable operation of EDA tools. The tool provides shell-like functions and implements command extensions specific to the functions required by this product based on TCL (Toll Command Language). EDA testing requires a combination of specific commands to verify functional correctness, or to call a third-party tool for logical equivalence checking (LEC), or to compare performance indicators with more mature tools on the market (taking DC as an example).

[0003] The traditional EDA testing process is as follows (taking the quality testing process as an example):

[0004] S1, prepared the case design document;

[0005] S2, use the EDA tool to execute the EDA command combination to read the case design file and generate the result file. In this process, the correctness of the EDA tool under test needs to be verified. When the tool itself has no bugs, the correct result is generated and then compared with the results of other tools. If the execution time is long, human intervention is required to manually cut off the task being executed;

[0006] S3, using the DC tool to execute the DC command combination to read the case design file and generate a result file;

[0007] S4, using the DC tool to execute command combinations to extract performance indicators from the result file in S2;

[0008] S5, use the DC tool to execute command combinations to extract performance indicators from the result files in S3;

[0009] S6, compares the performance indicators extracted in S4 and S5 and generates a report.

[0010] The above test steps need to cover all cases. The test process is cumbersome, with many repetitive tasks. When there are many test cases, the test time is long. Single-machine testing cannot reasonably allocate test resources and cannot monitor task status in real time.

[0011] Chinese patent document CN117667718A discloses an automated testing method and system based on task scheduling, including: building an initial environment, building a Web backend service; creating a testcases folder for writing automated test cases and creating a main function to start automated test cases, creating a pytest test environment; creating a case execution method and an asynchronous email sending method, building a celery framework, and distributing the built celery framework to worker nodes; writing automated test cases, creating a dag task for viewing the pytest test environment creation and deployment status, and creating a subtask for the dag task to execute the case execution method; specifying the worker node for case execution, monitoring the pytest test environment creation and deployment status on the specified worker node through the dag task, and when the pytest test environment is successfully created and deployed, executing the case execution method and asynchronously sending the execution result email. This method can realize intelligent, distributed and asynchronous scheduling of automated test cases and improve task execution efficiency.

[0012] Chinese patent document CN111124807A discloses a server power measurement method and system, the method comprising: importing the configuration parameter file of the model to be tested into a pre-built web server; after the configuration parameter file of the model to be tested is imported, configuring the test server and test time; scheduling process Beat by the queue management tool Celery, and executing the power test task through the pre-installed IPMITOOL command; when the test time reaches the deadline, the queue management tool Celery scheduling process Beat terminates the detection task allocation, thereby realizing the automated, long-term, and high-concurrency test of server power measurement by using the open source distributed tool Redis+Celery and taking the Web front-end friendly interactive interface as the entrance, saving a lot of time consumed by manual or single-machine testing, and significantly reducing the test threshold, thereby greatly improving the test efficiency.

[0013] In view of this, the present invention designs a celery-based distributed EDA tool testing method to solve the problems of long testing time, inability to reasonably allocate testing resources, and inability to monitor task status in real time when the testing process is cumbersome, there are many repetitive tasks, and there are many test cases. Summary of the invention

[0014] The present invention aims to overcome at least one defect of the above-mentioned prior art and provide an EDA tool testing method based on Celery distribution.

[0015] The present invention also provides a celery-based distributed EDA tool testing system.

[0016] The detailed technical scheme of the present invention is as follows:

[0017] A celery-based distributed EDA tool testing method is executed on a pre-built web server, comprising:

[0018] S1. Import case files into the database through the web front-end service to form a case library;

[0019] S2. Build a command combination template through the web front-end service for use in different test processes, wherein the command combination template includes a template name, a tool to which it belongs, and command combination content;

[0020] S3. Combined with the traditional EDA test process, a process template is built through the web front-end service for calling by different case files. In the process template, each process includes a tool module, a command module, a verification module and a time limit module;

[0021] S4. Create a test plan through the web front-end service, select case files from the case library and associate them with the test plan, and execute test tasks on the case files associated with the test plan based on the test plan, wherein the test plan includes a plan name, authority, execution process and test objectives;

[0022] The test task is executed on the case file associated with the test plan based on the test plan, specifically including:

[0023] S41. Combine the Celery framework and the Redis library to build the optimal task flow through the web backend service;

[0024] S42, when executing the test task, the test task is allocated to the idle test resources, and the test task is executed according to the constructed optimal task flow until the task execution is completed;

[0025] S43: Update the execution status of the test task, and display the execution information of the test task of the case file on the web front-end service.

[0026] Preferably, in S1, case files are imported into a database through a web front-end service to form a case library, which specifically includes:

[0027] S11. Add case classification in the database through the web front-end service;

[0028] S12, importing corresponding case files into the added case classification;

[0029] The case file importing methods include: importing according to independent files, importing according to directories, and importing according to regression cases.

[0030] Preferably, according to the present invention, in S3, the command module included in each process is used to write commands or associate with the command combination template constructed in S2.

[0031] Preferably, according to the present invention, in S3, the verification module included in each process is used to verify whether the result file exists and whether there is error information in the result log through a verification function.

[0032] Preferably, according to the present invention, in S3, the time limit module included in each process is configured to terminate the test task when the test process of the case file exceeds the set time limit.

[0033] Preferably, according to the present invention, in S4, the execution process included in the test plan is based on the process template constructed in S3.

[0034] Preferably, according to the present invention, in S41, the nodes of the optimal task flow include case file parsing, process parsing, execution result verification, execution result log writing, redis library update, database update, report generation and file permission change.

[0035] Preferably, according to the present invention, in S42, when executing the test task, the worker service based on the celery framework monitors the test resources to allocate the test task to the idle test resources.

[0036] Preferably, according to the present invention, in S42, when executing the test task, a multi-threaded parallel testing mechanism is used between multiple case files to execute the test based on the group task group of the celery framework.

[0037] In another aspect of the present invention, a celery-based distributed EDA tool testing system is provided, the system comprising:

[0038] The data import module is used to import case files into the database through the web front-end service to form a case library;

[0039] The first construction module is used to construct a command combination template through a web front-end service for use in different test processes, wherein the command combination template includes a template name, a tool to which it belongs, and command combination content;

[0040] The second construction module is used to combine the traditional EDA test process and build a process template through the web front-end service for calling different case files. In the process template, each process includes a tool module, a command module, a verification module and a time limit module;

[0041] The test module is used to create a test plan through the web front-end service, select case files from the case library and associate them with the test plan, and execute test tasks on the case files associated with the test plan based on the test plan. The test plan includes a plan name, permissions, execution process and test objectives;

[0042] The test task is executed on the case file associated with the test plan based on the test plan, specifically including:

[0043] S41. Combine the Celery framework and the Redis library to build the optimal task flow through the web backend service;

[0044] S42, when executing the test task, the test task is allocated to the idle test resources, and the test task is executed according to the constructed optimal task flow until the task execution is completed;

[0045] S43: Update the execution status of the test task, and display the execution information of the test task of the case file on the web front-end service.

[0046] Compared with the prior art, the present invention has the following beneficial effects:

[0047] The present invention provides an EDA tool testing method based on celery distribution, which is simple and intuitive to perform visual operations through a web interface; celery distribution is used to improve execution efficiency and resource allocation rate with an optimal task flow; the problem of a complicated testing process, much repetitive work, and a long testing time when there are many test cases, and the inability to reasonably allocate test resources and monitor task status in real time when a single machine test cannot be used. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a flowchart for constructing the task flow in the present invention.

[0049] Figure 2 This is a framework diagram of Celery in the present invention.

[0050] Figure 3 It is an interface diagram of the case library in the present invention.

[0051] Figure 4 It is an interface diagram of the case introduced in the present invention.

[0052] Figure 5 It is an interface diagram for editing command templates in the present invention.

[0053] Figure 6 It is an interface diagram for editing a process template in the present invention.

[0054] Figure 7 It is an interface diagram for editing a test plan in the present invention.

[0055] Figure 8 It is an interface diagram of the test plan associated case in the present invention.

[0056] Fig. 9 It is an interface diagram for executing the test plan in the present invention.

[0057] Fig.10 This is an interface diagram for viewing case execution details in the present invention. DETAILED DESCRIPTION

[0058] The present disclosure is further described below in conjunction with the accompanying drawings and embodiments.

[0059] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present disclosure. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present disclosure belongs.

[0060] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present disclosure. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0061] In the absence of conflict, the embodiments in the present disclosure and the features in the embodiments may be combined with each other.

[0062] In view of the defects of the prior art, the present invention provides an EDA tool testing method based on Celery distribution. The method builds a complete testing system and constructs the optimal test task flow. With the help of Celery distributed testing framework, the problems of complicated testing process, many repetitive tasks, long testing time when there are many test cases, inability to reasonably allocate test resources for single-machine testing, and inability to monitor task status in real time are solved.

[0063] The celery distributed EDA tool testing method and system of the present invention are further described below in conjunction with specific embodiments.

[0064] Embodiment 1,

[0065] Ginseng Figure 1 This embodiment provides a celery-based distributed EDA tool testing method, which is executed on a pre-built web server. The following steps can all be performed on the browser side, and the relevant information is transmitted to the web backend service by requesting parameters. The task flow involved in the method is constructed by the web backend service and transmitted to celery for execution.

[0066] The method comprises:

[0067] S1. Import case files into the database through the web front-end service to form a case library.

[0068] In this embodiment, the database can be a mysql database. In order to facilitate the unified management of case design files, a batch of existing case files are imported into the database to form a case library. The case files are stored in a specific location of the database, and the database is used to manage the file path of the case files and other related information.

[0069] Furthermore, the specific operations for importing case files into the database through the web front-end service are as follows:

[0070] S11. Add case classification to the database through the web front-end service.

[0071] For example, refer to Figure 3 , under the root node of the tree on the left, add a category named quality. The meanings of the elements of the interface displayed by the web front-end service are as follows:

[0072] Name: Category name;

[0073] Person in charge: responsible for the case maintenance under this category. Only the person in charge can edit or delete cases.

[0074] Read-only: whether editing or deleting operations are allowed.

[0075] It should be understood that the above is only presented by taking quality classification as an example, and specific case classification can be customized according to actual application requirements.

[0076] S12. Import corresponding case files into the added case classification.

[0077] Reference Figure 4 , import a batch of existing cases under the quality category. The meanings of the elements of the interface displayed by the web front-end service are as follows:

[0078] File type: Case files have various extensions. There may be some non-case files in a directory, which do not need to be imported. Only case files containing the selected file type are imported.

[0079] File path: the absolute path of the server where the case file is located;

[0080] Add Tags: Set tags for a batch of imported case files.

[0081] In this embodiment, case files can be imported in the following ways: 1) as independent files, that is, all qualified files under the imported path are treated as an independent case; 2) as directories, that is, all qualified files under a directory are treated as a case; 3) as regression cases, which is a special treatment for existing cases. Because the directory structure is fixed, it can automatically determine whether a file or a directory is used as a case.

[0082] S2. Build a command combination template through the web front-end service for use in different test processes. The command combination template includes a template name, a tool to which it belongs, and command combination content.

[0083] Specific reference Figure 5 , the command combination of commonly used tools can be encapsulated as a template for repeated use in different test processes. In this embodiment, the self-developed EDA tool chipsyn is taken as an example to construct a command combination template.

[0084] The template defines the relevant command combination. The following is the command combination content:

[0085] Use the read_ldb command to load the .ldb library file. $TARGET_LIB is a variable. When executing, specify the value of the variable.

[0086] Use the -link command option of the read_ldb command to indicate that the loaded file is used as a link library, $LINK_LIB is a variable, and the value of the variable is specified during execution;

[0087] Use read_design to read the design file. $read is a variable. When executed, it will be replaced by the currently executed case path.

[0088] Use present_design_name>tmp.log to print the current design name to the tmp.log file;

[0089] Use get_clock_ports>clk_port.log to print the clock port to the clk_port.log file;

[0090] Use report_qor>qor.log to obtain the quality information of the design and output it to the qor.log file;

[0091] Use report_info-resource>info.log to obtain the resource information of the design and output it to the info.log file.

[0092] The constructed command combination template contains the template name, the tool to which it belongs, and the command combination content. The meanings of the elements of the interface displayed by the web front-end service are as follows:

[0093] Template Name: Give the template a name;

[0094] Related tools: chipsyn (self-developed tools), DC tools, Genus tools, etc.

[0095] Command combination content: command combinations that need to be involved;

[0096] Description: Notes.

[0097] S3. Combined with the traditional EDA test process, a process template is constructed through the web front-end service for calling by different case files. In the process template, each process includes a tool module, a command module, a verification module and a time limit module.

[0098] In this embodiment, the traditional EDA test process is encapsulated as a template, and the process template is constructed through a web front-end service for calling by different case files.

[0099] Reference Figure 6 Each process includes a tool module, a command module, a verification module, and a time limit module. The meaning and function of each module are as follows:

[0100] Tool module: including chipsyn (self-developed tool), DC tool, Genus tool, etc.

[0101] Command module: used to write commands or associate the command combination template constructed above;

[0102] Verification module: used to verify whether the result file exists and whether there is error information in the result log through the verification function; for example:

[0103] checkFileList golden_syn.v verifies whether the file golden_syn.v exists;

[0104] checkString / re ^Error flow.log checks that there is no string starting with Error in flow.log;

[0105] Time limit module: It is set to terminate the test task when the test process of the case file exceeds the set time limit.

[0106] S4. Create a test plan through the web front-end service, select case files from the case library and associate them with the test plan, and execute test tasks on the case files associated with the test plan based on the test plan. The test plan includes a plan name, permissions, execution process and test objectives.

[0107] Specific reference Figure 7 , add a test plan through the web front-end service. The meanings of the elements in its interface are as follows:

[0108] Plan Name: Give this plan a name;

[0109] Remarks: Fill in the remarks;

[0110] Permissions: Private permissions are set to be visible only to yourself, and public permissions are set to be visible to everyone;

[0111] Execution process: based on the process template defined in S3;

[0112] Test target: such as quality testing, confirm whether it is quality testing, quality testing will be specially handled according to the business.

[0113] The test plan constructed above can be executed repeatedly.

[0114] Then, case files are selected from the case library to be associated with the test plan, and test tasks are executed on the case files associated with the case files based on the test plan.

[0115] Reference Figure 8 , to associate test cases with the created test plan, you can select qualified cases from the case library according to the screening conditions for association. In the figure, inner_reduce_or refers to multi-bit width or devices, which is an attribute contained in the cases under the quality classification; top module refers to the number of top-level design modules; the Top Design: CORTEXM3INTEGRATIONDS part in the middle of the figure is an exemplary expansion of the resource type.

[0116] Reference Fig. 9 , execute the test plan for the associated case, and the meaning of each element in its interface is as follows:

[0117] Test Plan: The name of the plan to execute the test plan; e.g. Fig. 9 The plan name is: test_dc_genus_td, which means to compare the results of the chipsyn tool with the results of the DC tool and the Genus tool. The name can be customized by the user;

[0118] chipsyn path: EDA tool path that needs to be tested;

[0119] Target library: Select the library to be tested. For EDA tools, libraries such as smic40 and smic28 need to be tested. This value will replace the $TARGET_LIB and $LINK_LIB related variables involved in S2.

[0120] Execution record retention days: If the set retention days are exceeded, the execution record will be deleted;

[0121] Remarks: Fill in the remarks.

[0122] Further, in this embodiment, executing the test task on the case file associated with the test plan specifically includes:

[0123] S41. Combine the celery framework and redis library to build the optimal task flow through the web backend service. The optimal task flow constructed includes case file parsing, process parsing, execution result verification, execution result log writing, redis library update, database update, report generation, and file permission change. Figure 1 shown.

[0124] S42. When executing a test task, assign the test task to an idle test resource. Figure 2 As shown; and execute the test task according to the constructed optimal task flow until the task is completed.

[0125] S43: Update the execution status of the test task, and display the execution information of the test task of the case file on the web front-end service.

[0126] Specifically, in S42, when executing the test task, the worker service based on the celery framework monitors the test resources to allocate the test task to the idle test resources. Figure 2 , under all available test resources, enable the celeryworker service for task monitoring. When executing the task flow, celery will automatically monitor the available resources and assign tasks to idle test resources, greatly improving the execution efficiency while making full use of resources.

[0127] It should be noted here that Figure 2 DB0 and DB1 are both libraries in Redis. The Redis library has 16 databases (DB0~DB15) by default. Here, DB0 is used to store Celery messages, and DB1 is used to store task results.

[0128] In S42, when executing the test task, based on the group task group of the Celery framework, a multi-threaded parallel testing mechanism is used to execute the test between multiple case files.

[0129] The process of each case adopts a serial mechanism. After each case is executed, the log is written in real time and the redis database result is updated. There is no conflict dependency between log writing and redis database update. A parallel method is adopted. After all cases are executed, the final execution result of MySQL database is updated, report is generated, and file permissions are changed. There is no conflict dependency between the three. The parallel mechanism is still adopted. The serial mechanism uses the chain task chain of celery, the parallel mechanism uses the group task group of celery, and the other operations after execution use the chord callback of celery. At this point, all task flows are constructed.

[0130] In S43, after all tasks are executed, the execution status of the tasks is updated, including success or failure; if the task is terminated during the execution process, the final status of the task is terminated.

[0131] Finally, the web front-end service displays the execution information of the test tasks of all case files. Fig.10 As shown, you can view the execution details of all cases, filter cases according to success or failure status, and display the execution information of each process and execution time of each case, so as to quickly track down problems.

[0132] In summary, the celery-based distributed EDA tool testing method of the present invention is specially invented for command-interactive EDA logic synthesis tool testing, which effectively solves the command combination process testing, reduces the cumbersome and repetitive testing process, and rationally allocates testing resources, greatly improving the testing efficiency. It can be expanded and applied in similar command-interactive electronic automation design software testing, such as DC, YOSYS, GENUS, etc.

[0133] Embodiment 2,

[0134] This embodiment provides a celery-based distributed EDA tool testing system, the system comprising:

[0135] The data import module is used to import case files into the database through the web front-end service to form a case library;

[0136] The first construction module is used to construct a command combination template through a web front-end service for use in different test processes, wherein the command combination template includes a template name, a tool to which it belongs, and command combination content;

[0137] The second construction module is used to combine the traditional EDA test process and build a process template through the web front-end service for calling different case files. In the process template, each process includes a tool module, a command module, a verification module and a time limit module;

[0138] The test module is used to create a test plan through the web front-end service, select case files from the case library and associate them with the test plan, and execute test tasks on the case files associated with the test plan based on the test plan. The test plan includes a plan name, permissions, execution process and test objectives;

[0139] The test task is executed on the case file associated with the test plan based on the test plan, specifically including:

[0140] S41. Combine the Celery framework and the Redis library to build the optimal task flow through the web backend service;

[0141] S42, when executing the test task, the test task is allocated to the idle test resources, and the test task is executed according to the constructed optimal task flow until the task execution is completed;

[0142] S43: Update the execution status of the test task, and display the execution information of the test task of the case file on the web front-end service.

[0143] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the technical solution of the present invention, and are not intended to limit the specific implementation methods of the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the claims of the present invention shall be included in the protection scope of the claims of the present invention.

Claims

1. A celery-based distributed EDA tool testing method, characterized in that: The method is executed on a pre-built web server and includes: S1. Import case files into the database through the web front-end service to form a case library; S2. Build a command combination template through the web front-end service for use in different test processes, wherein the command combination template includes a template name, a tool to which it belongs, and command combination content; S3. Combined with the traditional EDA test process, a process template is built through the web front-end service for calling by different case files. In the process template, each process includes a tool module, a command module, a verification module and a time limit module; S4. Create a test plan through the web front-end service, select case files from the case library and associate them with the test plan, and execute test tasks on the case files associated with the test plan based on the test plan, wherein the test plan includes a plan name, authority, execution process and test objectives; The test task is executed on the case file associated with the test plan based on the test plan, specifically including: S41. Combine the Celery framework and the Redis library to build the optimal task flow through the web backend service; S42, when executing the test task, the test task is allocated to the idle test resources, and the test task is executed according to the constructed optimal task flow until the task execution is completed; S43: Update the execution status of the test task, and display the execution information of the test task of the case file on the web front-end service.

2. The celery-distributed EDA tool testing method according to claim 1, characterized in that: In S1, case files are imported into a database through a web front-end service to form a case library, which specifically includes: S11. Add case classification in the database through the web front-end service; S12, importing corresponding case files into the added case classification; The case file importing methods include: importing according to independent files, importing according to directories, and importing according to regression cases.

3. The celery-distributed EDA tool testing method according to claim 1, characterized in that: In S3, the command module included in each process is used to write commands or associate with the command combination template constructed in S2.

4. The celery-distributed EDA tool testing method according to claim 1, characterized in that: In S3, the verification module included in each process is used to verify whether the result file exists and whether there is error information in the result log through a verification function.

5. The celery-distributed EDA tool testing method according to claim 1, characterized in that: In S3, the time limit module included in each process is set to terminate the test task when the test process of the case file exceeds the set time limit.

6. The celery-distributed EDA tool testing method according to claim 1, characterized in that: In S4, the execution process included in the test plan is based on the process template constructed in S3.

7. The celery-based distributed EDA tool testing method according to claim 1, characterized in that: In S41, the nodes of the optimal task flow include case file analysis, process analysis, execution result verification, execution result log writing, redis library update, database update, report generation and file permission change.

8. The celery-distributed EDA tool testing method according to claim 1, characterized in that: In S42, when executing the test task, the worker service based on the celery framework monitors the test resources to allocate the test task to the idle test resources.

9. The celery-distributed EDA tool testing method according to claim 8, characterized in that: In S42, when executing the test task, based on the group task group of the celery framework, a multi-threaded parallel testing mechanism is used to execute the test between multiple case files.

10. A celery-based distributed EDA tool testing system, characterized in that: The system comprises: The data import module is used to import case files into the database through the web front-end service to form a case library; The first construction module is used to construct a command combination template through a web front-end service for use in different test processes, wherein the command combination template includes a template name, a tool to which it belongs, and command combination content; The second construction module is used to combine the traditional EDA test process and build a process template through the web front-end service for calling different case files. In the process template, each process includes a tool module, a command module, a verification module and a time limit module; The test module is used to create a test plan through the web front-end service, select case files from the case library and associate them with the test plan, and execute test tasks on the case files associated with the test plan based on the test plan. The test plan includes a plan name, permissions, execution process and test objectives; The test task is executed on the case file associated with the test plan based on the test plan, specifically including: S41. Combine the Celery framework and the Redis library to build the optimal task flow through the web backend service; S42, when executing the test task, the test task is allocated to the idle test resources, and the test task is executed according to the constructed optimal task flow until the task execution is completed; S43: Update the execution status of the test task, and display the execution information of the test task of the case file on the web front-end service.

Citation Information

Patent Citations

  • Server power measurement method and system

    CN111124807A

  • Automatic testing method and system based on task scheduling

    CN117667718A

  • Game log real-time processing system and method

    CN105426292A

  • Task scheduling method and device, server and storage medium

    CN109656693A

  • Client testing method and device, computer equipment and storage medium

    CN111355629A