CN110908889A - Automatic testing method and device and control equipment - Google Patents

Automatic testing method and device and control equipment Download PDF

Info

Publication number
CN110908889A
CN110908889A CN201811083637.6A CN201811083637A CN110908889A CN 110908889 A CN110908889 A CN 110908889A CN 201811083637 A CN201811083637 A CN 201811083637A CN 110908889 A CN110908889 A CN 110908889A
Authority
CN
China
Prior art keywords
test data
test
broadcasting
result
configuring
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
CN201811083637.6A
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.)
Qianxun Spatial Intelligence Inc
Qianxun Position Network Co Ltd
Original Assignee
Qianxun Spatial Intelligence Inc
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 Qianxun Spatial Intelligence Inc filed Critical Qianxun Spatial Intelligence Inc
Priority to CN201811083637.6A priority Critical patent/CN110908889A/en
Publication of CN110908889A publication Critical patent/CN110908889A/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

Abstract

The invention is suitable for the technical field of data testing, and provides an automatic testing method, an automatic testing device and control equipment, wherein the testing method comprises the following steps: receiving a test instruction; configuring test data based on the test instruction to obtain a configuration result; adding the configuration result to a broadcasting list, wherein the broadcasting list stores more than one group of test data to be broadcasted; broadcasting test data based on the broadcast list; automatically generating test results based on the broadcasted test data. In the invention, the set broadcast list stores the broadcast task, different test data can be broadcast at the same time, and the test result is automatically generated, thereby improving the test efficiency and reducing the cost.

Description

