Application program testing method, system and device

A technology of application programs and test methods, applied in the computer field, can solve the problems of time-consuming test case screening and maintenance, long test process, low test efficiency, etc.

Inactive Publication Date: 2019-05-24
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF9 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] (1) Due to the different application modules to be tested, different test scenarios will be entered, resulting in a long test process;
[0005] (2) After the number of Apps in the microservice system increases, the number of required test cases increases geometrically, and the screening and maintenance of test cases is time-consuming;
[0006] (3) One execution can only cover one usage scenario, and different usage scenarios require multiple test processes to obtain corresponding test results, and there are many test processes;
[0008] Therefore, in the existing testing method of the application program, it is necessary to complete a time-consuming test process for the test of each usage scenario, and different application scenarios also require different testing procedures, and there is a technical problem of low test efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Application program testing method, system and device
  • Application program testing method, system and device
  • Application program testing method, system and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0099] An application testing method provided by an embodiment of the present invention, such as figure 1 shown, including:

[0100] Step S102, obtaining a plurality of data groups, wherein each data group includes a test case and test data of the test case, and the test data is data obtained by the test case during historical testing;

[0101] Step S104, according to a plurality of test data in a plurality of data groups, select a target use case from a plurality of test cases in a plurality of data groups, and perform a current test on the application program through the target use case;

[0102] In step S106, the execution result of the current test is saved, so that multiple test cases in multiple data groups can be tested again based on the execution results.

[0103] The application program testing method provided by the embodiment of the present invention saves the execution result of the current test, and the test data used in the execution process of the current test...

Embodiment 2

[0174] An application testing system provided by an embodiment of the present invention, such as Figure 5 shown, including:

[0175] The obtaining module 100 is used to obtain a plurality of data groups, wherein each data group includes a test case and test data of the test case, and the test data is the data obtained by the test case in the historical testing process;

[0176] The test module 200 is used to select a target use case from a plurality of test cases in a plurality of data groups according to a plurality of test data in a plurality of data groups, and perform a current test on the application program through the target use case;

[0177] The saving module 300 is configured to save the execution results of the current test, so that multiple test cases in multiple data groups can be tested again based on the execution results.

[0178] In the embodiment of the present invention, the acquisition module 100 acquires multiple data groups; the test module 200 selects ...

Embodiment 3

[0211] An embodiment of the present invention provides a computer-readable storage medium. The computer-readable storage medium stores computer instructions. When the computer instructions are executed, the application program testing method of the first embodiment is implemented.

[0212] Specifically, the readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-OnlyMemory), random-access memory (RAM, RandomAccessMemory), magnetic disk or optical disk, and various media that can store program codes. .

[0213] When the computer instructions provided by the embodiment of the present invention are executed, the application program testing method of the first embodiment is realized, specifically, a plurality of data groups are obtained, wherein each data group includes a test case and test data of the test case, and the test The data is the data obtained by the test case in the historical test process; according to the multiple test data in the mul...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides an application program testing method, system and device, and the method comprises the steps: obtaining a plurality of data groups, each data group comprisinga test case and test data of the test case, and the test data being data obtained by the test case in a historical test process; selecting a target use case from the plurality of test cases in the plurality of data groups according to the plurality of test data in the plurality of data groups, and performing a current test on the application program through the target use case; and storing the execution result of the current test, so that the plurality of test cases in the plurality of data groups can be tested again based on the execution result. The technical problem that a traditional testing method is low in testing efficiency is solved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to an application program testing method, system and device. Background technique [0002] Before an application program (Application, APP for short) goes online, the APP needs to be tested. At present, the corresponding automated testing is completed in the following way: use selenium, an open source automated testing tool based on Google, to test the interface or module, return the test results after the test steps are executed, and record the test results in the form of a report. [0003] The above test method has the following disadvantages: [0004] (1) Due to the different application modules to be tested, different test scenarios will be entered, resulting in a long test process; [0005] (2) After the number of Apps in the microservice system increases, the number of required test cases increases geometrically, and the screening and maintenance of test cases is time-cons...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36
Inventor 王前勇
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products