CN113220588A - Automatic testing method, device and equipment for data processing and storage medium - Google Patents

Automatic testing method, device and equipment for data processing and storage medium Download PDF

Info

Publication number
CN113220588A
CN113220588A CN202110614324.4A CN202110614324A CN113220588A CN 113220588 A CN113220588 A CN 113220588A CN 202110614324 A CN202110614324 A CN 202110614324A CN 113220588 A CN113220588 A CN 113220588A
Authority
CN
China
Prior art keywords
test
function
tested
data
result
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
CN202110614324.4A
Other languages
Chinese (zh)
Inventor
刘华
万月亮
火一莽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ruian Technology Co Ltd
Original Assignee
Beijing Ruian Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ruian Technology Co Ltd filed Critical Beijing Ruian Technology Co Ltd
Priority to CN202110614324.4A priority Critical patent/CN113220588A/en
Publication of CN113220588A publication Critical patent/CN113220588A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Abstract

The embodiment of the invention discloses an automatic testing method, device, equipment and storage medium for data processing. The method comprises the following steps: determining a test case corresponding to the test requirement of the function to be tested according to the function to be tested of the software to be tested, wherein each function is correspondingly configured with one or more test cases; determining a test script and test data according to a to-be-tested function and a test target of software to be tested; inputting the test data, and running the test script based on the test case to obtain a test result; comparing the test result of each function to be tested with the corresponding expected result respectively to generate a test evaluation result of each function to be tested; and generating a test log according to the test process, the test result and the test evaluation result, and recording. The method solves the problem that the test work needs to be finished by consuming time and manpower when the data processing function test is carried out.

Description

