CN112732556A - Automatic testing method, device, equipment and storage medium for distributed system - Google Patents

Automatic testing method, device, equipment and storage medium for distributed system Download PDF

Info

Publication number
CN112732556A
CN112732556A CN202011601571.2A CN202011601571A CN112732556A CN 112732556 A CN112732556 A CN 112732556A CN 202011601571 A CN202011601571 A CN 202011601571A CN 112732556 A CN112732556 A CN 112732556A
Authority
CN
China
Prior art keywords
test
test case
cases
case group
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011601571.2A
Other languages
Chinese (zh)
Inventor
张中文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Inspur Data Technology Co Ltd
Original Assignee
Beijing Inspur Data Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Inspur Data Technology Co Ltd filed Critical Beijing Inspur Data Technology Co Ltd
Priority to CN202011601571.2A priority Critical patent/CN112732556A/en
Publication of CN112732556A publication Critical patent/CN112732556A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses an automatic test method of a distributed system, which comprises the steps of determining the execution relation among test cases according to the test setting parameters of the test cases after obtaining the test cases of the system to be tested and the test setting parameters of the test cases, dividing the test cases into test case groups according to the execution relation, wherein one test case group comprises one or more test cases, each test case in the test case groups is a test case capable of being executed simultaneously, and then executing the test case groups in sequence to test the system to be tested. The invention also discloses an automatic testing device, equipment and a storage medium of the distributed system, and the device, the equipment and the storage medium have the beneficial effects.

Description

