Continuous integration testing method and system

A technology of continuous integration and testing methods, applied in the field of testing, can solve problems such as low reusability, continuous integration testing workload and complexity increase, and achieve high reusability, increase workload and complexity, and configuration methods flexible effects

Active Publication Date: 2014-02-12
ADVANCED NEW TECH CO LTD
View PDF6 Cites 53 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In summary, the above method of hardcoding the test environment and test scripts in a test case has relatively low reusability
Moreover, a target to be tested corresponds to n CI projects and n test cases. Once the target to be tested changes, n CI projects and n test cases must be maintained at the same time, which greatly increases the workload and complexity of continuous integration testing.

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
  • Continuous integration testing method and system
  • Continuous integration testing method and system
  • Continuous integration testing method and system

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment 12

[0137] The continuous integration project 11 includes:

[0138] A monitoring module 111, configured to simultaneously monitor the targets to be tested running in various real environments;

[0139] An acquisition module 112, configured to acquire an environment identifier corresponding to the real environment in which the target to be tested runs when it is detected that the target to be tested running in a certain real environment reaches a preset condition;

[0140] The sending module 113 is configured to call a test case by sending a test command, wherein the test command includes the environment identifier;

[0141] The test case 12 includes

[0142] The environment configuration module 121 is configured to configure a corresponding test environment according to the environment identifier;

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 a continuous integration testing method which is applicable to all testing environments and high in reusability and can reduce working loads and complexity in maintenance. The method includes the following steps that a continuous integration project monitors targets which are to be tested and operate in all real environments at the same time; when the target which is to be tested and operates in a certain real environment reaches the preset conditions and is detected, an environment identification corresponding to the real environment where the target to be tested operates is obtained; a test case is called by sending a test order, wherein the test order comprises the environment identification; the test case is allocated with the corresponding test environment according to the environment identification; a testing script in the test case is executed in the testing environment and a final testing result is obtained. According to the continuous integration testing method, the reusability is high; even if the target to be tested is changed, only one CI project and one test case are needed to be maintained and the work loads and the complexity of the continuous integration test are greatly improved.

Description

technical field [0001] This application relates to testing technology, in particular to a continuous integration testing method and system. Background technique [0002] CI (Continuous integration, continuous integration) is a software development practice, that is, team development members often integrate their work, usually each member integrates at least once a day, which means that integration may occur multiple times a day. Each integration is verified through automated construction (including compilation, release, and automated testing), so that integration errors can be found as soon as possible. Many teams have found that this process greatly reduces integration problems, allowing the team to develop cohesive software more quickly. [0003] In the continuous integration test, firstly, a CI project can be established, and the target to be tested can be monitored through the CI project. Once the target to be tested is found to be changed, the test script can be invoke...

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 Applications(China)
IPC IPC(8): G06Q10/06
Inventor 蔡文婷
Owner ADVANCED NEW 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