Automatic testing method, device and equipment for data processing and storage medium
Technical Field
The embodiment of the invention relates to a big data processing technology, in particular to an automatic testing method, device, equipment and storage medium for data processing.
Background
With the rapid development of science and technology and the popularization of internet technology, in the face of massive data from various sources, in order to quickly obtain valuable information from various types of data, effective processing and analysis of the data are required.
Generally, functions of big data processing software are various, and when the functions of the big data processing software need to be tested, the functions of the software are tested one by adopting a manual testing mode, which is time-consuming and labor-consuming. Therefore, a testing method is needed to be provided, which can realize the automatic testing of the data processing function so as to meet the requirement of improving the functional testing efficiency.
Disclosure of Invention
The embodiment of the invention provides an automatic test method for data processing, which is used for solving the defects in the prior art and realizing the problem that the test work needs to be completed by consuming time and manpower when the data processing function test is carried out.
In a first aspect, an embodiment of the present invention provides an automated testing method for data processing, including:
determining a test case corresponding to the test requirement of the function to be tested according to at least one function to be tested of the software to be tested; wherein the functions to be tested include: the system comprises a data lattice conversion function, a data cleaning function, a data association function and a data comparison function, wherein each function is correspondingly provided with one or more test cases;
determining a test script and test data according to at least one to-be-tested function and test target of software to be tested, wherein each test target is correspondingly provided with one or more test scripts and test data;
inputting the test data, and running the test script based on the test case to obtain a test result;
comparing the test result of each function to be tested with the corresponding expected result respectively to generate a test evaluation result of each function to be tested;
and generating a test log according to the test process, the test result and the test evaluation result, and recording.
In a second aspect, an embodiment of the present invention further provides an automatic testing apparatus for data processing, where the apparatus includes:
the test function determining module is used for determining a test case corresponding to the test requirement of the to-be-tested function according to at least one to-be-tested function of the to-be-tested software; wherein the functions to be tested include: the system comprises a data lattice conversion function, a data cleaning function, a data association function and a data comparison function, wherein each function is correspondingly provided with one or more test cases;
the test script determining module is used for determining a test script and test data according to at least one to-be-tested function and test target of the to-be-tested software, and each test target is correspondingly provided with one or more test scripts and test data;
the test result acquisition module is used for inputting the test data and running the test script based on the test case to acquire a test result;
the test result comparison module is used for comparing the test result of each function to be tested with the corresponding expected result respectively so as to generate a test evaluation result of each function to be tested;
and the log recording module is used for generating a test log according to the test process, the test result and the test evaluation result and recording.
In a third aspect, an embodiment of the present invention further provides an automated testing device for data processing, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements an automated testing method for data processing functions according to any one of the embodiments of the present invention when executing the program.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements an automated testing method for data processing functions according to any one of the embodiments of the present invention.
According to the embodiment of the invention, the data processing software function test script is compiled according to the test case, so that the problems of time consumption and labor consumption caused by manual test in the software testing process are solved, and the effect of automatically testing the functions of the data processing software is realized.
Drawings
FIG. 1 is a flow chart of a method for automated testing of data processing according to one embodiment of the present invention;
FIG. 2 is a flow chart of a method for automated testing of data processing according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an automated testing method for data processing according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an automated testing method for data processing according to an embodiment of the present invention, where the method is applicable to an automated testing situation of a data processing function, and the method can be executed by an automated testing apparatus for data processing, and the apparatus can be implemented in a software and/or hardware manner. As shown in fig. 1, the method specifically includes the following steps:
s110, determining a test case corresponding to the test requirement of the to-be-tested function according to at least one to-be-tested function of the to-be-tested software; wherein the functions to be tested include: the system comprises a data lattice conversion function, a data cleaning function, a data association function and a data comparison function, wherein each function is correspondingly provided with one or more test cases.
The software to be tested can be data processing software, the functions to be tested are functions of the data processing software, and the functions to be tested at least comprise one function. The test requirement is a detailed requirement description of a certain test function. The test case is a description of a test task for a certain test function of the data processing software product, and embodies a test scheme, a method, a technology and a strategy, and the content of the test case can include: the method comprises the following steps of case name, service description, flow description, function description, test step and execution result and the like. One function to be tested corresponds to one or more test cases.
In particular, the data processing software may comprise a plurality of functions. The functions to be tested include, but are not limited to, a data format conversion function for converting data from one representation format to another representation format, a data cleansing function, a data association function, a data comparison function, and the like. The data cleansing function is to re-inspect and verify data with the purpose of deleting duplicate information, correcting existing errors, and providing data consistency. The data association function is to determine the source of each acquired data. The data alignment function is the registration of data according to some internal relation. Each test function is correspondingly provided with one or more test cases.
Optionally, the plurality of test cases corresponding to one function to be tested respectively correspond to different sub-functions of the function to be tested.
Specifically, one function to be tested corresponds to a plurality of test cases, and simultaneously corresponds to different subfunctions of the function to be tested, and one function to be tested corresponds to at least one test subfunction, for example, the data lattice to function test may include a mobile phone number lattice rotor function, an MAC address lattice rotor function, and the like, and the mobile phone number lattice rotor function may include a single character on the right of the designated character or a plurality of characters on the right of the designated character to delete, and the like.
And S120, determining test scripts and test data according to at least one to-be-tested function and test target of the to-be-tested software, wherein each test target is correspondingly provided with one or more test scripts and test data.
The test script is a script code written according to a test case, the test data is input data required by a test function, and the test script can be a script program written by using a Python language. The module function in the test script can complete the detection of each test function according to the test case, including the detection of each subfunction of the test function. The test case, the test script and the test data can be manually obtained, and can also be automatically obtained through functions to be tested and targets.
Optionally, the test script includes a test flow and parameters of the device to be tested, where the parameters of the device to be tested include a server address, a server interface, a user name, and a password.
The device to be tested may be a linux server equipped with data processing function software to be tested, or may be another type of server equipped with data processing software to be tested, which is not limited in this embodiment. The server address can be a linux server address, the server interface can be an interface used by data processing software in the server, and the user name and the password can be an account name and a password of a background administrator of the data processing software.
Specifically, the test script includes parameter information required by the device to be tested, and sends a request to the device to be tested according to the required parameter information, after the request passes, the relevant data to be tested of the function to be tested is accessed, and after the data to be tested is accessed, the test data is waited to be connected into the database.
Optionally, the file formats of the test data of different functions to be tested are the same, and the data contents are different.
The file format can be word, Excel and other file formats. In a specific example, for example, an automatic test is performed on a data lattice conversion function, the input test data file is word, the data content is a chinese text, and the data type may be an integer type, a floating point type, a character type, and the like. When the automatic test is carried out on the data cleaning function, the input test data file is also in a word format, but the data content may be English text or Chinese and English text combination.
S130, inputting the test data, and running the test script based on the test case to obtain a test result.
And the test result is generated by the test script according to the input data to carry out the automatic test function. The test script of the corresponding test function selected according to the test function requirement may be manually selected by a person, or may be automatically selected by a test tool, where the test tool may be other test tools such as Jenkins, team city, and bambooo, and this embodiment does not limit this.
Optionally, the test data is input, and based on the test case, a Jenkins test tool is used to run the test script to obtain a test result.
Jenkins is an open-source continuous integration tool for providing an operation interface. A tester can upload a test script to a Jenkins test tool through an operation interface of Jenkins, different test tasks are added according to test functions, each test task comprises a subtask corresponding to a test subfunction, and the tester can select the test script corresponding to the corresponding subfunction to test according to requirements.
S140, comparing the test result of each function to be tested with the corresponding expected result to generate the test evaluation result of each function to be tested.
Specifically, the test result corresponding to the sub-function of each test function is compared with the expected result of the test sub-function, the result generated in each step of each test function is compared with the result generated in the expected step, and a test evaluation result is generated, wherein the test evaluation result comprises the same result as the expected result or different results from the expected result. And if the test result is the same as the expected result, the automatic test verification of the test function or the sub-function of the test function is considered to pass, otherwise, the automatic test verification is considered to fail. And if the automatic test verification fails, correspondingly modifying the corresponding function until the automatic test verification passes.
And S150, generating a test log according to the test process, the test result and the test evaluation result, and recording.
Specifically, if a test script is manually selected to test a corresponding test function or a test sub-function, the generated test process, test result and test evaluation result can be manually recorded, or a corresponding script code can be compiled to perform automatic testing by designing an automatic test log generation method. If a Jenkins test tool is adopted, the test log can be automatically generated and recorded, for example, the test log can be checked through a Web interface of the Jenkins test tool, the test log comprises a test process, a test result and a test evaluation result, key information is extracted and recorded, and a corresponding test report is generated.
According to the technical scheme, the data processing software function test script is compiled according to the test case, so that the problems of time consumption and labor consumption due to manual test in the software testing process are solved, and the effect that the data processing software function can be automatically tested is achieved.
Example two
Fig. 2 is a flowchart of an automated testing method for data processing according to a second embodiment of the present invention, which is detailed based on the second embodiment, and as shown in fig. 2, the method includes the following specific steps:
s210, determining a test case corresponding to the test requirement of the function to be tested according to at least one function to be tested of the software to be tested; wherein the functions to be tested include: the system comprises a data lattice conversion function, a data cleaning function, a data association function and a data comparison function, wherein each function is correspondingly provided with one or more test cases.
The functions to be tested may include, but are not limited to, a data format conversion function, a data cleaning function, a data association function, a data comparison function, and other functions, which are not limited in this embodiment.
Optionally, the test case of the data lattice transformation function includes at least one of: mobile phone number case conversion, MAC address case conversion and IP address case conversion.
Specifically, the mobile phone number format conversion, the MAC address format conversion, and the IP address format conversion are to convert the formats into the required formats, for example, the formats may be converted into binary format or octal format. For example, an IP address of '192.168.13.112' may be first converted into binary, forming a 32-bit binary number, and finally converted into a desired type according to requirements, such as decimal or octal.
Optionally, the test case of the data cleansing function includes at least one of: data checking, data deduplication and data filtering.
In particular, the data cleansing function can discover inaccurate, incomplete, or unreasonable data and patch or remove such data to improve the quality of the data. The data check may be performed by any check method such as a parity check or a Message Digest Algorithm (Message-Digest Algorithm 5, MD 5). The data deduplication function can enable the number of data in the file to appear to be one and only one, and the data filtering refers to a process of extracting required useful data through set keywords or rules preset in advance. The data deduplication or data filtering may write script codes of corresponding methods according to requirements, and include algorithms related to data deduplication or filtering, such as bitmap deduplication or Bloom filters (Bloom filters).
Optionally, the test case of the data association function includes at least one of the following: associative backfilling and associative extraction.
Specifically, the associated information table can be established in the data association function, so that updating at any time can be met, and query, reading or extraction of associated backfill can be met.
Optionally, the test case of the data comparison function includes at least one of the following: full match, fuzzy match, and regular match.
Specifically, the data matching function is to perform registration between data according to a certain internal relationship, for example, matching the text in a specified format according to a preset relationship, for example, complete matching, fuzzy matching, or regular matching search.
S220, selecting at least one test case from the multiple test cases of the function to be tested according to the test target of the software to be tested; wherein the test requirements of the functions to be tested comprise function description characteristics.
The test target may be one of subfunctions of a certain function to be tested in the data processing software to be tested, for example, the test target may be a cell phone number format conversion function in a test data format conversion function. One test function of the data processing software corresponds to a plurality of test cases, and one test subfunction corresponds to one test case.
And S230, determining a test script and test data according to at least one to-be-tested function and test target of the to-be-tested software, wherein each test target is correspondingly provided with one or more test scripts and test data.
S240, inputting the test data, and running the test script based on the test case to obtain a test result.
S250, comparing the test result of each function to be tested with the corresponding expected result respectively to generate a test evaluation result of each function to be tested;
and S260, generating a test log according to the test process, the test result and the test evaluation result, and recording.
According to the technical scheme, the problem that time and labor are consumed by manual testing in the process of testing each function of the software is solved by compiling the test script for each function of the data processing software, and the effect of carrying out automatic testing by running the function test script corresponding to the software function is achieved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an automated testing apparatus for data processing according to a third embodiment of the present invention. The automatic test device for data processing provided by the embodiment of the invention can execute the automatic test method for data processing provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. The device can be implemented in software and/or hardware, and as shown in fig. 3, the automatic testing device for data processing specifically includes: a test function determining module 310, a test script determining module 320, a test result obtaining module 330, a test result comparing module 340, and a logging module 350.
The test function determining module 310 is configured to determine, according to at least one to-be-tested function of the to-be-tested software, a test case corresponding to a test requirement of the to-be-tested function; wherein the functions to be tested include: the system comprises a data lattice conversion function, a data cleaning function, a data association function and a data comparison function, wherein each function is correspondingly provided with one or more test cases.
The test script determining module 320 is configured to determine a test script and test data according to at least one to-be-tested function and test target of the to-be-tested software, where each test target is configured with one or more test scripts and test data correspondingly.
The test result obtaining module 330 is configured to input the test data, and run the test script based on the test case to obtain a test result.
The test result comparing module 340 is configured to compare the test result of each function to be tested with the corresponding expected result, so as to generate a test evaluation result of each function to be tested.
And a log recording module 350, configured to generate a test log according to the test process, the test result, and the test evaluation result, and record the test log.
Optionally, the test function determining module 310 further includes:
the test cases corresponding to one function to be tested respectively correspond to different sub-functions of the function to be tested.
Optionally, the test case of the data lattice transformation function includes at least one of: mobile phone number case conversion, MAC address case conversion and IP address case conversion.
Optionally, the test case of the data cleansing function includes at least one of: data checking, data deduplication and data filtering.
Optionally, the test case of the data association function includes at least one of the following: associative backfilling and associative extraction.
Optionally, the test case of the data comparison function includes at least one of the following: full match, fuzzy match, and regular match.
Optionally, the test script determining module 320 is specifically configured to:
selecting at least one test case from a plurality of test cases of the function to be tested according to a test target of the software to be tested; wherein the test requirements of the functions to be tested comprise function description characteristics.
Optionally, the test script includes a test flow and parameters of the device to be tested, where the parameters of the device to be tested include a server address, a server interface, a user name, and a password.
Optionally, the test data of different functions to be tested is specifically used for:
and inputting the test data, and running the test script by adopting a Jenkins test tool based on the test case to obtain a test result.
According to the technical scheme, the data processing software function test script is compiled according to the test case, so that the problems of time consumption and labor consumption due to manual test in the software testing process are solved, and the effect that the data processing software function can be automatically tested is achieved.
Example four
Fig. 4 is a schematic structural diagram of a computer apparatus according to a fourth embodiment of the present invention, as shown in fig. 4, the computer apparatus includes a processor 410, a memory 420, an input device 430, and an output device 440; the number of the processors 410 in the device may be one or more, and one processor 410 is taken as an example in fig. 4; the processor 410, the memory 420, the input device 430 and the output device 440 in the apparatus may be connected by a bus or other means, for example, in fig. 4.
The memory 420 serves as a computer-readable storage medium, and may be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules (the test function determining module 310, the test script determining module 320, the test result acquiring module 330, the test result comparing module 340, and the logging module 350) corresponding to the identity information verifying method in the embodiment of the present invention. The processor 410 executes various functional applications of the device and data processing by executing software programs, instructions, and modules stored in the memory 420, that is, implements the above-described automated test method of data processing.
The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 420 may further include memory located remotely from processor 410, which may be connected to devices through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 430 may be used to receive entered numeric or character information and to generate signal inputs relating to user settings and function control of the apparatus. The output device 440 may include a display device such as a display screen.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform an automated testing method for data processing, the method including:
determining a test case corresponding to the test requirement of the function to be tested according to at least one function to be tested of the software to be tested; wherein the functions to be tested include: the system comprises a data lattice conversion function, a data cleaning function, a data association function and a data comparison function, wherein each function is correspondingly provided with one or more test cases;
determining a test script and test data according to at least one to-be-tested function and test target of software to be tested, wherein each test target is correspondingly provided with one or more test scripts and test data;
inputting the test data, and running the test script based on the test case to obtain a test result;
comparing the test result of each function to be tested with the corresponding expected result respectively to generate a test evaluation result of each function to be tested;
and generating a test log according to the test process, the test result and the test evaluation result, and recording.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the automated testing method for data processing provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the embodiments of the present invention can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better implementation in many cases. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device) perform the methods described in the embodiments of the present invention.
It should be noted that, in the embodiment of the automatic detection apparatus for data processing, the included units and modules are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (13)