Automatic testing method and device and control equipment
Technical Field
The invention belongs to the technical field of data testing, and particularly relates to an automatic testing method and device and control equipment.
Background
The test is an important means for ensuring the data quality, and the defect can be found through the test so as to modify the defect and achieve the aim of improving the software quality level.
In the prior art, manual testing is still the main mode in software testing, but because the software testing is carried out by a plurality of repeated and monotonous processes, in order to improve the working efficiency and the testing accuracy, automatic testing appears.
The automated test is any action of replacing or assisting the manual test by means of a tool (program) or a program written by itself for generating random numbers with specified number of bits.
Different services appear in a distributed scene, different service tests need to be carried out by configuring independent automatic test tools, test results are stored in a dispersed mode, classification processing analysis needs to be carried out manually in the later period, and the cost is high.
Disclosure of Invention
The embodiment of the invention provides an automatic testing method, an automatic testing device and control equipment, and aims to solve the problems of scattered testing data and higher later maintenance cost caused by the fact that different services need to be tested correspondingly in the prior art.
An automated testing method, comprising:
receiving a test instruction;
configuring test data based on the test instruction to obtain a configuration result;
adding the configuration result to a broadcasting list, wherein the broadcasting list stores more than one group of test data to be broadcasted;
broadcasting test data based on the broadcast list;
automatically generating test results based on the broadcasted test data.
Preferably, the test instruction carries a test environment, the configuring of the test data based on the test instruction is performed, and the obtaining of the configuration result includes:
analyzing whether test data corresponding to the test environment exist or not;
and configuring the test data based on the analysis result.
Preferably, the configuring of the test data based on the analysis result includes:
when the corresponding test data does not exist, adding the corresponding test data;
the configuration is performed based on the added test data.
Preferably, the configuring based on the added test data comprises:
when the added test data is more than one group, feeding back the addition result of the test data to the user;
receiving a selection indication of a user;
and configuring the test data corresponding to the selection indication to obtain a corresponding configuration result.
Preferably, the configuring of the test data based on the analysis result includes:
when corresponding test data exist, acquiring the quantity of the test data; when the number of the test data is more than one group, sending a selection request to a user;
receiving selection information of a user;
and configuring the test data corresponding to the selection information to obtain a corresponding configuration result.
Preferably, the configuring of the test data based on the analysis result includes:
when corresponding test data exist, acquiring the quantity of the test data;
and when the number of the test data is one group, configuring the test data to obtain a corresponding configuration result.
Preferably, the configuration result includes a corresponding broadcast time, and the broadcasting test data based on the broadcast list includes:
when the broadcasting time is up, labeling the test data to be broadcasted;
and broadcasting the test data subjected to the labeling processing.
Preferably, the automatically generating test results based on the broadcasted test data comprises:
acquiring consumption data, wherein the consumption data is subjected to labeling processing;
matching the test data subjected to the labeling processing with the corresponding consumption data to obtain a matching result;
and generating a corresponding test result based on the matching result.
The invention also provides an automated testing device, comprising:
a receiving unit for receiving a test instruction;
the configuration unit is used for configuring test data based on the test instruction to obtain a configuration result;
an adding unit, configured to add the configuration result to a broadcast list;
a broadcasting unit for broadcasting test data based on the broadcasting list;
and the generating unit is used for automatically generating a test result based on the broadcasted test data.
The present invention also provides a control apparatus comprising an automated testing device, the automated testing device comprising:
a receiving unit for receiving a test instruction;
the configuration unit is used for configuring test data based on the test instruction to obtain a configuration result;
an adding unit, configured to add the configuration result to a broadcast list;
a broadcasting unit for broadcasting test data based on the broadcasting list;
and the generating unit is used for automatically generating a test result based on the broadcasted test data.
The present invention also provides a memory storing a computer program, wherein the computer program is executed by a processor to perform the steps of:
receiving a test instruction;
configuring test data based on the test instruction to obtain a configuration result;
adding the configuration result to a broadcasting list, wherein the broadcasting list stores more than one group of test data to be broadcasted;
broadcasting test data based on the broadcast list;
automatically generating test results based on the broadcasted test data.
The invention also provides a test terminal, which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor executes the computer program to realize the following steps:
receiving a test instruction;
configuring test data based on the test instruction to obtain a configuration result;
adding the configuration result to a broadcasting list, wherein the broadcasting list stores more than one group of test data to be broadcasted;
broadcasting test data based on the broadcasting list, wherein the test data is subjected to labeling processing;
automatically generating test results based on the broadcasted test data.
In the embodiment of the invention, the set broadcast list stores the broadcast task, different test data can be broadcast at the same time, and the test result is automatically generated, so that the test efficiency is improved and the cost is reduced.
Drawings
FIG. 1 is a flow chart of an automated testing method according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a step S2 of an automated testing method according to a first embodiment of the present invention;
fig. 3 is a detailed flowchart of step S22 of a preferred implementation of an automated testing method according to a first embodiment of the present invention;
FIG. 4 is a flowchart illustrating a step S22 of another preferred embodiment of the automated testing method according to the first embodiment of the present invention;
fig. 5 is a flowchart illustrating a step S5 of an automated testing method according to a first embodiment of the present invention;
FIG. 6 is a block diagram of an automatic test device according to a second embodiment of the present invention;
fig. 7 is a structural diagram of a test terminal according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In an embodiment of the present invention, an automated testing method includes: receiving a test instruction; configuring test data based on the test instruction to obtain a configuration result; adding the configuration result to a broadcasting list, wherein the broadcasting list stores more than one group of test data to be broadcasted; broadcasting test data based on the broadcast list; automatically generating test results based on the broadcasted test data.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
The first embodiment is as follows:
fig. 1 is a flowchart illustrating an automated testing method according to a first embodiment of the present invention, where the method includes:
step S1, receiving a test instruction;
specifically, when a user wants to perform a test, the user first performs a setting of the test, for example, opens a user operation interface, and the user can select a test environment according to a requirement, for example, environments such as ordering, payment, service, and the like, and when a service environment required by the user does not exist, the user can create a required environment by himself. The user may issue a confirmation instruction through the interface, or issue a test instruction through a confirmation button or the like.
Step S2, configuring the test data based on the test instruction to obtain a configuration result;
specifically, when a test instruction is received, configuration of test data is performed according to the test instruction, and a corresponding configuration result is obtained. The configuration result may include a broadcast time, a frequency, etc., and may also include a broadcast address, etc., which is not limited herein.
Step S3, adding the configuration result to the broadcasting list;
specifically, each task to be tested is added to a broadcast list, the broadcast list stores test data to be broadcast, and configured test results are added to the broadcast list.
Step S4, broadcasting the test data based on the broadcasting list;
specifically, each test data is configured with a corresponding broadcast time, and the corresponding test data is broadcast according to the broadcast time. That is, different test data are stored in the broadcast list, and the broadcast time of each test data may be inconsistent, or the broadcast times of some test data are consistent, and different test data may be broadcast at the same time, or the test data may be broadcast one by one.
Step S5, automatically generating a test result based on the broadcasted test data;
specifically, after the test data is broadcast, the test data is tested to obtain a corresponding test result.
In this embodiment, the broadcast list is set to store the broadcast task, so that different test data can be broadcast simultaneously, and a test result can be automatically generated, thereby improving the test efficiency and reducing the cost.
In a preferred embodiment of this embodiment, as shown in fig. 2, a specific flowchart of step S2 of an automated testing method according to a first embodiment of the present invention is provided, where step S2 specifically includes:
step S21, analyzing whether test data corresponding to the test environment exist;
specifically, each test environment needs to be configured with corresponding test data, and whether the corresponding test data is stored in the database is analyzed (under a normal condition, the corresponding test data exists after data testing is performed in a certain test environment), so as to obtain a corresponding analysis result. In this embodiment, a database is preset, and the data block stores a plurality of test environments and corresponding test data in advance, and further includes configuration parameters of the test environments and the like. The test environment and the corresponding test data can be added according to the requirements of users, so that one test environment may comprise a plurality of groups of different test data. The user can also change (e.g., delete or add) the test data corresponding to the test environment according to the actual requirement. A set of test data may include more than one piece of test data.
Step S22, configuring test data based on the analysis result;
specifically, when not present, the addition of test data is required, and then the configuration of the test data is performed. When present, the test data is configured directly.
In a preferred embodiment of this embodiment, when there is no corresponding test data, as shown in fig. 3, a specific flowchart of step S22 of a preferred implementation manner of the automated testing method provided in the first embodiment of the present invention is provided, where the step S22 specifically includes:
step S221, adding corresponding test data;
specifically, when there is no test data corresponding to the test environment, the corresponding test data needs to be added.
Step S222, configuring based on the added test data;
specifically, configuration is performed according to the added test data and the corresponding test environment, and a corresponding configuration result is obtained.
In a further preferred embodiment of this embodiment, the added test data may be more than one group, and when the test data is more than one group, the user is required to select one of the groups, and the corresponding step S222 specifically includes:
feeding back the adding result of the test data to the user;
specifically, a dialog box is popped up to the user, and the user is prompted to select one group from the added test data;
receiving a selection indication of a user;
specifically, the user may select the target test data in a dialog box, and then confirm and issue a selection indication.
Configuring the test data corresponding to the selection indication to obtain a corresponding configuration result;
specifically, the configuration of the corresponding test data is performed according to the selection instruction of the user, and a corresponding configuration result is obtained.
It should be noted that, the user may select one or more sets of test data according to the requirement, and this is not limited herein.
When only one set of added test data is available, the corresponding step S222 specifically includes: and directly configuring based on the test data to obtain corresponding configuration data.
In a preferred embodiment of this embodiment, when there is corresponding test data, as shown in fig. 4, a specific flowchart of step S22 of another preferred implementation of the automated testing method provided in the first embodiment of the present invention is provided, where the step S22 specifically includes:
step S2201, acquiring the quantity of the test data;
specifically, when there is corresponding test data, the number of the corresponding test data is obtained, and the number may be one group, two groups, or three or more groups, which is not limited herein.
Step S2202, when the number of test data is more than one set, a selection request is issued to the user,
specifically, if the number of the test data corresponding to the current test environment is more than two, a selection request needs to be sent to the user, and the user can select the test data to be tested according to actual requirements. Preferably, a dialog box may pop up to the user for selection by the user.
Step S2023, receiving selection information of a user;
specifically, when the user receives a selection request, test data is selected according to the requirement, and then it is confirmed that the system receives selection information of the user. It should be noted that the test data selected by the user may be more than one set.
Step S2024, configuring the test data corresponding to the selection information to obtain a corresponding configuration result;
specifically, according to the selection information of the user, corresponding test data is obtained, then the test data is configured, and when the selected test data is more than one group, the test data is configured respectively to obtain corresponding configuration results, where the configuration results may include: configuration parameters of the test environment, configuration parameters of the corresponding test data, such as broadcasting time, broadcasting frequency, etc.
In a variation of this embodiment, if there is only one set of test data, for example, when the current test environment corresponds to one set of test data, the test data is directly configured to obtain the corresponding test result.
In a preferable scheme of this embodiment, the step S4 specifically includes: when the broadcasting time is up, the test data to be broadcasted is marked and the marked test data is broadcasted, when the broadcasting time of the test data is set to be broadcasted immediately, the test data is marked when the test data is added to a broadcasting list, and then the test data is broadcasted. The test data is labeled, so that the data can be checked conveniently and subsequently, and the test accuracy is improved.
When the broadcasting time is the broadcasting arrival time, waiting for the broadcasting time to arrive, and starting to broadcast the test data when the broadcasting arrival time is reached (labeling the test data before broadcasting). Preferably, the test data in the broadcast list are sorted according to the broadcast time, and the broadcast time of the test data ranked before is prior. And in the broadcasting process, monitoring whether the broadcasting list has the test data which is not broadcasted in real time, and after the broadcasting is finished, turning to the step S5, otherwise, continuing to broadcast until the group of test data is broadcasted.
In a preferred embodiment of this embodiment, as shown in fig. 5, a specific flowchart of step S5 of an automated testing method according to the first embodiment of the present invention is provided, where step S5 specifically includes:
step S51, acquiring consumption data;
specifically, the consumption data is subjected to labeling processing, the consumption module receives the test data in real time for consumption, then the consumption data is subjected to labeling processing, the labeled consumption data is a label corresponding to the received test data, the consumption data is obtained from the consumption module, namely after the test data is received, the test data is subjected to labeling processing, and the labeled consumption data is consistent with the label printed by the test data before being broadcast.
Step S52, matching the labeled test data with the corresponding consumption data to obtain a matching result;
specifically, matching the labeled test data with the labeled consumption data to obtain a matching result. Further, since the label of the consumption data is consistent with the label of the test data, if the two labels are not matched, the matching is unsuccessful, and if the two labels are matched, the matching is successful.
Step S53, generating a corresponding test result based on the matching result;
specifically, the corresponding test result is automatically generated according to the matching result, and since different test data have different matching results, all the matching results are collected to form a test result report.
In this embodiment, the set broadcast list stores the broadcast task, different test data can be broadcast simultaneously, and a test result can be automatically generated, thereby improving the test efficiency and reducing the cost. Secondly, the broadcasted test data is labeled, so that the follow-up information broadcasting and consumption data in different test environments are convenient to be accurate, and the test efficiency is improved.
Moreover, the test data and the consumption data which are automatically tested and broadcast have simple implementation process, manual operation is reduced, and the working efficiency is improved.
Example two:
as shown in fig. 6, a structural diagram of an automated testing apparatus according to a second embodiment of the present invention is provided, where the automated testing apparatus includes: receiving unit 1, configuration unit 2 connected with receiving unit 1, adding unit 3 connected with configuration unit 2, broadcasting unit 4 connected with adding unit 3, generating unit 5 connected with broadcasting unit 4, wherein:
a receiving unit 1, configured to receive a test instruction;
specifically, when a user wants to perform a test, the user first performs a setting of the test, for example, opens a user operation interface, and the user can select a test environment according to a requirement, for example, environments such as ordering, payment, service, and the like, and when a service environment required by the user does not exist, the user can create a required environment by himself. The user may issue a confirmation instruction through the interface, or issue a test instruction through a confirmation button or the like.
The configuration unit 2 is used for configuring test data based on the test instruction to obtain a configuration result;
specifically, when a test instruction is received, configuration of test data is performed according to the test instruction, and a corresponding configuration result is obtained. The configuration result may include a broadcast time, a frequency, etc., and may also include a broadcast address, etc., which is not limited herein.
An adding unit 3, configured to add the configuration result to the broadcast list;
specifically, each task to be tested is added to a broadcast list, the broadcast list stores test data to be broadcast, and configured test results are added to the broadcast list.
A broadcasting unit 4 for broadcasting the test data based on the broadcasting list;
specifically, each test data is configured with a corresponding broadcast time, and the corresponding test data is broadcast according to the broadcast time. That is, different test data are stored in the broadcast list, and the broadcast time of each test data may be inconsistent, or the broadcast times of some test data are consistent, and different test data may be broadcast at the same time, or the test data may be broadcast one by one.
A generating unit 5 for automatically generating a test result based on the broadcasted test data;
specifically, after the test data is broadcast, the test data is tested to obtain a corresponding test result.
In this embodiment, the broadcast list is set to store the broadcast task, so that different test data can be broadcast simultaneously, and a test result can be automatically generated, thereby improving the test efficiency and reducing the cost.
In a preferred embodiment of this embodiment, the configuration unit 2 specifically includes: an analysis subunit, a configuration subunit connected to the analysis subunit, wherein:
the analysis subunit is used for analyzing whether test data corresponding to the test environment exist or not;
specifically, each test environment needs to be configured with corresponding test data, and whether the corresponding test data is stored in the database is analyzed (under a normal condition, the corresponding test data exists after data testing is performed in a certain test environment), so as to obtain a corresponding analysis result. In this embodiment, a database is preset, and the data block stores a plurality of test environments and corresponding test data in advance, and further includes configuration parameters of the test environments and the like. The test environment and the corresponding test data can be added according to the requirements of users, so that one test environment may comprise a plurality of groups of different test data. The user can also change (e.g., delete or add) the test data corresponding to the test environment according to the actual requirement. A set of test data may include more than one piece of test data.
The configuration subunit is used for configuring the test data based on the analysis result;
specifically, when not present, the addition of test data is required, and then the configuration of the test data is performed. When present, the test data is configured directly.
In a preferred embodiment of this embodiment, when there is no corresponding test data, the configuration subunit is specifically configured to:
adding corresponding test data;
specifically, when there is no test data corresponding to the test environment, the corresponding test data needs to be added.
And is also used for: configuring the added test data;
specifically, configuration is performed according to the added test data and the corresponding test environment, and a corresponding configuration result is obtained.
In a further preferred embodiment of the present embodiment, the added test data may be more than one group, and when there are more than one group, the user is required to select one of the groups, and the configuration process is as follows:
feeding back the adding result of the test data to the user;
specifically, a dialog box is popped up to the user, and the user is prompted to select one group from the added test data;
receiving a selection indication of a user;
specifically, the user may select the target test data in a dialog box, and then confirm and issue a selection indication.
Configuring the test data corresponding to the selection indication to obtain a corresponding configuration result;
specifically, the configuration of the corresponding test data is performed according to the selection instruction of the user, and a corresponding configuration result is obtained.
It should be noted that, the user may select one or more sets of test data according to the requirement, and this is not limited herein.
When only one set of test data is added, the process of configuration is as follows:
and directly configuring based on the test data to obtain corresponding configuration data.
In a preferred embodiment of this embodiment, when there is corresponding test data, the configuration subunit is specifically configured to:
acquiring the quantity of test data;
specifically, when there is corresponding test data, the number of the corresponding test data is obtained, and the number may be one group, two groups, or three or more groups, which is not limited herein.
When the number of test data is more than one group, a selection request is issued to the user,
specifically, if the number of the test data corresponding to the current test environment is more than two, a selection request needs to be sent to the user, and the user can select the test data to be tested according to actual requirements. Preferably, a dialog box may pop up to the user for selection by the user.
Receiving selection information of a user;
specifically, when the user receives a selection request, test data is selected according to the requirement, and then it is confirmed that the system receives selection information of the user. It should be noted that the test data selected by the user may be more than one set.
Configuring the test data corresponding to the selection information to obtain a corresponding configuration result;
specifically, according to the selection information of the user, corresponding test data is obtained, then the test data is configured, and when the selected test data is more than one group, the test data is configured respectively to obtain corresponding configuration results, where the configuration results may include: configuration parameters of the test environment, configuration parameters of the corresponding test data, such as broadcasting time, broadcasting frequency, etc.
In a variation of this embodiment, if there is only one set of test data, for example, when the current test environment corresponds to one set of test data, the configuration subunit directly configures the test data to obtain the corresponding test result.
In a preferred embodiment of this embodiment, the broadcasting unit 4 is specifically configured to:
when the broadcasting time is up, the test data to be broadcasted is marked and the marked test data is broadcasted, when the broadcasting time of the test data is set to be broadcasted immediately, the test data is marked when the test data is added to a broadcasting list, and then the test data is broadcasted. The test data is labeled, so that the data can be checked conveniently and subsequently, and the test accuracy is improved.
When the broadcasting time is the broadcasting arrival time, waiting for the broadcasting time to arrive, and starting to broadcast the test data when the broadcasting arrival time is reached (labeling the test data before broadcasting). Preferably, the test data in the broadcast list are sorted according to the broadcast time, and the broadcast time of the test data ranked before is prior. And in the broadcasting process, monitoring whether the broadcasting list has the test data which is not broadcasted or not in real time, feeding back to the generating unit 5 after the broadcasting is finished, or continuing to broadcast until the group of test data is broadcasted.
In a preferred embodiment of this embodiment, the generating unit 5 is specifically configured to:
acquiring consumption data;
specifically, the consumption data is subjected to labeling processing, the consumption module receives the test data in real time for consumption, then the consumption data is subjected to labeling processing, the labeled consumption data is a label corresponding to the received test data, the consumption data is obtained from the consumption module, namely after the test data is received, the test data is subjected to labeling processing, and the labeled consumption data is consistent with the label printed by the test data before being broadcast.
Matching the test data subjected to the labeling processing with the corresponding consumption data to obtain a matching result, and further, if the labels of the consumption data and the test data are consistent, if the labels of the consumption data and the test data are not consistent in matching, the matching is unsuccessful, and if the labels of the consumption data and the test data are consistent in matching, the matching is successful;
specifically, matching the labeled test data with the labeled consumption data to obtain a matching result.
Generating a corresponding test result based on the matching result;
specifically, the corresponding test result is automatically generated according to the matching result, and since different test data have different matching results, all the matching results are collected to form a test result report.
In this embodiment, the set broadcast list stores the broadcast task, different test data can be broadcast simultaneously, and a test result can be automatically generated, thereby improving the test efficiency and reducing the cost.
Secondly, the broadcasted test data is labeled, so that the follow-up information broadcasting and consumption data in different test environments are convenient to be accurate, and the test efficiency is improved.
Moreover, the test data and the consumption data which are automatically tested and broadcast have simple implementation process, manual operation is reduced, and the working efficiency is improved.
The invention also provides a control device, which comprises an automatic testing device and a consumption module, wherein the specific structure, the working principle and the corresponding technical effect of the testing device are basically consistent with those of the automatic testing device described in the second embodiment, and the detailed description is omitted here. The consumption module is used for receiving consumption data corresponding to the test data, labeling the consumption data, and feeding back the consumption data to facilitate testing.
Example three:
fig. 7 is a structural diagram of a test terminal according to a third embodiment of the present invention, where the test terminal includes: a memory (memory)71, a processor (processor)72, a communication Interface (Communications Interface)73 and a bus 74, wherein the processor 72, the memory 71 and the communication Interface 73 are communicated with each other via the bus 74.
A memory 71 for storing various data;
specifically, the memory 71 is used for storing various data, such as data in communication, received data, and the like, and is not limited herein, and the memory also includes a plurality of computer programs.
A communication interface 73 for information transmission between communication devices of the test terminal;
the processor 72 is used for calling various computer programs in the memory 71 to execute an automated testing method provided by the first embodiment, for example:
receiving a test instruction;
configuring test data based on the test instruction to obtain a configuration result;
adding the configuration result to a broadcasting list, wherein the broadcasting list stores more than one group of test data to be broadcasted;
broadcasting test data based on the broadcast list;
automatically generating test results based on the broadcasted test data.
In the embodiment, the set broadcast list stores the broadcast task, different test data can be broadcast at the same time, the test result is automatically generated, the test efficiency is improved, and the cost is reduced.
The invention also provides a memory, wherein the memory stores a plurality of computer programs, and the computer programs are called by the processor to execute the automatic testing method of the first embodiment.
In the invention, the set broadcast list stores the broadcast task, different test data can be broadcast at the same time, and the test result is automatically generated, thereby improving the test efficiency and reducing the cost.
Secondly, the broadcasted test data is labeled, so that the follow-up information broadcasting and consumption data in different test environments are convenient to be accurate, and the test efficiency is improved.
Moreover, the test data and the consumption data which are automatically tested and broadcast have simple implementation process, manual operation is reduced, and the working efficiency is improved.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation.
Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention. The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. An automated testing method, comprising:
receiving a test instruction;
configuring test data based on the test instruction to obtain a configuration result;
adding the configuration result to a broadcasting list, wherein the broadcasting list stores more than one group of test data to be broadcasted;
broadcasting test data based on the broadcast list;
automatically generating test results based on the broadcasted test data.
2. The automatic test method of claim 1, wherein the test instruction carries a test environment, the configuring of the test data based on the test instruction is performed, and the obtaining of the configuration result comprises:
analyzing whether test data corresponding to the test environment exist or not;
and configuring the test data based on the analysis result.
3. The automated testing method of claim 2, wherein the configuring of test data based on analysis results comprises:
when the corresponding test data does not exist, adding the corresponding test data;
the configuration is performed based on the added test data.
4. The automated testing method of claim 3, wherein the configuring based on the added test data comprises:
when the added test data is more than one group, feeding back the addition result of the test data to the user;
receiving a selection indication of a user;
and configuring the test data corresponding to the selection indication to obtain a corresponding configuration result.
5. The automated testing method of claim 2, wherein the configuring of test data based on analysis results comprises:
when corresponding test data exist, acquiring the quantity of the test data; when the number of the test data is more than one group, sending a selection request to a user;
receiving selection information of a user;
and configuring the test data corresponding to the selection information to obtain a corresponding configuration result.
6. The automated testing method of claim 2, wherein the configuring of test data based on analysis results comprises:
when corresponding test data exist, acquiring the quantity of the test data;
and when the number of the test data is one group, configuring the test data to obtain a corresponding configuration result.
7. The automated testing method of claim 1, wherein the configuration result comprises a corresponding broadcast time, and wherein broadcasting test data based on the broadcast list comprises:
when the broadcasting time is up, labeling the test data to be broadcasted;
and broadcasting the test data subjected to the labeling processing.
8. The automated testing method of claim 7, wherein automatically generating test results based on the disseminated test data comprises:
acquiring consumption data, wherein the consumption data is subjected to labeling processing;
matching the test data subjected to the labeling processing with the corresponding consumption data to obtain a matching result;
and generating a corresponding test result based on the matching result.
9. An automated testing apparatus, comprising:
a receiving unit for receiving a test instruction;
the configuration unit is used for configuring test data based on the test instruction to obtain a configuration result;
an adding unit, configured to add the configuration result to a broadcast list;
a broadcasting unit for broadcasting test data based on the broadcasting list;
and the generating unit is used for automatically generating a test result based on the broadcasted test data.
10. A control device comprising an automated testing apparatus according to claim 9.
11. A memory storing a computer program, the computer program being executable by a processor to perform the steps of:
receiving a test instruction;
configuring test data based on the test instruction to obtain a configuration result;
adding the configuration result to a broadcast list;
broadcasting test data based on the broadcast list;
automatically generating test results based on the broadcasted test data.
12. A test terminal comprising a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor implements the steps of the automated test method according to any one of claims 1 to 8 when executing said computer program.
CN201811083637.6A 2018-09-17 2018-09-17 Automatic testing method and device and control equipment Pending CN110908889A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811083637.6A CN110908889A (en) 2018-09-17 2018-09-17 Automatic testing method and device and control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811083637.6A CN110908889A (en) 2018-09-17 2018-09-17 Automatic testing method and device and control equipment

