CN113419953A - Test data processing method, device and system - Google Patents

Test data processing method, device and system Download PDF

Info

Publication number
CN113419953A
CN113419953A CN202110696859.0A CN202110696859A CN113419953A CN 113419953 A CN113419953 A CN 113419953A CN 202110696859 A CN202110696859 A CN 202110696859A CN 113419953 A CN113419953 A CN 113419953A
Authority
CN
China
Prior art keywords
test
case
test case
target program
corresponding relation
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
CN202110696859.0A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110696859.0A priority Critical patent/CN113419953A/en
Publication of CN113419953A publication Critical patent/CN113419953A/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 embodiment of the application provides a test data processing method, a device and a system, which can also be used in the financial field, wherein the method comprises the following steps: receiving a test case sent by an automatic scheduling server, analyzing the test case, and storing the test case subjected to data analysis to a local memory, wherein the test case comprises a case identifier added by the automatic scheduling server; executing functional test operation on a target program according to the test case, and determining the corresponding relation between the test case and the target program according to the case identification of the test case; sending the corresponding relation between the test case and the target program to a streaming processing platform so that the streaming processing platform displays the corresponding relation between the test case and the target program; the method and the device can acquire the comparison relation between the test cases and the program in parallel, acquire data in real time and improve the accuracy of data acquisition.

Description