Automatic testing method, device, equipment and storage medium for distributed system
Technical Field
The present invention relates to the field of distributed system technologies, and in particular, to an automated testing method, an automated testing device, an automated testing apparatus, and a storage medium for a distributed system.
Background
As social informatization continues to advance, software systems become increasingly complex. The testing difficulty of the software system is continuously increased, and the number of test cases is increased immediately. Currently, when the automatic test is performed on the distributed system, a single execution mode is adopted to sequentially execute each test case. As the number of test cases increases, the time consumption of automated testing continues to grow.
Disclosure of Invention
The invention aims to provide an automatic testing method, device, equipment and storage medium of a distributed system, which are used for improving the efficiency of automatic testing of the distributed system.
In order to solve the above technical problem, the present invention provides an automated testing method for a distributed system, comprising:
acquiring test cases of a system to be tested and test setting parameters of each test case;
determining an execution relation between the test cases according to the test setting parameters of the test cases;
dividing each test case into test case groups according to the execution relation;
sequentially executing each test case group to test the system to be tested;
the test case group comprises one or more test cases, and each test case in the test case group is a test case which can be executed simultaneously.
Optionally, the obtaining of the test setting parameters of each test case specifically includes:
acquiring a label of each test case;
correspondingly, the determining the execution relationship between the test cases according to the test setting parameters of the test cases specifically includes:
and determining the execution relation among the test cases according to the preset execution relation among the labels.
Optionally, the obtaining of the test setting parameters of each test case specifically includes:
and receiving the input test setting parameters of each test case.
Optionally, the obtaining of the test setting parameters of each test case specifically includes:
and identifying the information of the preset position of the test case to obtain the test setting parameters of the test case.
Optionally, the dividing the test cases into test case groups according to the execution relationship specifically includes:
dividing all the test cases into an initial test case group;
according to the execution relation, from the first test case, the test case which cannot be executed simultaneously with the test case is removed from the initial test case group until the processing of all the test cases in the initial test case group is completed, and one test case group is generated by the rest test cases in the initial test case group;
and after the test cases moved out of the initial test case group are recombined into the initial test case group, the step of moving the test cases which cannot be executed simultaneously with the test cases out of the initial test case group from the first test case according to the execution relation is carried out until all the test cases are divided.
Optionally, the generating one test case group from the remaining test cases in the initial test case group specifically includes:
determining system resources of the system to be tested which are divided into test tasks;
if the resources occupied by the rest test cases in the initial test case group exceed the system resources, moving the exceeded part of the test cases out of the initial test case group, and generating one test case group from the rest test cases in the initial test case group;
and if the resources occupied by the rest test cases in the initial test case group do not exceed the system resources, generating one test case group by the rest test cases in the initial test case group.
Optionally, the executing each test case group in sequence to test the system to be tested specifically includes:
outputting the information of each test case group;
when an adjusting command for the test case group is received, adjusting the corresponding test case group according to the adjusting command;
and after receiving the test command, sequentially executing each test case group to test the system to be tested.
In order to solve the above technical problem, the present invention further provides an automatic testing apparatus for a distributed system, including:
the device comprises an acquisition unit, a test unit and a control unit, wherein the acquisition unit is used for acquiring test cases of a system to be tested and test setting parameters of each test case;
the determining unit is used for determining the execution relation among the test cases according to the test setting parameters of the test cases;
the grouping unit is used for dividing each test case into test case groups according to the execution relation;
the test unit is used for sequentially executing each test case group so as to test the system to be tested;
the test case group comprises one or more test cases, and each test case in the test case group is a test case which can be executed simultaneously.
In order to solve the above technical problem, the present invention further provides an automated testing apparatus for a distributed system, including:
a memory for storing instructions, the instructions comprising the steps of any one of the above automated testing methods for distributed systems;
a processor to execute the instructions.
In order to solve the above technical problem, the present invention further provides a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the automated testing method for a distributed system according to any one of the above.
According to the automatic testing method of the distributed system, after the test cases of the system to be tested and the test setting parameters of the test cases are obtained, the execution relation among the test cases is determined according to the test setting parameters of the test cases, so that the test cases are divided into the test case groups according to the execution relation, one test case group comprises one or more test cases, the test cases in the test case group are simultaneously executable test cases, and then the test case groups are sequentially executed to test the system to be tested, so that compared with the mode that the test cases are executed in a single mode in the prior art, resources of the system to be tested are fully utilized, the overall testing time is saved, and the automatic testing efficiency of the distributed system is greatly improved.
The invention also provides an automatic testing device, equipment and a storage medium of the distributed system, which have the beneficial effects and are not described again.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of an automated testing method for a distributed system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an automatic testing apparatus of a distributed system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an automated testing apparatus of a distributed system according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide an automatic testing method, device, equipment and storage medium of a distributed system, which are used for improving the efficiency of automatic testing of the distributed system.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of an automated testing method for a distributed system according to an embodiment of the present invention.
As shown in fig. 1, an automated testing method for a distributed system provided by an embodiment of the present invention includes:
s101: and acquiring test cases of the system to be tested and test setting parameters of the test cases.
S102: and determining the execution relation among the test cases according to the test setting parameters of the test cases.
S103: and dividing each test case into test case groups according to the execution relation.
S104: and executing each test case group in sequence to test the system to be tested.
One test case group comprises one or more test cases, and each test case in the test case group is a test case which can be executed simultaneously.
In a specific implementation, for step S101, based on the test host, a test case for the system to be tested is obtained to a specified address, or a test case uploaded by a tester is received. And then determining the test setting parameters of each test case. Specifically, the test setting parameters of the test cases can be received, or the information of the preset positions of the test cases can be identified, so that the test setting parameters of the test cases can be obtained. The test setting parameters may include the type of operation executed by the test case, the number of nodes required to be occupied, the type of nodes required to be occupied, and the like.
For step S102, the execution relationship between the test cases is determined according to the test setting parameters of the test cases by using the pre-written judgment script. For example, if the test case 1 includes an instruction of "query node" and the test case 2 includes an instruction of "shutdown node", the test case 1 and the test case 2 cannot be executed simultaneously; the test case 3 and the test case 4 are the same type of test case, but they both need to be executed by a certain specific node, and the test case 3 and the test case 4 cannot be executed simultaneously. In this way, each test case is analyzed to obtain the execution relation between each test case and the other test cases, for example, the test case 1 and the test case 2 cannot be executed simultaneously, the test case 1 and the test case 3 can be executed simultaneously, and the like.
For step S103, the test cases are divided into test case groups according to the execution relationship among the test cases, and the test cases in one test case group are test cases that can be executed simultaneously, so that the test case group contains as many test cases as possible, thereby saving the total test time. Step S103 may specifically include:
dividing all test cases into an initial test case group;
according to the execution relation, from the first test case, the test cases which can not be executed simultaneously with the test cases are removed from the initial test case group until the processing of all the test cases in the initial test case group is completed, and the rest test cases in the initial test case group are generated into a test case group;
and after the test cases removed from the initial test case group are recombined into the initial test case group, the step of removing the test cases which can not be executed simultaneously with the test cases from the initial test case group from the first test case according to the execution relation until all the test cases are divided is carried out.
By using the above specific embodiment, it can be ensured that the test cases which cannot be executed simultaneously are not divided into the same test case group. However, because the resources provided by the system to be tested for the automated test are limited, even if the test setting parameters indicate that the test cases can be executed simultaneously, the test cases cannot be executed simultaneously because the number of the test cases is too large and exceeds the resource condition of the system to be tested. Therefore, the generating of one test case group from the remaining test cases in the initial test case group specifically includes:
determining system resources of a system to be tested which are divided into test tasks;
if the resources occupied by the rest test cases in the initial test case group exceed the system resources, moving the exceeded part of the test cases out of the initial test case group, and generating a test case group by the rest test cases in the initial test case group;
and if the resources occupied by the rest test cases in the initial test case group do not exceed the system resources, generating a test case group by the rest test cases in the initial test case group.
For step S104, after the test case groups are divided, the test case groups are executed one by one, that is, only the test cases in one test case group are executed at the same time.
It should be noted that, whether the test case group is divided in step S103 or the test case group is executed in step S104, the execution time problem is involved. In step S103 and step S104, each test case may be processed at random, and each test case group may be executed at random; or processing the test cases according to the priority order of the test cases in step S103 to divide the test cases with high priority into the front test case groups, and then executing the test case groups according to the generation order of the test case groups in step S104; the processing sequence of the test cases can be determined according to the carrying relation among the test items of the test cases, so that carrying commands among test case groups are reduced, and the test efficiency of the system to be tested is further improved.
Since the execution relationship between the test cases is very complex, and the pre-written judgment script is likely to be unable to be accurately identified, step S104 may specifically include:
outputting the information of each test case group;
when an adjusting command for the test case group is received, adjusting the corresponding test case group according to the adjusting command;
and after receiving the test command, sequentially executing each test case group to test the system to be tested.
The test case group obtained in step S103 is audited by the tester, whether the test can be performed according to the currently divided test case group is determined according to the audit result, the improper division result is adjusted, and finally, the test command is issued, so that the effectiveness of the test case group execution is ensured.
According to the automatic testing method of the distributed system, after the test cases of the system to be tested and the test setting parameters of the test cases are obtained, the execution relation among the test cases is determined according to the test setting parameters of the test cases, the test cases are divided into the test case groups according to the execution relation, one test case group comprises one or more test cases, the test cases in the test case groups are simultaneously executable test cases, and then the test case groups are sequentially executed to test the system to be tested, so that compared with the mode that the test cases are executed in a single mode in the prior art, resources of the system to be tested are fully utilized, the overall testing time is saved, and the automatic testing efficiency of the distributed system is greatly improved.
On the basis of the foregoing embodiment, in the automated testing method for a distributed system provided in the embodiment of the present invention, the step S101 obtains the test setting parameters of each test case, specifically:
and acquiring the label of each test case.
Accordingly, step S102: determining the execution relation among the test cases according to the test setting parameters of the test cases, specifically:
and determining the execution relation among the test cases according to the preset execution relation among the labels.
In specific implementation, the automated testing method for the distributed system provided by the embodiment of the present invention designs corresponding tags in advance according to the test setting parameters of each test case, each test case may have a plurality of corresponding tags, one tag may also correspond to a plurality of test case types, and sets the previous execution relationship of each tag, so that the complexity of determining the execution relationship between each test case in step S102 can be reduced, and the efficiency of determining the execution relationship between each test case can be improved. The label of the test case can be stored in a designated address according to the type association of the test case, and can also be input by a tester. With the increase of test items, the types of test cases are increased, the types of labels are also increased, correspondingly, the execution relation between the labels is also increased, and accordingly, a characteristic relation library of the execution relation between the label library and the labels is established, so that calling during testing is facilitated.
In the embodiment of the present invention, a storage system is exemplified by dividing functional modules, assuming that there are four test cases, and respective labels are shown in table 1:
table 1 example table of test case labels in one-time automatic test
Test case labels Label (R)
Test case 1 Node management and query node
Test case 2 Node management and newly added node
Test case 3 Performance queries
Test case 4 Node management and shutdown node
The corresponding feature relation library stores the execution relation among the labels as follows:
1. the label of the query node, the label of the new node and the label of the shutdown node can not be executed at the same time;
2. the "performance query" tag and the "shutdown node" tag may not be executed simultaneously;
3. the "add node" label and the "shutdown node" label may not be executed simultaneously.
It can be determined that the test case 1 and the test case 2 cannot be executed simultaneously, the test case 1 and the test case 3 can be executed simultaneously, the test case 1 and the test case 4 cannot be executed simultaneously, the test case 2 and the test case 2 can be executed simultaneously, the test case 2 and the test case 4 cannot be executed simultaneously, and the test case 3 and the test case 4 cannot be executed simultaneously.
When the test cases are divided into the test case groups according to the execution relationship in step S103, firstly, all the test cases are defaulted to enter the initial test case group, the test cases 2 and 4 which cannot be executed simultaneously with the test case 1 are removed from the initial test case group from the test case 1, and the test case group one is generated from the remaining test cases 1 and 3; taking the test case 2 and the test case 4 as an initial test case group, moving the test case 4 which can not be executed simultaneously with the test case 2 out of the initial test case group from the test case 2, and taking the remaining test case 2 as a test case group II; and taking the test case 4 as an initial test case group, and then the test case 4 enters a test case group III to complete the processing of all test cases.
On the basis of the above detailed description of the various embodiments corresponding to the automated testing method of the distributed system, the invention also discloses an automated testing device, equipment and a storage medium of the distributed system corresponding to the method.
Fig. 2 is a schematic structural diagram of an automatic testing apparatus of a distributed system according to an embodiment of the present invention.
As shown in fig. 2, an automated testing apparatus for a distributed system according to an embodiment of the present invention includes:
an obtaining unit 201, configured to obtain test cases of a system to be tested and test setting parameters of each test case;
a determining unit 202, configured to determine an execution relationship between the test cases according to the test setting parameters of the test cases;
the grouping unit 203 is used for dividing each test case into test case groups according to the execution relation;
the test unit 204 is used for sequentially executing each test case group so as to test the system to be tested;
one test case group comprises one or more test cases, and each test case in the test case group is a test case which can be executed simultaneously.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
Fig. 3 is a schematic structural diagram of an automated testing apparatus of a distributed system according to an embodiment of the present invention.
As shown in fig. 3, an automated testing apparatus for a distributed system according to an embodiment of the present invention includes:
a memory 310 for storing instructions comprising the steps of the automated testing method of the distributed system according to any of the above embodiments;
a processor 320 for executing the instructions.
Processor 320 may include one or more processing cores, such as a 3-core processor, an 8-core processor, and so forth. The processor 320 may be implemented in at least one hardware form of a digital Signal processing (dsp), a Field-Programmable Gate Array (FPGA), a Programmable Logic Array (pla), or a digital Signal processing (dsp). The processor 320 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a central Processing unit (cpu); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 320 may be integrated with an image processor GPU (graphics Processing unit), which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, processor 320 may also include an Artificial Intelligence (AI) (artificial intelligence) processor for processing computational operations related to machine learning.
Memory 310 may include one or more storage media, which may be non-transitory. Memory 310 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 310 is at least used for storing a computer program 311, wherein after the computer program 311 is loaded and executed by the processor 320, the relevant steps in the automated testing method for a distributed system disclosed in any one of the foregoing embodiments can be implemented. In addition, the resources stored by the memory 310 may also include an operating system 312, data 313, and the like, and the storage may be transient storage or persistent storage. The operating system 312 may be Windows, among others. Data 313 may include, but is not limited to, data involved in the above-described methods.
In some embodiments, the automated test equipment of the distributed system may also include a display 330, a power supply 340, a communication interface 350, an input output interface 360, sensors 370, and a communication bus 380.
Those skilled in the art will appreciate that the configuration shown in FIG. 3 does not constitute a limitation of automated test equipment for a distributed system and may include more or fewer components than those shown.
The automatic test equipment of the distributed system provided by the embodiment of the application comprises the memory and the processor, and when the processor executes the program stored in the memory, the automatic test method of the distributed system can be realized, and the effect is the same as that of the automatic test equipment of the distributed system.
It should be noted that the above-described embodiments of the apparatus and device are merely illustrative, for example, the division of modules is only one division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form. Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and performs all or part of the steps of the methods according to the embodiments of the present invention, or all or part of the technical solution.
To this end, an embodiment of the present invention further provides a storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the automated testing method such as a distributed system are implemented.
The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory ROM (Read-Only Memory), a random Access Memory ram (random Access Memory), a magnetic disk, or an optical disk.
The computer program contained in the storage medium provided in this embodiment can implement the steps of the automated testing method for a distributed system as described above when executed by a processor, and the effect is the same as above.
The present invention provides a method, an apparatus, a device and a storage medium for automatically testing a distributed system. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the equipment and the storage medium disclosed by the embodiment correspond to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. An automated testing method for a distributed system, comprising:
acquiring test cases of a system to be tested and test setting parameters of each test case;
determining an execution relation between the test cases according to the test setting parameters of the test cases;
dividing each test case into test case groups according to the execution relation;
sequentially executing each test case group to test the system to be tested;
the test case group comprises one or more test cases, and each test case in the test case group is a test case which can be executed simultaneously.
2. The automated testing method according to claim 1, wherein the obtaining of the test setting parameters of each test case specifically comprises:
acquiring a label of each test case;
correspondingly, the determining the execution relationship between the test cases according to the test setting parameters of the test cases specifically includes:
and determining the execution relation among the test cases according to the preset execution relation among the labels.
3. The automated testing method according to claim 1, wherein the obtaining of the test setting parameters of each test case specifically comprises:
and receiving the input test setting parameters of each test case.
4. The automated testing method according to claim 1, wherein the obtaining of the test setting parameters of each test case specifically comprises:
and identifying the information of the preset position of the test case to obtain the test setting parameters of the test case.
5. The automated testing method according to claim 1, wherein the dividing of each of the test cases into test case groups according to the execution relationship specifically comprises:
dividing all the test cases into an initial test case group;
according to the execution relation, from the first test case, the test case which cannot be executed simultaneously with the test case is removed from the initial test case group until the processing of all the test cases in the initial test case group is completed, and one test case group is generated by the rest test cases in the initial test case group;
and after the test cases moved out of the initial test case group are recombined into the initial test case group, the step of moving the test cases which cannot be executed simultaneously with the test cases out of the initial test case group from the first test case according to the execution relation is carried out until all the test cases are divided.
6. The automated testing method according to claim 5, wherein the generating one of the test case groups from the remaining test cases in the initial test case group specifically comprises:
determining system resources of the system to be tested which are divided into test tasks;
if the resources occupied by the rest test cases in the initial test case group exceed the system resources, moving the exceeded part of the test cases out of the initial test case group, and generating one test case group from the rest test cases in the initial test case group;
and if the resources occupied by the rest test cases in the initial test case group do not exceed the system resources, generating one test case group by the rest test cases in the initial test case group.
7. The automated testing method according to claim 1, wherein the executing each of the test case sets in sequence to test the system under test specifically comprises:
outputting the information of each test case group;
when an adjusting command for the test case group is received, adjusting the corresponding test case group according to the adjusting command;
and after receiving the test command, sequentially executing each test case group to test the system to be tested.
8. An automated testing apparatus for a distributed system, comprising:
the device comprises an acquisition unit, a test unit and a control unit, wherein the acquisition unit is used for acquiring test cases of a system to be tested and test setting parameters of each test case;
the determining unit is used for determining the execution relation among the test cases according to the test setting parameters of the test cases;
the grouping unit is used for dividing each test case into test case groups according to the execution relation;
the test unit is used for sequentially executing each test case group so as to test the system to be tested;
the test case group comprises one or more test cases, and each test case in the test case group is a test case which can be executed simultaneously.
9. An automated test equipment for a distributed system, comprising:
a memory for storing instructions comprising the steps of the method for automated testing of a distributed system according to any of claims 1 to 7;
a processor to execute the instructions.
10. A storage medium on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of a method for automated testing of a distributed system according to any one of claims 1 to 7.
CN202011601571.2A 2020-12-29 2020-12-29 Automatic testing method, device, equipment and storage medium for distributed system Pending CN112732556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011601571.2A CN112732556A (en) 2020-12-29 2020-12-29 Automatic testing method, device, equipment and storage medium for distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011601571.2A CN112732556A (en) 2020-12-29 2020-12-29 Automatic testing method, device, equipment and storage medium for distributed system

