CN115905009A - Automatic testing method based on backtracking comparison, electronic equipment and storage medium - Google Patents

Automatic testing method based on backtracking comparison, electronic equipment and storage medium Download PDF

Info

Publication number
CN115905009A
CN115905009A CN202211644330.5A CN202211644330A CN115905009A CN 115905009 A CN115905009 A CN 115905009A CN 202211644330 A CN202211644330 A CN 202211644330A CN 115905009 A CN115905009 A CN 115905009A
Authority
CN
China
Prior art keywords
backtracking
data
link
test
request information
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
CN202211644330.5A
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank 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 Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202211644330.5A priority Critical patent/CN115905009A/en
Publication of CN115905009A publication Critical patent/CN115905009A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application discloses an automatic testing method based on backtracking comparison, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring service data of a trigger event in a test process in an old version of a target application program, filtering request information and response information, constructing link nodes, acquiring aggregated link data, performing regression test on the aggregated link data, binding the aggregated link data of the old version with a backtracking interface after the test is passed to generate backtracking simulation data, judging whether a backtracking link identifier exists in a new version when the new version of the target application program is tested, triggering the backtracking interface through the backtracking link identifier if the backtracking link identifier exists, comparing the backtracking simulation data with the aggregated link data with the backtracking link identifier in the new version, and judging whether the backtracking simulation data and the aggregated link data with the backtracking link identifier in the new version have the same result. According to the scheme, the old version data is used as the backtracking simulation data and is compared with the new version data, a new mode is provided for backtracking comparison testing, and the testing quality is improved.

Description

