A continuous integration automated test method

A technology of automated testing and continuous integration, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems affecting project quality, problems that cannot be effectively closed loop, accumulation of technical debt, etc., to achieve clear and specific responsibilities, improve The effect of efficiency

Inactive Publication Date: 2019-03-29
WUHAN JINGLI ELECTRONICS TECH
View PDF9 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing continuous integration automated testing technology uses quality inspection tools to perform quality inspections on the integrated code at a periodic frequency (daily or weekly), because the default rules in the quality inspection tools are not all applicable to the project , there will be many problems after each test, which may lead to a large accumulation of technical debt due to untimely repair of the problems, and the problems cannot be effectively closed, thus affecting the quality of the project

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 integration automated test method
  • A continuous integration automated test method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0028] The continuous integration automated testing method provided by the embodiment divides the project task into several subtasks, associates the code to be tested with a specific task number, configures the hook script in the version control system to call the continuous integration tool service to build the automated test, and submits each time The code to be tested associated with the task...

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 belongs to the technical field of code automation test, and discloses a continuous integration automated test method.The method includes dividing the project tasks into subtasks, and associating the code under test with a specific task number; The hook script is configured on the SVN service to call the Jenkins service to build automated test, and the continuous integration tool Jenkins is triggered by the SVN hook script every time the code associated with the task number is submitted to schedule the code detection tool to execute the test, and the test is completed automatically from the integration to the test key. Importing preset quality rules and quality thresholds to improve the effectiveness of code quality detection; And it can track and monitor the progress of the task with the help of the project management platform, including the whole process from claim, development, testing to completion, which can not only effectively improve the efficiency of code qualitydetection, but also accurately locate the code problems, making the responsibility of code repair clearer and more specific; Feedback information is sent to the responsible person in the form of e-mail and QQ instant message, so as to effectively guide the improvement of the project.

Description

technical field [0001] The invention belongs to the technical field of automated testing, and more particularly relates to a continuous integration automated testing method. Background technique [0002] Code testing methods include manual testing and automated testing. Manual testing requires testers to manually write test cases to test the code. The disadvantage is that the test workload is heavy, there are many repetitions, and regression testing is difficult to achieve. Automated testing is to assist or replace manual testing through tools and programs, and automatically implement testing tasks such as building, compiling, executing static testing, unit testing, and statistical quality reports, saving a lot of testing overhead. [0003] In the way of centralized testing after the release of the version, as the scale of the project increases, the bugs that existed in the early stage are often discovered in the final integration testing stage. The estimated additional wo...

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/3676G06F11/3684G06F11/3688
Inventor 张金玉刘银森郜鹏梅朝辉
Owner WUHAN JINGLI ELECTRONICS TECH
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