Publications (1)

Publication Number Publication Date
CN112732556A true CN112732556A (en) 2021-04-30

Family

ID=75610014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011601571.2A Pending CN112732556A (en) 2020-12-29 2020-12-29 Automatic testing method, device, equipment and storage medium for distributed system

Country Status (1)

Country Link
CN (1) CN112732556A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114116449A (en) * 2021-10-25 2022-03-01 合众新能源汽车有限公司 Automatic test case parameterization method and device and electronic equipment
CN114637691A (en) * 2022-05-17 2022-06-17 云账户技术(天津)有限公司 Test case management method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214139A (en) * 2011-06-01 2011-10-12 北京航空航天大学 Automatic test performance control and debugging method facing distributed system
CN105975397A (en) * 2016-07-18 2016-09-28 浪潮(北京)电子信息产业有限公司 Integration testing method and system based on TestNG
WO2017113912A1 (en) * 2015-12-30 2017-07-06 中兴通讯股份有限公司 Physical layer software automation test method and device
US20190129833A1 (en) * 2017-10-27 2019-05-02 EMC IP Holding Company LLC Method, device and computer program product for executing test cases
CN110362469A (en) * 2019-05-28 2019-10-22 中国平安人寿保险股份有限公司 Based on modular testing use-case control method, device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214139A (en) * 2011-06-01 2011-10-12 北京航空航天大学 Automatic test performance control and debugging method facing distributed system
WO2017113912A1 (en) * 2015-12-30 2017-07-06 中兴通讯股份有限公司 Physical layer software automation test method and device
CN105975397A (en) * 2016-07-18 2016-09-28 浪潮(北京)电子信息产业有限公司 Integration testing method and system based on TestNG
US20190129833A1 (en) * 2017-10-27 2019-05-02 EMC IP Holding Company LLC Method, device and computer program product for executing test cases
CN110362469A (en) * 2019-05-28 2019-10-22 中国平安人寿保险股份有限公司 Based on modular testing use-case control method, device, terminal and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114116449A (en) * 2021-10-25 2022-03-01 合众新能源汽车有限公司 Automatic test case parameterization method and device and electronic equipment
CN114116449B (en) * 2021-10-25 2024-05-07 合众新能源汽车股份有限公司 Parameterization method and device for automatic test case and electronic equipment
CN114637691A (en) * 2022-05-17 2022-06-17 云账户技术(天津)有限公司 Test case management method and device

