Parallel testing method and parallel testing server
A server and test case technology, applied in the computer field, can solve the problems of reducing the work efficiency of test cases, the difficulty of writing parallel test systems and test scripts, etc., and achieve the effect of improving work efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] Before parallel testing, a configuration file can be created in advance, and multiple system resource information and assertion adaptation conditions are recorded in the configuration file, so that during parallel testing, the system resource information in the configuration file can be invoked to run test cases, And call the assertion adaptation conditions in the configuration file to determine the correctness of the running results.
[0033] Such as figure 1 As shown, it is a schematic diagram of the method steps of parallel testing in Embodiment 1 of the present application, and the method includes the following steps:
[0034] Step 101: The parallel test server divides the multiple test cases to be executed, and the divided groups contain multiple test cases.
[0035] The number of groups divided in this embodiment can be multiple or one, but the number of test cases contained in each group must be greater than 1, so that when running for the test cases in each gro...
Embodiment 2
[0052] Embodiment 2 of the present application describes the solution of Embodiment 1 of the present application in detail through a specific example.
[0053] In this embodiment two, before carrying out the parallel test, according to image 3 Write the configuration file with the structure shown, assuming that there are 10 test cases to be executed, these test cases are divided into 2 groups (group1 and group2), where group1 contains 6 test cases, group2 contains 4 test cases, In this scenario, the description of the configuration file is as follows:
[0054] Configuration files can exist in the form of packets, image 3 Only the information set corresponding to group1 is marked in , and the information set corresponding to group2 is represented in the configuration file with image 3 similar. The information set corresponding to group1 mainly includes three parts:
[0055] first part:
[0056] The first part is the stack point (pub) node, and the pub node includes two ...
Embodiment 3
[0098] Embodiment 3 of the present application also provides a parallel test server capable of executing the solutions of Embodiment 1 and Embodiment 2, such as Figure 8 As shown, the parallel test server includes a configuration module 100, a grouping module 101, a parallel driver module 102 and an assertion adaptation module 103, wherein: the configuration module 100 is used to create a configuration file, which includes system resource information and assertion adaptation Condition; Grouping module 101 is used for dividing a plurality of test cases to be executed, and the group obtained by dividing contains a plurality of test cases; Parallel driver module 102 is used for each group, calls a plurality of test cases in this group simultaneously, utilizes The system resources corresponding to the system resource information in the configuration file run the test case in the group; the assertion adaptation module 103 is used to determine whether the test case execution result ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com