Application program testing method and device

A technology of application program and test method, applied in the field of computer application, can solve the problems of long time consumption, inability to archive test results, and complicated test environment configuration, and achieve the effect of efficient acquisition

Active Publication Date: 2012-11-28
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 50 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the existing method for testing the updated source code has the following defects: each test must perform the same operation, and it is necessary to manually obtain the latest version of

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 and device
  • Application program testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] like figure 1 As shown, the first embodiment of the present invention provides an application program testing method, and the testing method includes steps 11-17:

[0021] Step 11, the management server automatically obtains the latest version of the source code from the code server.

[0022] Specifically, immediately after a continuous integration is completed or according to a set time interval, the management server configures the address of the code server and the update authority of the code server in the program construction script, and writes the code provided by the code server through the program construction script to check for updates command, and send the program build script to the code server.

[0023] Further, the code server runs the program construction script to check whether the source code stored in the code server has been updated, and if yes, sends the latest version of the source code to the management server; otherwise, the process ends.

[002...

Embodiment 2

[0055] like figure 2 As shown, the second embodiment of the present invention provides an application program testing device corresponding to the above testing method, and the testing device specifically includes:

[0056] The source code obtaining module 21 is used to check the source code stored in the code server through the program construction script, and obtain the latest version of the source code from the code server;

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 invention provides an application program testing method. The method mainly comprises the following steps of: checking a source code which is stored in a code server by using a program building script, and acquiring the source code of the latest version from the code server; according to the source code of the latest version, generating an application program and a test case of the latest version by using the program building script; and executing the test case of the latest version on the application program of the latest version, and acquiring a test result of the application program of the latest version according to an execution result. The invention also provides an application program testing device which corresponds to the application program testing method. By adoption of the method and the device, the source code, the application program and the test case of the latest version can be automatically acquired, the test case of the latest version is executed on the application program of the latest version, and the test result of the application program is quickly acquired, so the aim of efficiently testing the application program after the source code is updated is fulfilled.

Description

technical field [0001] The invention relates to the field of computer application technology, in particular to an application program testing method and an application program testing device corresponding to the testing method. Background technique [0002] Continuous integration is a software development practice in which team members integrate their work frequently, usually at least once per day per member, and may occur multiple times per day for the entire team. During each integration process, usually accompanied by source code update processing, each member uploads the updated source code to the server. After each integration, the updated source code needs to be tested. [0003] A method for testing the updated source code in the prior art is: after the test starts, manually download the updated source code of the latest version from the server, and manually generate the latest version of the source code according to the above-mentioned latest version of the source co...

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 TENCENT TECH (SHENZHEN) 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