1. An automated test method for data processing functions, comprising:
determining a test case corresponding to the test requirement of the function to be tested according to at least one function to be tested of the software to be tested; wherein the functions to be tested include: the system comprises a data lattice conversion function, a data cleaning function, a data association function and a data comparison function, wherein each function is correspondingly provided with one or more test cases;
determining a test script and test data according to at least one to-be-tested function and test target of software to be tested, wherein each test target is correspondingly provided with one or more test scripts and test data;
inputting the test data, and running the test script based on the test case to obtain a test result;
comparing the test result of each function to be tested with the corresponding expected result respectively to generate a test evaluation result of each function to be tested;
and generating a test log according to the test process, the test result and the test evaluation result, and recording.
2. The method of claim 1, wherein determining, according to at least one function to be tested of the software to be tested, a test case corresponding to a test requirement of the function to be tested comprises:
selecting at least one test case from a plurality of test cases of the function to be tested according to a test target of the software to be tested; wherein the test requirements of the functions to be tested comprise function description characteristics.
3. The method of claim 1, wherein the plurality of test cases corresponding to one function to be tested correspond to different sub-functions of the function to be tested, respectively.
4. The method of claim 1, wherein the test case of the data lattice transformation function comprises at least one of: mobile phone number case conversion, MAC address case conversion and IP address case conversion.
5. The method of claim 1, wherein the test case for the data cleansing function comprises at least one of: data checking, data deduplication and data filtering.
6. The method of claim 1, wherein the test case for the data association function comprises at least one of: associative backfilling and associative extraction.
7. The method of claim 1, wherein the test case for the data alignment function comprises at least one of: full match, fuzzy match, and regular match.
8. The method of claim 1, wherein the test script comprises a test flow and device parameters to be tested, wherein the device parameters to be tested comprise a server address, a server interface, a user name, and a password.
9. The method of claim 1, wherein the test data of different functions to be tested have the same file format and different data contents.
10. The method of claim 1, wherein inputting the test data and running the test script based on the test case to obtain a test result comprises:
and inputting the test data, and running the test script by adopting a Jenkins test tool based on the test case to obtain a test result.
11. An automated test apparatus for data processing functions, comprising:
the test function determining module is used for determining a test case corresponding to the test requirement of the to-be-tested function according to at least one to-be-tested function of the to-be-tested software; wherein the functions to be tested include: the system comprises a data lattice conversion function, a data cleaning function, a data association function and a data comparison function, wherein each function is correspondingly provided with one or more test cases;
the test script determining module is used for determining a test script and test data according to at least one to-be-tested function and test target of the to-be-tested software, and each test target is correspondingly provided with one or more test scripts and test data;
the test result acquisition module is used for inputting the test data and running the test script based on the test case to acquire a test result;
the test result comparison module is used for comparing the test result of each function to be tested with the corresponding expected result respectively so as to generate a test evaluation result of each function to be tested;
and the log recording module is used for generating a test log according to the test process, the test result and the test evaluation result and recording.
12. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the program, implements a method for automated testing of data processing functions according to any of claims 1-10.
13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a method for automated testing of data processing functions according to any one of claims 1 to 10.
CN202110614324.4A 2021-06-02 2021-06-02 Automatic testing method, device and equipment for data processing and storage medium Pending CN113220588A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110614324.4A CN113220588A (en) 2021-06-02 2021-06-02 Automatic testing method, device and equipment for data processing and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110614324.4A CN113220588A (en) 2021-06-02 2021-06-02 Automatic testing method, device and equipment for data processing and storage medium