Similar Documents

Publication Publication Date Title
CN112732556A (en) Automatic testing method, device, equipment and storage medium for distributed system
CN108170425B (en) Program code modification method and device and terminal equipment
CN104932933A (en) Spin lock acquisition method and apparatus
CN111143039A (en) Virtual machine scheduling method and device and computer storage medium
CN112996020A (en) Bluetooth-based automatic testing method and device and Bluetooth testing terminal
CN113434396A (en) Interface test method, device, equipment, storage medium and program product
CN114003451B (en) Interface testing method, device, system and medium
CN108170602B (en) Test case generation method and device, terminal and computer readable medium
CN104424239A (en) Resource file loading method and device
CN111383704B (en) Built-in self-test circuit of memory and test method for memory
CN116702668A (en) Regression testing method and device, electronic equipment and storage medium
CN113272785B (en) Method for mounting file system, terminal equipment and storage medium
CN114995770B (en) Data processing method, device, equipment, system and readable storage medium
CN111143196A (en) Database testing method and device
CN116009889A (en) Deep learning model deployment method and device, electronic equipment and storage medium
CN115145634A (en) System management software self-adaption method, device and medium
CN113220368B (en) Storage client resource isolation method, system, terminal and storage medium
CN114138209A (en) OSD (on screen display) deploying method and device and computer readable storage medium
CN111027196A (en) Simulation analysis task processing method and device for power equipment and storage medium
CN115081233B (en) Flow simulation method and electronic equipment
CN111444392A (en) Method, device and equipment for accessing cave library
CN112466383B (en) Test method, test device and test equipment for arbitration reliability of storage system
CN112329407A (en) Method and device for adding data in table and electronic equipment
CN113014667B (en) Configuration method, device and equipment of rack server and storage medium
CN110879722B (en) Method and device for generating logic schematic diagram and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination