Continuous integration automatic test method

A technology of automated testing and continuous integration, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as difficult debugging and complicated configuration, and achieve the effect of reliable test quality, simple operation, and guaranteed stability

Inactive Publication Date: 2018-11-23
SHANGHAI QINCANG INFORMATION SCI & TECHCO LTD
View PDF3 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Each step takes a certain amount of time, the configu...

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 automatic test method
  • Continuous integration automatic test method
  • Continuous integration automatic test method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, in the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.

[0020] It should be noted that the diagrams provided in the following embodiments are only schematically illustrating the basic ideas of the present invention, and only the components related to the present invention are shown in the diagrams rather than the number, shape and shape of the compo...

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 automatic test method. The method comprises the steps of creating a project in gitlab, installing a gitlab CI plug-in, and adding a .gitlab-ci.yml filein the project; and defining the steps of continuous integration and continuous deployment in the .gitlab-ci.yml file, and adding a written test code project in the .gitlab-ci.yml file, wherein the test code project is used for detecting whether codes are updated or not and merging the codes to a main code branch, if yes, triggering the gitlab CI plug-in to generate a container mirror image of thetest codes, and uploading the container mirror image to the gitlab. According to the method, code compiling, environment deployment and test running can be triggered immediately after the developmentcodes are submitted, and the codes are automatically deployed in a real environment after the testing is passed, so that the test time is greatly shortened, the stability of a test system is guaranteed, the quality is reliable, the operation is simple, and the resource consumption is low.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a continuous integration automatic testing method. Background technique [0002] At present, there are many automated testing methods. Most of the entire testing process does not require manual participation, and can achieve relatively high stability. For example, automated testing based on cucumber, RobotFramework, selenium and other testing tools can meet software automated testing The demand, the stability reaches more than 90%. However, existing testing methods still cannot meet the requirements, such as: 1) automated testing methods fully integrated in the code management tool gitlab: general automation needs to clone the development code from gitlab, compile, deploy, and then run automated testing, some The link requires manual participation, and the degree of automation is not high; 2) Meet the requirements of continuous integration and continuous release in the software d...

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
CPCG06F11/3664G06F11/368G06F11/3684G06F11/3688
Inventor 黄周武罗嵩
Owner SHANGHAI QINCANG INFORMATION SCI & TECHCO 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