Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A continuous program automation testing method

A technology of automated testing and procedures, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of failing to conduct automated testing in time, the completion time of testing cannot be known in time, and many labor costs

Active Publication Date: 2018-03-09
EISOO SOFTWARE
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The above solutions are manually implemented in terms of deploying the test environment, executing automated tests, and collecting automated results, which cannot achieve real automation, nor can continuous testing be performed. The completion time of the test cannot be known in time, and the version number is changed. In the case of being informed, it is easy to fail to conduct automated testing in a timely manner. The old automated testing scheme consumes too much unnecessary labor costs in maintaining the test environment and running automated testing, and is also prone to mistakes in environment deployment. Bad for healthy running automated tests

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
  • A continuous program automation testing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0040] The present invention is realized based on the characteristics of CI. In the implementation process, CI tools such as Jenkins, automated testing frameworks such as Robot Framework, and version control systems such as SVN are needed. By combining the automated testing functions provided by the automated testing framework with the CI functions provided by CI tools combined to achieve.

[0041] 1) Distributed CI tools can be used to set the characteristics of interrelated triggering between tasks, which can perfectly combine program compilation, test environment deployment, running automated tests, and email notification tests.

[0042] 2) It is necessary to design a set of deployment scripts for the test environment. The script content includes obtaining the latest compiled program, cleaning the test environment, and deploying the latest program obtained.

[0043] 3) Implement a complete set of automated testing solutions based on the automated testing framework, includin...

Embodiment example

[0053] The implementation case is divided into two steps, the first step is the preparation of the test environment, and the second step is the automated deployment.

[0054] Environment preparation:

[0055] 1. Build the required test environment (original system and network) on the device (or virtual machine).

[0056] 2. Set the machine as a test environment node machine on the CI tool.

[0057] 3. Create a new environment deployment task on the CI tool, and set the running node as the test environment node machine just established.

[0058] 4. In the environment deployment task, through the version control system plug-in of the CI tool, the environment deployment script is automatically downloaded, and the task of automatically building the package is set as the upstream task, so that the environment deployment task can be automatically run after the upstream task is completed.

[0059] 5. Use the environment deployment script to clean up the test environment and deploy ...

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 present invention relates to a continuous program automated testing method. During implementation of the method, a CI tool and an automated testing framework are used, and the method is implemented by combining an automated testing function provided by the automated testing framework with a CI function provided by the CI tool. Compared with the prior art, the continuous program automated testing method provided by the present invention has advantages that a test can be performed continuously and automatically, a test result can be notified and developed in time, project quality is monitored in real time, labor costs are reduced, and the like.

Description

technical field [0001] The invention relates to a program testing method, in particular to a continuous program automation testing method. Background technique [0002] In the existing automated testing method, the configuration engineer notifies the automated testing engineer after building a new installation package. Automated test engineers need to manually go to the program release address to find the latest program, and download the program to the test environment after finding the program. After downloading, you need to clean up the old test environment before deploying the new installation package, then update the test case in the built automated test running environment, and select the test case to be run in the automated test tool and click the Run button to start the automated test case. After the automated test is completed, check the test results. If necessary, the automated test engineer needs to manually draw the collected test results into a report and send i...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3644G06F11/3684
Inventor 何宪张敏
Owner EISOO SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products