Automatic testing method based on backtracking comparison, electronic equipment and storage medium
Technical Field
The present application relates to the field of testing, and in particular, to an automated testing method, an electronic device, and a storage medium based on backtracking comparison.
Background
The automatic test is a software test technology, and an automatic test tool is used for executing test cases, so that the investment return rate of test automation is improved. Automated testing is also generally an incremental verification technique for testing products, where automation is how to use automated testing pre-discovery problem regression testing, new changes to products do not disrupt existing functionality. Adding a new test case for each new function can ensure that the regression test is successful. The original functions are prevented from being influenced by the development of new functions, and the regression test is more important in the agile test in products which continuously need to be added with functions. Therefore, the automation of the regression test can obviously reduce the test cost, correctly implement the regression test and improve the quality of the tested product.
In the current general method, the assertion information in the script is used to judge the result, and the assertion of the interface cannot be written for each return field, which causes incompleteness and error of the test.
Disclosure of Invention
The application at least provides an automatic testing method, electronic equipment and storage medium based on backtracking comparison, so that old version data are used as backtracking simulation data and are compared with new version data, a new mode is provided for backtracking comparison testing, and testing quality is improved.
The application provides an automatic testing method based on backtracking comparison in a first aspect, which comprises the following steps:
acquiring service data of a trigger event in a test process in an old version of a target application program, wherein the service data comprises request information, response information of the event and event operation time;
filtering the request information and the response information, constructing link nodes by the filtered request information and the filtered response information, and sequencing the link nodes according to the event operation time to obtain the old version of aggregated link data;
performing regression testing on the old version of the aggregated link data, and if the old version of the aggregated link data passes the testing, placing the old version of the aggregated link data into a storage device and binding the old version of the aggregated link data with a backtracking interface to generate backtracking simulation data;
when the new version of the target application program is tested, whether a backtracking link identification exists in service data of a trigger event in the testing process in the new version is judged, if the backtracking link identification exists, the backtracking interface is triggered through the backtracking link identification, the backtracking simulation data and the aggregated link data with the backtracking link identification in the new version are compared, whether the backtracking simulation data and the aggregated link data are the same or not is judged, if the backtracking simulation data and the aggregated link data are the same, the comparison test is passed, and if the backtracking simulation data and the aggregated link data are the same, an error report is output.
Wherein, after performing regression testing on the old version of aggregated link data, the method includes:
and if the old version of the aggregation link data does not pass the test, outputting an error report, adjusting the test problem, and then executing the regression test again.
The filtering the request information and the response information, constructing link nodes for the filtered request information and the filtered response information, and sequencing the link nodes according to the event operation time to obtain the old version of aggregated link data includes:
identifying request information and response information with backtracking link identifications in the request information and the response information, and filtering out the request information and the response information with the backtracking link identifications;
constructing link nodes for the request information and the response information with the backtracking link identifiers;
and sequencing all the link nodes according to the event operation time to obtain the old version of the aggregated link data.
Wherein, after identifying the request information and the response information with the backtracking link identifier in the request information and the response information and filtering the request information and the response information with the link identifier, the method comprises the following steps:
converting the request information and the response information without backtracking link identification in the request information and the response information into test cases, and setting assertions in the parts needing to be tested in the test cases;
and executing the test case, if the assertion fails to output correct data successfully, checking the test problem of the test case, adjusting the test problem, and executing the test again.
The acquiring service data of an event triggered in a test process in an old version of a target application program, where the service data includes request information, response information of the event, and a time before an event operation time, includes:
initiating request information to the old version of the target application program;
the request information triggers the control layer of the application program and returns the service data of the triggering event in the testing process.
When a new version of the target application program is tested, judging whether backtracking link identification exists in service data of a trigger event in the testing process in the new version comprises the following steps:
if the backtracking link identification does not exist, the service data of the trigger event in the new version directly initiates a test request for testing.
Wherein, if the two are the same, the comparison test is passed, otherwise, after the error report is output, the method comprises the following steps:
and sending the error report to a terminal for displaying.
Wherein the method further comprises:
and performing regression testing on the aggregated link data with the backtracking link identifier in the new version, and if the aggregated link data with the backtracking link identifier in the new version passes the testing, putting the aggregated link data into a storage device and binding the aggregated link data with a backtracking interface to generate backtracking simulation data for next backtracking comparison.
A second aspect of the present application provides an electronic device, which includes a memory and a processor coupled to each other, where the processor is configured to execute program instructions stored in the memory, so as to implement the automated testing method based on traceback comparison in the first aspect.
A third aspect of the present application provides a computer-readable storage medium, on which program instructions are stored, and when the program instructions are executed by a processor, the automated testing method based on backtracking comparison in the first aspect is implemented.
According to the scheme, business data of a trigger event in a test process in an old version of a target application program is obtained, request information and response information are filtered, link nodes are constructed for the filtered request information and the filtered response information, aggregated link data are obtained and subjected to regression test, if the aggregated link data of the old version pass the test, the aggregated link data of the old version are bound with a backtracking interface to generate backtracking simulation data, when the new version of the target application program is tested, whether a backtracking link identifier exists in the new version is judged, if the backtracking link identifier exists, the backtracking interface is triggered through the backtracking link identifier, the backtracking simulation data and the aggregated link data with the backtracking link identifier in the new version are compared, and whether the results of the backtracking simulation data and the aggregated link data with the backtracking link identifier in the new version are the same is judged. According to the scheme, the system difference of the new version and the old version is verified through automatic comparison, the aggregation link data in the old version is bound with the backtracking interface to generate backtracking simulation data, so that a fine test scene is realized, the backtracking simulation data is compared with the aggregation link data with the backtracking link identification in the new version, problems are found before the new version is on line, the old version data is used as the backtracking simulation data and is compared with the new version data, a new mode is provided for backtracking comparison test, and the test quality is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the application.
FIG. 1 is a schematic flowchart of a first embodiment of an automated testing method based on backtracking comparison according to the present application;
FIG. 2 is a schematic flowchart of a second embodiment of an automated testing method based on backtracking comparison according to the present application;
FIG. 3 is a block diagram of an embodiment of an electronic device of the present application;
FIG. 4 is a block diagram of an embodiment of a non-volatile computer-readable storage medium of the present application.
Detailed Description
The following describes in detail the embodiments of the present application with reference to the drawings attached hereto.
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular system structures, interfaces, techniques, etc. in order to provide a thorough understanding of the present application.
The term "and/or" herein is merely an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship. Further, the term "plurality" herein means two or more than two. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of a, B, C, and may mean including any one or more elements selected from the group consisting of a, B, and C.
If the technical scheme of the application relates to personal information, a product applying the technical scheme of the application clearly informs personal information processing rules before processing the personal information, and obtains personal independent consent. If the technical scheme of the application relates to sensitive personal information, a product applying the technical scheme of the application obtains individual consent before processing the sensitive personal information, and simultaneously meets the requirement of 'express consent'. For example, at a personal information collection device such as a camera, a clear and significant identifier is set to inform that the personal information collection range is entered, the personal information is collected, and if the person voluntarily enters the collection range, the person is regarded as agreeing to collect the personal information; or on the device for processing the personal information, under the condition of informing the personal information processing rule by using obvious identification/information, obtaining personal authorization by modes of popping window information or asking a person to upload personal information of the person by himself, and the like; the personal information processing rule may include information such as a personal information processor, a personal information processing purpose, a processing method, and a type of personal information to be processed.
At present, regression testing is carried out in the industry, and meanwhile, automatic testing is also achieved. And compiling a regression test script and carrying out automatic execution. The result is judged by assertion information in the script. This approach improves the efficiency of the test over a certain program. But there are also problems: the judgment of the result is predicated, in the actual script writing, the predication of the interface cannot be predicated according to each return field, so that the test is not complete and has errors, and the script which seems to run successfully is truly successful and not necessarily. In this case, accidents caused by the missing regression test can occur in practical application.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a first embodiment of an automated testing method based on backtracking comparison according to the present application. Specifically, the method may include the steps of:
step S100: and acquiring service data of a trigger event in the test process in the old version of the target application program, wherein the service data comprises request information, response information of the event and event operation time.
In this embodiment, the obtaining of the service data of the event triggered in the test process in the old version of the target application program includes initiating request information to the old version of the target application program, where the service data includes request information, response information of the event, and a time before an event operation time; the request information triggers the control layer of the application program and returns the service data of the triggering event in the testing process. When the old version of the target application program needs to initiate request information first, a control controller of the application program is triggered to run, response information and request information generated by the starting time in the test process are returned, and the response information and the request information are assembled into an mq message form and returned, wherein the mq message is a cross-process communication mechanism and is used for transmitting messages upstream and downstream. After the mq information is used, the message sending upstream only needs to rely on the mq information and does not depend on other services.
Step S101: and filtering the request information and the response information, constructing link nodes by using the filtered request information and the filtered response information, and sequencing the link nodes according to the event operation time to obtain the old version of the aggregated link data.
In this embodiment, the step S101 includes:
identifying request information and response information with backtracking link identifications in the request information and the response information, and filtering out the request information and the response information with the backtracking link identifications; constructing link nodes for the request information and the response information with the backtracking link identification; and sequencing all the link nodes according to the event operation time to obtain the old version of the aggregated link data. That is to say, the request information and the response information are firstly filtered according to the situation whether the backtracking link identifier exists or not, so as to obtain the request information and the response information with the backtracking link identifier, link nodes are constructed on the request information and the response information with the backtracking link identifier, and the link nodes are sequenced according to the event operation time to form an identifier link, so as to obtain the old version of aggregated link data.
Further, after the request information and the response information with the backtracking link identifiers are identified from the request information and the response information, the request information and the response information with the link identifiers are filtered, the request information and the response information without the backtracking link identifiers in the request information and the response information are converted into test cases, and assertions are set in parts needing to be tested in the test cases; and executing the test case, if the assertion fails to output correct data successfully, checking the test problem of the test case, adjusting the test problem, and executing the test again. That is, the request information and the response information without the link identifier do not need to be backtracked and compared, so that the automatic test of the real request can be directly performed, the real request is converted into a test case, the part of the test case which needs to be tested is set with assertion, the test case is executed, if the assertion fails to output correct data successfully, the test problem of the test case is checked, and the test is executed again after the test problem is adjusted.
Step S102: and performing regression testing on the old version of the aggregated link data, and if the old version of the aggregated link data passes the testing, placing the old version of the aggregated link data into storage equipment and binding the old version of the aggregated link data with a backtracking interface to generate backtracking simulation data.
In this embodiment, after performing the regression test on the old version of the aggregated link data, the method includes outputting an error report if the old version of the aggregated link data fails to pass the test, and performing the regression test again after adjusting the test problem, where the time for performing the regression test on the old version of the aggregated link data is mainly when the version is stable, and the regression case automatic test may be set so as to operate the regression test.
Step S103: when a new version of the target application program is tested, whether a backtracking link identification exists in service data of a trigger event in the testing process in the new version is judged, if the backtracking link identification exists, the backtracking interface is triggered through the backtracking link identification, the backtracking simulation data and aggregated link data with the backtracking link identification in the new version are compared, whether the backtracking simulation data and the aggregated link data are identical or not is judged, if the backtracking simulation data and the aggregated link data are identical, a comparison test is passed, and if the backtracking simulation data and the aggregated link data are identical, an error report is output.
In this embodiment, if the error report is the same as the error report, the comparison test is passed, otherwise, after the error report is output, the error report is sent to a terminal for display. The error report usually includes problems of new bug caused by code change, problem in deployment environment, and problem in data.
In this embodiment, the method further includes performing a regression test on the aggregated link data with the backtracking link identifier in the new version, and if the aggregated link data with the backtracking link identifier in the new version passes the test, placing the aggregated link data in a storage device and binding the aggregated link data with a backtracking interface to generate backtracking simulation data for performing a next backtracking comparison. That is to say, after each backtracking comparison, the aggregation link data of the new version is subjected to a regression test, and after passing the test, the aggregation link data can be bound with the backtracking interface to be used as backtracking simulation data for backtracking comparison in the next updating.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Under the existing condition, regression testing is performed in the industry at present, and meanwhile, automatic testing is also achieved. And compiling a regression test script and carrying out automatic execution. And judging the result through assertion information in the script. This approach improves the efficiency of the test over a certain program. But there are also problems: the judgment of the result is realized through assertion, and in the actual script writing, the assertion of the interface cannot be expressed for each return field, so that the test is not complete and has error, and the script which seems to run successfully is not necessarily successful. In the case, accidents caused by the missing of the regression test occur in practical application.
In the embodiment, the system difference of the new version and the old version is verified through automatic comparison, the aggregation link data in the old version is bound with the backtracking interface to generate backtracking simulation data, so that a fine test scene is realized, the backtracking simulation data is compared with the aggregation link data with a backtracking link identifier in the new version, problems are found before the new version is on line, the old version data is used as the backtracking simulation data and is compared with the new version data, a new mode is provided for backtracking comparison test, and the test quality is improved.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a second embodiment of an automated testing method based on backtracking comparison according to the present application. Specifically, the method may include the steps of:
step S200: and acquiring service data of a trigger event in the test process in the old version of the target application program, wherein the service data comprises request information, response information of the event and event operation time.
As described above in S100, which is not described herein.
Step S201: and filtering the request information and the response information, constructing link nodes by using the filtered request information and the filtered response information, and sequencing the link nodes according to the event operation time to obtain the old version of the aggregated link data.
As described above in S101, further description is omitted here.
Step S202: and performing regression testing on the old version of the aggregated link data.
In this embodiment, the regression case automatic test may be set when the old version of aggregated link data is subjected to the regression test, mainly when the version is stable, so as to run the regression test.
Step S203: and if the old version of the aggregated link data passes the test, the old version of the aggregated link data is put into a storage device and bound with a backtracking interface to generate backtracking simulation data.
Step S204: and if the old version of the aggregation link data does not pass the test, outputting an error report, adjusting the test problem, and then executing the regression test again.
In this embodiment, if the test fails, the output error is reported, and the test is performed again after the test problem is artificially adjusted until the test is successfully performed, and the aggregated link data of the version is placed into the storage device and bound with the backtracking interface to generate the backtracking simulation data.
In this embodiment, by performing regression testing on the aggregated link data of the old version, the aggregated link data can become backtracking simulation data for the next iteration of the new version after passing the test, so that a new mode is provided for the simulation test.
For example, when the automatic test method of backtracking comparison is applied to the field of financial technology, an assertion cannot be written into each returned field when a new version is actually tested, so that incompleteness of testing is caused, and a problem that the new version cannot be tested due to an error occurs.
Referring to fig. 3, fig. 3 is a schematic block diagram of an embodiment of an electronic device 30 according to the present application. The electronic device 30 includes a memory 31 and a processor 32 coupled to each other, and the processor 32 is configured to execute program instructions stored in the memory 31 to implement the steps in any of the above embodiments of the automated testing method based on traceback comparison. In one particular implementation scenario, the electronic device 30 may include, but is not limited to: a microcomputer, a server, and the electronic device 30 may also include a mobile device such as a notebook computer, a tablet computer, and the like, which is not limited herein.
Specifically, the processor 32 is configured to control itself and the memory 31 to implement the steps of any of the above-mentioned embodiments of the automated testing method based on backtracking comparison. Processor 32 may also be referred to as a CPU (Central Processing Unit). The processor 32 may be an integrated circuit chip having signal processing capabilities. The Processor 32 may also be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate array (fpga) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor 32 may be commonly implemented by an integrated circuit chip.
Referring to fig. 4, fig. 4 is a block diagram of an embodiment of a non-volatile computer readable storage medium 40 according to the present invention. The non-transitory computer readable storage medium 40 stores program instructions 401 capable of being executed by the processor, wherein the program instructions 401 are configured to implement the steps of any of the above-described embodiments of the automated testing method based on backtracking comparison.
In some embodiments, functions of or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and for specific implementation, reference may be made to the description of the above method embodiments, and for brevity, details are not described here again.
The foregoing description of the various embodiments is intended to highlight various differences between the embodiments, and the same or similar parts may be referred to each other, and for brevity, will not be described again herein.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely one type of logical division, and an actual implementation may have another division, for example, a unit or a component may be combined or integrated with another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some interfaces, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (10)