Test data processing method, device and system
Technical Field
The application relates to the field of software testing, can also be used in the field of finance, and particularly relates to a method, a device and a system for processing test data.
Background
In the prior art, a technical scheme for acquiring a comparison relation between a test case and a program is to use a program covered in a test environment within a range of start time and end time of case test as a program corresponding to the case.
The inventor finds that the problem of parallel acquisition exists when the prior art is used for acquiring the contrast relation between the test cases and the program, the two cases run in one test environment at the same time, and the acquired contrast relation is wrong. In practice, due to the resource shortage, it is impossible to provide a test environment dedicated to collecting the comparison relationship between the use case and the program in series to collect the comparison relationship, because the general test environment is multipurpose. Meanwhile, the serial acquisition technology is used, so that the performance is low, the speed is low, and the data cannot be acquired in a quasi-real time manner.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides a test data processing method, a test data processing device and a test data processing system, which can acquire a test case and a program comparison relation in parallel, acquire data in real time and improve the accuracy of data acquisition.
In order to solve at least one of the above problems, the present application provides the following technical solutions:
in a first aspect, the present application provides a test data processing method, including:
receiving a test case sent by an automatic scheduling server, analyzing the test case, and storing the test case subjected to data analysis to a local memory, wherein the test case comprises a case identifier added by the automatic scheduling server;
executing functional test operation on a target program according to the test case, and determining the corresponding relation between the test case and the target program according to the case identification of the test case;
and sending the corresponding relation between the test case and the target program to a streaming processing platform so that the streaming processing platform displays the corresponding relation between the test case and the target program.
Further, the determining the corresponding relationship between the test case and the target program according to the case identifier of the test case includes:
and determining coverage data of the test case in each target program according to the case identification of the test case, and converting the coverage data into a preset text format to obtain coverage rate text data.
In a second aspect, the present application provides a test data processing method, including:
adding a corresponding case identifier in a test case and sending the case identifier to a terminal test server so that the terminal test server analyzes the test case and stores the test case in a local memory, enabling the terminal test server to execute functional test operation on a target program according to the test case, determining the corresponding relation between the test case and the target program according to the case identifier of the test case and sending the corresponding relation to a streaming processing platform so that the streaming processing platform displays the corresponding relation between the test case and the target program.
In a third aspect, the present application provides a test data processing method, including:
receiving and displaying a corresponding relation between a test case and a target program sent by a terminal test server, wherein the corresponding relation between the test case and the target program is determined by the terminal test server according to a test case stored in a local memory to execute functional test operation on the target program and a case identifier of the test case, and the test case is sent to the terminal test server after the case identifier is added by an automatic scheduling server.
In a fourth aspect, the present application provides a test data processing apparatus comprising:
the test case analysis module is used for receiving a test case sent by an automatic scheduling server, carrying out data analysis and storing the test case subjected to the data analysis to a local memory, wherein the test case comprises a case identifier added by the automatic scheduling server;
the corresponding relation determining module is used for executing functional test operation on the target program according to the test case and determining the corresponding relation between the test case and the target program according to the case identification of the test case;
and the corresponding relation uploading module is used for sending the corresponding relation between the test case and the target program to a streaming processing platform so that the streaming processing platform displays the corresponding relation between the test case and the target program.
In a fifth aspect, the present application provides a test data processing apparatus, comprising:
the case identification adding module is used for adding corresponding case identifications in the test cases and sending the case identifications to the terminal test server so that the terminal test server can analyze the test cases and store the case identifications in a local memory, the terminal test server can execute functional test operation on a target program according to the test cases, the corresponding relation between the test cases and the target program is determined according to the case identifications of the test cases and sent to the streaming processing platform, and the streaming processing platform can display the corresponding relation between the test cases and the target program.
In a sixth aspect, the present application provides a test data processing apparatus comprising:
the corresponding relation display module is used for receiving and displaying the corresponding relation between the test case and the target program sent by the terminal test server, wherein the corresponding relation between the test case and the target program is determined by the terminal test server according to the test case stored in the local memory to execute functional test operation on the target program and according to the case identification of the test case, and the test case is sent to the terminal test server after the automatic scheduling server adds the case identification.
In a seventh aspect, the present application provides a test data processing system, including: the system comprises an automatic scheduling server, a terminal test server and a streaming processing platform;
the automatic scheduling server comprises:
the case identifier adding module is used for adding a corresponding case identifier in the test case and sending the case identifier to the terminal test server;
the terminal test server includes:
the test case analysis module is used for receiving the test case sent by the automatic scheduling server, carrying out data analysis and storing the test case subjected to the data analysis to a local memory;
the corresponding relation determining module is used for executing functional test operation on the target program according to the test case and determining the corresponding relation between the test case and the target program according to the case identification of the test case;
the corresponding relation uploading module is used for sending the corresponding relation between the test case and the target program to the streaming processing platform;
the streaming processing platform comprises:
and the corresponding relation display module is used for receiving and displaying the corresponding relation between the test case sent by the terminal test server and the target program.
In an eighth aspect, the present application provides an electronic device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the test data processing method when executing the program.
In a ninth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the test data processing method described.
According to the technical scheme, the application provides a test data processing method, device and system, the case identification is added in the test case through the automatic scheduling server, so that the terminal test server can determine the corresponding relation between the test case and the target program in the process of executing the functional test operation according to the case identification, and the corresponding relation is sent to the streaming processing platform in real time and in parallel to be displayed, therefore, the comparison relation between the test case and the program can be acquired in parallel, data can be acquired in real time, and the accuracy of data acquisition is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating a test data processing method according to an embodiment of the present application;
FIG. 2 is a block diagram of a test data processing apparatus according to an embodiment of the present application;
FIG. 3 is a block diagram of a test data processing system in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In consideration of the problem of parallel acquisition when the prior art is used for acquiring the comparison relationship between the test cases and the program, the two cases run in one test environment simultaneously, and the acquired comparison relationship is wrong. In practice, due to the resource shortage, it is impossible to provide a test environment dedicated to collecting the comparison relationship between the use case and the program in series to collect the comparison relationship, because the general test environment is multipurpose. Meanwhile, the method, the device and the system for processing the test data have the advantages that a serial acquisition technology is used, the performance is low, the speed is low, and the data cannot be acquired in a quasi-real-time mode.
In order to acquire a comparison relationship between a test case and a program in parallel, acquire data in real time, and improve accuracy of data acquisition, an embodiment of a test data processing method is provided in the present application, where an execution main body may be a terminal test server, and referring to fig. 1, the test data processing method specifically includes the following contents:
step S101: receiving a test case sent by an automatic scheduling server, performing data analysis, and storing the test case subjected to the data analysis to a local memory, wherein the test case comprises a case identifier added by the automatic scheduling server.
Optionally, the automatic scheduling server may write a case identifier (i.e., a case id) in the test case by means of code rewriting.
Optionally, the execution main body of the method may be a terminal test server interacting with the automatic scheduling server, and the terminal test server may perform data analysis on the test case sent by the automatic scheduling server, and store the test case subjected to the data analysis to a local memory.
Step S102: and executing functional test operation on the target program according to the test case, and determining the corresponding relation between the test case and the target program according to the case identification of the test case.
Optionally, after the user performs a function test operation on the target program according to the test case, that is, after a certain function is tested, coverage data of each test case is actually generated in the memory of the terminal test server, so that the coverage result in the memory can be taken out at regular time by the application, an agreed format, for example, a text format, is formed, and coverage rate text data is obtained.
For example, the use case Id of the test case is "com.ci.tc. council administration _ silent contract, new council silent contract _ authentication TC # # successfully signs for the first time, the four elements are null, the procedure covered this time is etest/sdc/cs/icbc/ds/imp/env check service imp, and the coverage report generated this time contains the use case Id for subsequent analysis.
Step S103: and sending the corresponding relation between the test case and the target program to a streaming processing platform so that the streaming processing platform displays the corresponding relation between the test case and the target program.
Optionally, the terminal test server of the present application may further interact with a remote server, for example, interact with a streaming processing platform, send a coverage text to the streaming processing platform, so that the streaming processing platform analyzes data, stores an association relationship between a use case identifier and a program according to a designed data structure, and may display the program associated with the use case identifier and a use case identifier set associated with the program in real time from the perspective of the use case identifier and the program.
Therefore, the comparison relation between the test case and the target program can be displayed in the forward direction, the comparison relation between the target program and the test case can be traced back in the reverse direction, and the test case set related to a single program is displayed by combining the coverage results of a plurality of test cases.
As can be seen from the above description, the test data processing method provided in the embodiment of the present application can add the case identifier in the test case through the automatic scheduling server, so that the terminal test server can determine the corresponding relationship between the test case and the target program in the process of executing the functional test operation according to the case identifier, and send the corresponding relationship to the streaming processing platform in real time and in parallel for display, thereby acquiring the comparison relationship between the test case and the program in parallel, acquiring data in real time, and improving the accuracy of data acquisition.
In order to accurately determine the corresponding relationship between the test case and the target program, in an embodiment of the test data processing method of the present application, referring to fig. 2, the following may be specifically included:
and determining coverage data of the test case in each target program according to the case identification of the test case, and converting the coverage data into a preset text format to obtain coverage rate text data.
Optionally, after the user performs a function test operation on the target program according to the test case, that is, after a certain function is tested, coverage data of each test case is actually generated in the memory of the terminal test server, so that the coverage result in the memory can be taken out at regular time by the application, an agreed format, for example, a text format, is formed, and coverage rate text data is obtained.
In order to acquire a comparison relation between a test case and a program in parallel, acquire data in real time and improve the accuracy of data acquisition, the application provides an embodiment of a test data processing method, an execution main body can be an automatic scheduling server, and the test data processing method specifically comprises the following contents:
adding a corresponding case identifier in a test case and sending the case identifier to a terminal test server so that the terminal test server analyzes the test case and stores the test case in a local memory, enabling the terminal test server to execute functional test operation on a target program according to the test case, determining the corresponding relation between the test case and the target program according to the case identifier of the test case and sending the corresponding relation to a streaming processing platform so that the streaming processing platform displays the corresponding relation between the test case and the target program.
As can be seen from the above description, the test data processing method provided in the embodiment of the present application can add the case identifier in the test case through the automatic scheduling server, so that the terminal test server can determine the corresponding relationship between the test case and the target program in the process of executing the functional test operation according to the case identifier, and send the corresponding relationship to the streaming processing platform in real time and in parallel for display, thereby acquiring the comparison relationship between the test case and the program in parallel, acquiring data in real time, and improving the accuracy of data acquisition.
In order to acquire a comparison relation between a test case and a program in parallel, acquire data in real time and improve the accuracy of data acquisition, the application provides an embodiment of a test data processing method, an execution main body can be a streaming processing platform, and the test data processing method specifically comprises the following contents:
receiving and displaying a corresponding relation between a test case and a target program sent by a terminal test server, wherein the corresponding relation between the test case and the target program is determined by the terminal test server according to a test case stored in a local memory to execute functional test operation on the target program and a case identifier of the test case, and the test case is sent to the terminal test server after the case identifier is added by an automatic scheduling server.
As can be seen from the above description, the test data processing method provided in the embodiment of the present application can add the case identifier in the test case through the automatic scheduling server, so that the terminal test server can determine the corresponding relationship between the test case and the target program in the process of executing the functional test operation according to the case identifier, and send the corresponding relationship to the streaming processing platform in real time and in parallel for display, thereby acquiring the comparison relationship between the test case and the program in parallel, acquiring data in real time, and improving the accuracy of data acquisition.
In order to acquire a comparison relationship between a test case and a program in parallel, acquire data in real time, and improve the accuracy of data acquisition, the present application provides an embodiment of a test data processing apparatus for implementing all or part of the contents of the test data processing method, and the apparatus may be disposed in a terminal test server, see fig. 2, where the test data processing apparatus specifically includes the following contents:
the test case analysis module 10 is configured to receive a test case sent by an automated scheduling server, perform data analysis, and store the test case subjected to the data analysis to a local memory, where the test case includes a case identifier added by the automated scheduling server.
The correspondence determining module 20 is configured to execute a functional test operation on the target program according to the test case, and determine a correspondence between the test case and the target program according to the case identifier of the test case.
The correspondence relationship uploading module 30 is configured to send the correspondence relationship between the test case and the target program to a streaming processing platform, so that the streaming processing platform displays the correspondence relationship between the test case and the target program.
As can be seen from the above description, the test data processing apparatus provided in the embodiment of the present application can add the case identifier in the test case through the automatic scheduling server, so that the terminal test server can determine the corresponding relationship between the test case and the target program in the process of executing the functional test operation according to the case identifier, and send the corresponding relationship to the streaming processing platform in real time and in parallel for display, thereby acquiring the comparison relationship between the test case and the program in parallel, acquiring data in real time, and improving the accuracy of data acquisition.
In order to acquire a comparison relationship between a test case and a program in parallel, acquire data in real time and improve the accuracy of data acquisition, the present application provides an embodiment of a test data processing apparatus for implementing all or part of the contents of the test data processing method, the apparatus may be disposed in an automatic scheduling server, and the test data processing apparatus specifically includes the following contents:
the case identification adding module is used for adding corresponding case identifications in the test cases and sending the case identifications to the terminal test server so that the terminal test server can analyze the test cases and store the case identifications in a local memory, the terminal test server can execute functional test operation on a target program according to the test cases, the corresponding relation between the test cases and the target program is determined according to the case identifications of the test cases and sent to the streaming processing platform, and the streaming processing platform can display the corresponding relation between the test cases and the target program.
As can be seen from the above description, the test data processing apparatus provided in the embodiment of the present application can add the case identifier in the test case through the automatic scheduling server, so that the terminal test server can determine the corresponding relationship between the test case and the target program in the process of executing the functional test operation according to the case identifier, and send the corresponding relationship to the streaming processing platform in real time and in parallel for display, thereby acquiring the comparison relationship between the test case and the program in parallel, acquiring data in real time, and improving the accuracy of data acquisition.
In order to acquire a comparison relationship between a test case and a program in parallel, acquire data in real time and improve the accuracy of data acquisition, the present application provides an embodiment of a test data processing apparatus for implementing all or part of the contents of the test data processing method, the apparatus may be disposed in a streaming processing platform, and the test data processing apparatus specifically includes the following contents:
the corresponding relation display module is used for receiving and displaying the corresponding relation between the test case and the target program sent by the terminal test server, wherein the corresponding relation between the test case and the target program is determined by the terminal test server according to the test case stored in the local memory to execute functional test operation on the target program and according to the case identification of the test case, and the test case is sent to the terminal test server after the automatic scheduling server adds the case identification.
As can be seen from the above description, the test data processing apparatus provided in the embodiment of the present application can add the case identifier in the test case through the automatic scheduling server, so that the terminal test server can determine the corresponding relationship between the test case and the target program in the process of executing the functional test operation according to the case identifier, and send the corresponding relationship to the streaming processing platform in real time and in parallel for display, thereby acquiring the comparison relationship between the test case and the program in parallel, acquiring data in real time, and improving the accuracy of data acquisition.
To further explain the present invention, the present application further provides a specific application example of a test data processing system for implementing the test data processing method by using the test data processing apparatus, which is shown in fig. 3 and specifically includes the following contents: the system comprises an automatic scheduling server, a terminal test server and a streaming processing platform.
The automatic scheduling server comprises:
and the case identifier adding module is used for adding the corresponding case identifier in the test case and sending the case identifier to the terminal test server.
The terminal test server includes:
and the test case analysis module 10 is configured to receive a test case sent by the automation scheduling server, perform data analysis, and store the test case subjected to the data analysis to a local memory.
The correspondence determining module 20 is configured to execute a functional test operation on the target program according to the test case, and determine a correspondence between the test case and the target program according to the case identifier of the test case.
And the correspondence relationship uploading module 30 is configured to send the correspondence relationship between the test case and the target program to the streaming processing platform.
The streaming processing platform comprises:
and the corresponding relation display module is used for receiving and displaying the corresponding relation between the test case sent by the terminal test server and the target program.
As can be seen from the above description, the test data processing system provided in the embodiment of the present application can add the case identifier in the test case through the automatic scheduling server, so that the terminal test server can determine the corresponding relationship between the test case and the target program in the process of executing the functional test operation according to the case identifier, and send the corresponding relationship to the streaming processing platform in real time and in parallel for display, thereby acquiring the comparison relationship between the test case and the program in parallel, acquiring data in real time, and improving the accuracy of data acquisition.
In terms of hardware, in order to acquire a comparison relationship between a test case and a program in parallel, acquire data in real time, and improve accuracy of data acquisition, the present application provides an embodiment of an electronic device for implementing all or part of contents in the test data processing method, where the electronic device specifically includes the following contents:
a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the communication interface is used for realizing information transmission between the test data processing device and relevant equipment such as a core service system, a user terminal, a relevant database and the like; the logic controller may be a desktop computer, a tablet computer, a mobile terminal, and the like, but the embodiment is not limited thereto. In this embodiment, the logic controller may be implemented with reference to the embodiment of the test data processing method and the embodiment of the test data processing apparatus in the embodiment, and the contents thereof are incorporated herein, and repeated descriptions are omitted.
It is understood that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a Personal Digital Assistant (PDA), an in-vehicle device, a smart wearable device, and the like. Wherein, intelligence wearing equipment can include intelligent glasses, intelligent wrist-watch, intelligent bracelet etc..
In practical applications, part of the test data processing method may be executed on the electronic device side as described above, or all operations may be completed in the client device. The selection may be specifically performed according to the processing capability of the client device, the limitation of the user usage scenario, and the like. This is not a limitation of the present application. The client device may further include a processor if all operations are performed in the client device.
The client device may have a communication module (i.e., a communication unit), and may be communicatively connected to a remote server to implement data transmission with the server. The server may include a server on the task scheduling center side, and in other implementation scenarios, the server may also include a server on an intermediate platform, for example, a server on a third-party server platform that is communicatively linked to the task scheduling center server. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed apparatus.
Fig. 4 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 4, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this fig. 4 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one embodiment, the test data processing method functions may be integrated into the central processor 9100. The central processor 9100 may be configured to control as follows:
step S101: receiving a test case sent by an automatic scheduling server, performing data analysis, and storing the test case subjected to the data analysis to a local memory, wherein the test case comprises a case identifier added by the automatic scheduling server.
Step S102: and executing functional test operation on the target program according to the test case, and determining the corresponding relation between the test case and the target program according to the case identification of the test case.
Step S103: and sending the corresponding relation between the test case and the target program to a streaming processing platform so that the streaming processing platform displays the corresponding relation between the test case and the target program.
As can be seen from the above description, in the electronic device provided in the embodiment of the present application, the automatic scheduling server adds the case identifier to the test case, so that the terminal test server can determine the corresponding relationship between the test case and the target program in the process of executing the functional test operation according to the case identifier, and send the corresponding relationship to the streaming processing platform in real time and in parallel for display, thereby acquiring the comparison relationship between the test case and the program in parallel, acquiring data in real time, and improving the accuracy of data acquisition.
In another embodiment, the test data processing apparatus may be configured separately from the central processor 9100, for example, the test data processing apparatus may be configured as a chip connected to the central processor 9100, and the test data processing method function may be implemented by the control of the central processor.
As shown in fig. 4, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 4; further, the electronic device 9600 may further include components not shown in fig. 4, which may be referred to in the art.
As shown in fig. 4, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 9140 can be a solid state memory, e.g., Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.
An embodiment of the present application further provides a computer-readable storage medium capable of implementing all the steps in the test data processing method in which the execution subject is the server or the client in the above embodiments, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements all the steps in the test data processing method in which the execution subject is the server or the client in the above embodiments, for example, when the processor executes the computer program, the processor implements the following steps:
step S101: receiving a test case sent by an automatic scheduling server, performing data analysis, and storing the test case subjected to the data analysis to a local memory, wherein the test case comprises a case identifier added by the automatic scheduling server.
Step S102: and executing functional test operation on the target program according to the test case, and determining the corresponding relation between the test case and the target program according to the case identification of the test case.
Step S103: and sending the corresponding relation between the test case and the target program to a streaming processing platform so that the streaming processing platform displays the corresponding relation between the test case and the target program.
As can be seen from the above description, the computer-readable storage medium provided in the embodiment of the present application adds the case identifier in the test case through the automatic scheduling server, so that the terminal test server can determine the corresponding relationship between the test case and the target program in the process of executing the functional test operation according to the case identifier, and sends the corresponding relationship to the streaming processing platform in real time and in parallel for display, thereby acquiring the comparison relationship between the test case and the program in parallel, acquiring data in real time, and improving the accuracy of data acquisition.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method of test data processing, the method comprising:
receiving a test case sent by an automatic scheduling server, analyzing the test case, and storing the test case subjected to data analysis to a local memory, wherein the test case comprises a case identifier added by the automatic scheduling server;
executing functional test operation on a target program according to the test case, and determining the corresponding relation between the test case and the target program according to the case identification of the test case;
and sending the corresponding relation between the test case and the target program to a streaming processing platform so that the streaming processing platform displays the corresponding relation between the test case and the target program.
2. The method according to claim 1, wherein the determining the correspondence between the test case and the target program according to the case identifier of the test case comprises:
and determining coverage data of the test case in each target program according to the case identification of the test case, and converting the coverage data into a preset text format to obtain coverage rate text data.
3. A method of test data processing, the method comprising:
adding a corresponding case identifier in a test case and sending the case identifier to a terminal test server so that the terminal test server analyzes the test case and stores the test case in a local memory, enabling the terminal test server to execute functional test operation on a target program according to the test case, determining the corresponding relation between the test case and the target program according to the case identifier of the test case and sending the corresponding relation to a streaming processing platform so that the streaming processing platform displays the corresponding relation between the test case and the target program.
4. A method of test data processing, the method comprising:
receiving and displaying a corresponding relation between a test case and a target program sent by a terminal test server, wherein the corresponding relation between the test case and the target program is determined by the terminal test server according to a test case stored in a local memory to execute functional test operation on the target program and a case identifier of the test case, and the test case is sent to the terminal test server after the case identifier is added by an automatic scheduling server.
5. A test data processing apparatus, comprising:
the test case analysis module is used for receiving a test case sent by an automatic scheduling server, carrying out data analysis and storing the test case subjected to the data analysis to a local memory, wherein the test case comprises a case identifier added by the automatic scheduling server;
the corresponding relation determining module is used for executing functional test operation on the target program according to the test case and determining the corresponding relation between the test case and the target program according to the case identification of the test case;
and the corresponding relation uploading module is used for sending the corresponding relation between the test case and the target program to a streaming processing platform so that the streaming processing platform displays the corresponding relation between the test case and the target program.
6. A test data processing apparatus, comprising:
the case identification adding module is used for adding corresponding case identifications in the test cases and sending the case identifications to the terminal test server so that the terminal test server can analyze the test cases and store the case identifications in a local memory, the terminal test server can execute functional test operation on a target program according to the test cases, the corresponding relation between the test cases and the target program is determined according to the case identifications of the test cases and sent to the streaming processing platform, and the streaming processing platform can display the corresponding relation between the test cases and the target program.
7. A test data processing apparatus, comprising:
the corresponding relation display module is used for receiving and displaying the corresponding relation between the test case and the target program sent by the terminal test server, wherein the corresponding relation between the test case and the target program is determined by the terminal test server according to the test case stored in the local memory to execute functional test operation on the target program and according to the case identification of the test case, and the test case is sent to the terminal test server after the automatic scheduling server adds the case identification.
8. A test data processing system, comprising: the system comprises an automatic scheduling server, a terminal test server and a streaming processing platform;
the automatic scheduling server comprises:
the case identifier adding module is used for adding a corresponding case identifier in the test case and sending the case identifier to the terminal test server;
the terminal test server includes:
the test case analysis module is used for receiving the test case sent by the automatic scheduling server, carrying out data analysis and storing the test case subjected to the data analysis to a local memory;
the corresponding relation determining module is used for executing functional test operation on the target program according to the test case and determining the corresponding relation between the test case and the target program according to the case identification of the test case;
the corresponding relation uploading module is used for sending the corresponding relation between the test case and the target program to the streaming processing platform;
the streaming processing platform comprises:
and the corresponding relation display module is used for receiving and displaying the corresponding relation between the test case sent by the terminal test server and the target program.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the test data processing method according to any of claims 1 to 4 are implemented when the program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the test data processing method of any one of claims 1 to 4.
CN202110696859.0A 2021-06-23 2021-06-23 Test data processing method, device and system Pending CN113419953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110696859.0A CN113419953A (en) 2021-06-23 2021-06-23 Test data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110696859.0A CN113419953A (en) 2021-06-23 2021-06-23 Test data processing method, device and system

