A method and system for locating failure cases of continuous integration

A technology of continuous integration and positioning method, applied in the field of testing, can solve the problems of low efficiency of manual positioning, save time and energy, facilitate maintenance, and improve work efficiency

Active Publication Date: 2016-02-10
ALIBABA GRP HLDG LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] The purpose of this application is to provide a continuous integration failure use case positioning method and system to solve the current low efficiency of manual positioning

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 method and system for locating failure cases of continuous integration
  • A method and system for locating failure cases of continuous integration
  • A method and system for locating failure cases of continuous integration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0047] In the continuous integration of project engineering, in order to quickly locate the cause of the problem, this application first automatically analyzes the hierarchical relationship of method calls in the test script, then analyzes the failed test scripts according to the method call hierarchy, and finally automatically locates the failed test scripts. code point.

[0048] The present application will be described in detail below through examples.

[0049] refer to figure 1 , which is a flowchart of a method for locating a continuous integration failure use case described in the embodiment of this application.

[0050] Step 101, when loading the engineering code, inject the log output bytecode ...

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 method and system for locating a continuous integration failed case and solves the problem of low manual location efficiency at present. The method comprises the following steps: filling a journal output byte code in an engineering code when loading the engineering code; recording a method invoking journal through the journal output byte code before each method of starting a test script when operating the test scrip including the engineering code, and forming an journal file of a method invoking hierarchy according to the method invoking journal; and analyzing a test script which is failed to operate according to the method invoking hierarchy in the journal file, and locating the reason of failed operation. According to the method and system for locating the continuous integration failed case, disclosed by the invention, codes are not needed to be manually debugged so that the problem reason can be conveniently, quickly and automatically located, the problem is saved, the maintenance is convenient, a large amount of time and energy is saved and the working efficiency is improved.

Description

technical field [0001] The present application relates to testing technology, in particular to a method for locating failure cases of continuous integration, and a system for locating failure cases of continuous integration. Background technique [0002] Continuous integration is a practice of software development. It uses automated methods to continuously build (including compilation, release, and automated testing) the newly added and modified code submitted by team developers, at least once a day, to detect code problems as early as possible. Thereby ensuring product quality. [0003] A typical continuous integration cycle includes the following steps: [0004] 1) The continuous integration server constantly checks the code status from the version control server to see if the code has been updated; [0005] 2) If it is found that the code has the latest submission, then download the latest code from the version control server; [0006] 3) After the code is completely u...

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
Inventor 何晓峰
Owner ALIBABA GRP HLDG 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