1. An automated testing method based on backtracking comparison is characterized by comprising the following steps:
acquiring service data of a trigger event in a test process in an old version of a target application program, wherein the service data comprises request information, response information of the event and event operation time;
filtering the request information and the response information, constructing link nodes by the filtered request information and the filtered response information, and sequencing the link nodes according to the event operation time to obtain the old version of aggregated link data;
performing regression testing on the old version of the aggregated link data, and if the old version of the aggregated link data passes the testing, placing the old version of the aggregated link data into a storage device and binding the old version of the aggregated link data with a backtracking interface to generate backtracking simulation data;
when the new version of the target application program is tested, whether a backtracking link identification exists in service data of a trigger event in the testing process in the new version is judged, if the backtracking link identification exists, the backtracking interface is triggered through the backtracking link identification, the backtracking simulation data and the aggregated link data with the backtracking link identification in the new version are compared, whether the backtracking simulation data and the aggregated link data are the same or not is judged, if the backtracking simulation data and the aggregated link data are the same, the comparison test is passed, and if the backtracking simulation data and the aggregated link data are the same, an error report is output.
2. The method of claim 1,
after performing regression testing on the old version of aggregated link data, the method includes:
and if the old version of the aggregated link data fails to pass the test, outputting an error report, adjusting the test problem, and then executing the regression test again.
3. The method of claim 1,
the filtering the request information and the response information, constructing link nodes for the filtered request information and the filtered response information, and sequencing the link nodes according to the event operation time to obtain the old version of aggregated link data, including:
identifying request information and response information with backtracking link identifications in the request information and the response information, and filtering out the request information and the response information with the backtracking link identifications;
constructing link nodes for the request information and the response information with the backtracking link identifiers;
and sequencing all the link nodes according to the event operation time to obtain the old version of the aggregated link data.
4. The method of claim 3,
after identifying the request information and the response information with the backtracking link identifier in the request information and the response information and filtering the request information and the response information with the link identifier, the method comprises the following steps:
converting the request information and the response information without backtracking link identification in the request information and the response information into test cases, and setting assertions in the parts needing to be tested in the test cases;
and executing the test case, if the assertion fails to output correct data successfully, checking the test problem of the test case, adjusting the test problem, and executing the test again.
5. The method of claim 1,
the acquiring service data of an event triggered in a test process in an old version of a target application program, where the service data includes request information, response information of the event, and before an event operation time, includes:
initiating request information to an old version of the target application program;
the request information triggers the control layer of the application program and returns the service data of the triggering event in the testing process.
6. The method of claim 1,
when a new version of the target application program is tested, after judging whether backtracking link identification exists in service data of a trigger event in the testing process in the new version, the method comprises the following steps:
if the backtracking link identification does not exist, the service data of the trigger event in the new version directly initiates a test request for testing.
7. The method of claim 1,
if the error report is the same as the error report, the comparison test is passed, otherwise, after the error report is output, the method comprises the following steps:
and sending the error report to a terminal for displaying.
8. The method of claim 1,
the method further comprises the following steps:
and performing regression testing on the aggregated link data with the backtracking link identifier in the new version, and if the aggregated link data with the backtracking link identifier in the new version passes the testing, putting the aggregated link data into a storage device and binding the aggregated link data with a backtracking interface to generate backtracking simulation data for next backtracking comparison.
9. An electronic device, comprising a memory and a processor coupled to each other, wherein the processor is configured to execute program instructions stored in the memory to implement the automated testing method based on traceback comparison according to any of claims 1 to 8.
10. A non-transitory computer readable storage medium having stored thereon program instructions, wherein the program instructions when executed by a processor implement the automated test method based on traceback comparison according to any of claims 1 to 8.
CN202211644330.5A 2022-12-20 2022-12-20 Automatic testing method based on backtracking comparison, electronic equipment and storage medium Pending CN115905009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211644330.5A CN115905009A (en) 2022-12-20 2022-12-20 Automatic testing method based on backtracking comparison, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211644330.5A CN115905009A (en) 2022-12-20 2022-12-20 Automatic testing method based on backtracking comparison, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115905009A true CN115905009A (en) 2023-04-04