Publications (1)

Publication Number Publication Date
CN113419953A true CN113419953A (en) 2021-09-21

Family

ID=77716245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110696859.0A Pending CN113419953A (en) 2021-06-23 2021-06-23 Test data processing method, device and system

Country Status (1)

Country Link
CN (1) CN113419953A (en)

Similar Documents

Publication Publication Date Title
CN111031058A (en) Websocket-based distributed server cluster interaction method and device
CN110941563B (en) Automatic script testing method and device
CN110990228A (en) Data interface monitoring method and device
CN112463634B (en) Software testing method and device under micro-service architecture
CN111782470A (en) Distributed container log data processing method and device
CN113435989A (en) Financial data processing method and device
CN112363932B (en) Test method and device for business object to be tested and electronic device
CN112689012A (en) Cross-network proxy communication method and device
CN115022328B (en) Server cluster, testing method and device of server cluster and electronic equipment
CN113791984B (en) Automatic interface testing method and device
CN115495519A (en) Report data processing method and device
CN113419953A (en) Test data processing method, device and system
CN113515447B (en) Automatic testing method and device for system
CN114637531A (en) Method and device for dynamically generating application program interface
CN114840421A (en) Log data processing method and device
CN113434423A (en) Interface test method and device
CN113050985A (en) Front-end engineering dependence automatic registration method and device
CN111953847A (en) Client message risk reminding method, device and system
CN112559158A (en) Micro-service timing task scheduling method and device
CN113328911B (en) Traffic link monitoring method and device during service operation
CN114880229A (en) Batch file testing method and device
CN115237808A (en) Software online test method, device and system
CN115495686A (en) Webpage data processing method and device
CN111159035A (en) Test method and device based on short message verification software
CN115278555A (en) Online transaction method and device based on 5G message

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