Publications (1)

Publication Number Publication Date
CN113220588A true CN113220588A (en) 2021-08-06

Family

ID=77082351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110614324.4A Pending CN113220588A (en) 2021-06-02 2021-06-02 Automatic testing method, device and equipment for data processing and storage medium

Country Status (1)

Country Link
CN (1) CN113220588A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821443A (en) * 2021-09-30 2021-12-21 腾讯科技(深圳)有限公司 Application program function detection method, device, equipment and storage medium
CN114328275A (en) * 2022-03-10 2022-04-12 太平金融科技服务(上海)有限公司深圳分公司 System testing method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838672A (en) * 2014-03-04 2014-06-04 中国工商银行股份有限公司 Automated testing method and device for all-purpose financial statements
CN108829578A (en) * 2018-04-27 2018-11-16 北京中创信测科技股份有限公司 A kind of CDR association backfill accuracy automated testing method and system
CN109522225A (en) * 2018-11-09 2019-03-26 网宿科技股份有限公司 A kind of automatic test asserts method and device, test platform and storage medium
CN110287092A (en) * 2019-05-10 2019-09-27 广东电力交易中心有限责任公司 A kind of electricity transaction system and its automatic test approach based on graphical interfaces
CN112882948A (en) * 2021-03-15 2021-06-01 数字广东网络建设有限公司 Stability testing method, device and system for application and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838672A (en) * 2014-03-04 2014-06-04 中国工商银行股份有限公司 Automated testing method and device for all-purpose financial statements
CN108829578A (en) * 2018-04-27 2018-11-16 北京中创信测科技股份有限公司 A kind of CDR association backfill accuracy automated testing method and system
CN109522225A (en) * 2018-11-09 2019-03-26 网宿科技股份有限公司 A kind of automatic test asserts method and device, test platform and storage medium
CN110287092A (en) * 2019-05-10 2019-09-27 广东电力交易中心有限责任公司 A kind of electricity transaction system and its automatic test approach based on graphical interfaces
CN112882948A (en) * 2021-03-15 2021-06-01 数字广东网络建设有限公司 Stability testing method, device and system for application and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821443A (en) * 2021-09-30 2021-12-21 腾讯科技(深圳)有限公司 Application program function detection method, device, equipment and storage medium
CN113821443B (en) * 2021-09-30 2023-06-16 腾讯科技(深圳)有限公司 Function detection method, device, equipment and storage medium of application program
CN114328275A (en) * 2022-03-10 2022-04-12 太平金融科技服务(上海)有限公司深圳分公司 System testing method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111459799B (en) Software defect detection model establishing and detecting method and system based on Github
CN109800258B (en) Data file deployment method, device, computer equipment and storage medium
DE102021133809A1 (en) METHOD AND DEVICE FOR AUTOMATIC DETECTION OF SOFTWARE ERRORS
CN113220588A (en) Automatic testing method, device and equipment for data processing and storage medium
CN111475694A (en) Data processing method, device, terminal and storage medium
US20220237057A1 (en) Code consolidation system
CN112328499A (en) Test data generation method, device, equipment and medium
CN111026660A (en) Penetration testing method based on expert system knowledge base
CN111459796B (en) Automated testing method, apparatus, computer device and storage medium
US11663113B2 (en) Real time fault localization using combinatorial test design techniques and test case priority selection
CN113468524A (en) RASP-based machine learning model security detection method
CN112948262A (en) System test method, device, computer equipment and storage medium
CN111949537A (en) Interface test method, device, equipment and medium
CN110442582B (en) Scene detection method, device, equipment and medium
CN110188033B (en) Data detection device, method, computer device, and computer-readable storage medium
CN116431522A (en) Automatic test method and system for low-code object storage gateway
CN110716866A (en) Code quality scanning method and device, computer equipment and storage medium
CN115658460A (en) Automatic performance testing method and system based on cloud and vehicle-end interface
CN115048299A (en) Application program testing method and device, storage medium and electronic equipment
JP2023000907A (en) Source code correction support device and source code correction support method
CN115543227B (en) Cross-system data migration method, system, electronic device and storage medium
CN114860549B (en) Buried data verification method, buried data verification device, buried data verification equipment and storage medium
CN116303104B (en) Automated process defect screening management method, system and readable storage medium
CN114817929B (en) Method and device for dynamically tracking and processing vulnerability of Internet of things, electronic equipment and medium
CN112286800B (en) Auxiliary analysis method and system for functional test points

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