Publications (1)

Publication Number Publication Date
CN110908889A true CN110908889A (en) 2020-03-24

Family

ID=69812637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811083637.6A Pending CN110908889A (en) 2018-09-17 2018-09-17 Automatic testing method and device and control equipment

Country Status (1)

Country Link
CN (1) CN110908889A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765039A (en) * 2021-02-03 2021-05-07 上海复深蓝软件股份有限公司 Test data consumption dyeing method and device, computer equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030070120A1 (en) * 2001-10-05 2003-04-10 International Business Machines Corporation Method and system for managing software testing
CN101471819A (en) * 2007-12-29 2009-07-01 中国移动通信集团公司 Test system, test method, management domain and operation domain
CN102092477A (en) * 2010-11-30 2011-06-15 中国民航大学 Device and method for automatic test and fault diagnosis of plane audio integrated system
CN102147619A (en) * 2011-03-02 2011-08-10 天津清源电动车辆有限责任公司 Virtual instrument-based motor control automatic testing system and method for electric automobile
CN102546300A (en) * 2007-12-29 2012-07-04 中国移动通信集团公司 Test system and operating region equipment
CN103092756A (en) * 2013-01-08 2013-05-08 彭勇 Interactive automated testing system and method thereof
CN103440200A (en) * 2013-09-05 2013-12-11 北京航空航天大学 High-instantaneity and large-data-volume test playback method based on double operating systems
CN103810084A (en) * 2012-11-07 2014-05-21 腾讯科技(深圳)有限公司 Method, device and system for testing JS codes
CN104834595A (en) * 2015-02-15 2015-08-12 网易(杭州)网络有限公司 Visual automatic test method and system
CN107678965A (en) * 2017-09-30 2018-02-09 千寻位置网络有限公司 It is automatically integrating method of testing and system, service terminal, memory

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030070120A1 (en) * 2001-10-05 2003-04-10 International Business Machines Corporation Method and system for managing software testing
CN101471819A (en) * 2007-12-29 2009-07-01 中国移动通信集团公司 Test system, test method, management domain and operation domain
CN102546300A (en) * 2007-12-29 2012-07-04 中国移动通信集团公司 Test system and operating region equipment
CN102092477A (en) * 2010-11-30 2011-06-15 中国民航大学 Device and method for automatic test and fault diagnosis of plane audio integrated system
CN102147619A (en) * 2011-03-02 2011-08-10 天津清源电动车辆有限责任公司 Virtual instrument-based motor control automatic testing system and method for electric automobile
CN103810084A (en) * 2012-11-07 2014-05-21 腾讯科技(深圳)有限公司 Method, device and system for testing JS codes
CN103092756A (en) * 2013-01-08 2013-05-08 彭勇 Interactive automated testing system and method thereof
CN103440200A (en) * 2013-09-05 2013-12-11 北京航空航天大学 High-instantaneity and large-data-volume test playback method based on double operating systems
CN104834595A (en) * 2015-02-15 2015-08-12 网易(杭州)网络有限公司 Visual automatic test method and system
CN107678965A (en) * 2017-09-30 2018-02-09 千寻位置网络有限公司 It is automatically integrating method of testing and system, service terminal, memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765039A (en) * 2021-02-03 2021-05-07 上海复深蓝软件股份有限公司 Test data consumption dyeing method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107861871B (en) Gray scale publishing method, device, server and storage medium
CN107592238B (en) Automatic test method and system of interface, service terminal and memory
CN103744784B (en) Mobile phone application automated testing method and system
CN110086664B (en) Access equipment fault processing method and device
CN106886493B (en) Method and device for establishing automatic test system
CN111475417A (en) Automatic testing method, device, equipment and storage medium
CN110163739B (en) Payment complaint method, device, server and readable storage medium
CN107807841B (en) Server simulation method, device, equipment and readable storage medium
CN103902446A (en) Network server automated testing method and device
CN111639002A (en) Method and system for testing sleep power consumption, computer equipment and storage medium
CN113706022A (en) Business process execution method and device, storage medium and electronic equipment
CN113704063A (en) Performance monitoring method, device, equipment and storage medium of cloud mobile phone
CN107170218B (en) Remote assistance method and system for debugging fire alarm system
CN110908889A (en) Automatic testing method and device and control equipment
CN110908708B (en) Code release method, device and system
CN110457219B (en) Method and device for selecting time when test script is recorded
CN112486833A (en) Software testing system and method capable of dynamically reconstructing on demand and oriented to software defined satellite
CN111258765A (en) Load balancing method and device, computing equipment and storage medium
CN110717315A (en) System data batch modification method and device, storage medium and electronic equipment
CN115913427A (en) Beidou module testing method, device, equipment and storage medium
CN113672497B (en) Method, device and equipment for generating non-buried point event and storage medium
CN114356781A (en) Software function testing method and device
CN114510421A (en) Test method, test device, chip and module equipment
CN113190451A (en) Test method, test device, electronic equipment and storage medium
CN106405430B (en) Lithium ion battery on-line detection conversion control equipment, system and method

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 200438 9 / F, 10 / F, 11 / F, 12 / F, 38 Lane 1688, Guoquan North Road, Yangpu District, Shanghai

Applicant after: QIANXUN SPATIAL INTELLIGENCE Inc.

Address before: Room j165, 1st floor, building 64, 1436 Jungong Road, Yangpu District, Shanghai, 200433

Applicant before: QIANXUN SPATIAL INTELLIGENCE Inc.