Family

ID=86481739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211644330.5A Pending CN115905009A (en) 2022-12-20 2022-12-20 Automatic testing method based on backtracking comparison, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115905009A (en)

Similar Documents

Publication Publication Date Title
CN108491321B (en) Method and device for determining test case range and storage medium
CN112256593B (en) Program processing method and device, computer equipment and readable storage medium
CN112052172A (en) Rapid testing method and device for third-party channel and electronic equipment
CN113448844B (en) Method and device for regression testing and electronic equipment
CN110647439A (en) Method and device for confirming block chain system deployment, computer equipment and storage medium
CN110198222B (en) Plug-and-play test method and test master station for power distribution automation terminal
CN114238295A (en) Data sorting method and device based on grouping
CN112596784A (en) Iterative version deployment method and device
CN115037653B (en) Service flow monitoring method, device, electronic equipment and storage medium
CN111767218A (en) Automatic testing method, equipment and storage medium for continuous integration
CN115905009A (en) Automatic testing method based on backtracking comparison, electronic equipment and storage medium
CN106528248B (en) Downloading method and system of mobile terminal based on software integrity
CN114168108A (en) Code merging method and device, electronic equipment and computer readable storage medium
CN114037539A (en) Method and device for detecting single-link failure of insurance
CN113535578A (en) CTS (clear to send) testing method, device and testing equipment
CN113434405A (en) Method and device for determining test file, storage medium and electronic device
CN112667506A (en) Interface testing method and related device
CN111104439B (en) Stored data comparison method, stored data comparison device and storage medium
CN113784382B (en) Base station testing method and device, electronic equipment and storage medium
CN117193798A (en) Application deployment method, apparatus, device, readable storage medium and program product
CN117195311A (en) Verification method and verification device for e-commerce platform and terminal equipment
CN115002815A (en) Test method and device of NFC system, readable medium and electronic equipment
CN115729821A (en) Code testing method and device, electronic equipment and storage medium
CN116166303A (en) Vehicle OTA differential software package verification method and device, electronic equipment and medium
CN116385129A (en) Account creation method, device, equipment and 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