Unlock instant, AI-driven research and patent intelligence for your innovation.

Code testing method, code testing device and code testing system

A code testing and code technology, applied in the field of software testing, can solve problems such as increasing the difficulty of backtracking problems, and achieve the effect of improving the efficiency of code development and avoiding rapid changes.

Inactive Publication Date: 2017-09-08
ALIBABA GRP HLDG LTD
View PDF3 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the code version of this branch has undergone multiple version changes during the above-mentioned cycle, this increases the difficulty of backtracking when a code problem is found.

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
  • Code testing method, code testing device and code testing system
  • Code testing method, code testing device and code testing system
  • Code testing method, code testing device and code testing system

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment 1;y→ test Embodiment 2;z→ test Embodiment 3

[0059] x→test case 1; y→test case 2; z→test case 3;

[0060] Assuming that the above test parameters include the ID of the test case corresponding to the test task, by determining the changed code part in the currently submitted code, the value of the above test parameter for defining the test case used by the test task can be determined. Of course, in other embodiments of the present application, the scope of fixed test tasks can also be set for the code of each branch (the value of the test parameter is fixed), so that after monitoring the submitted code, by determining the currently submitted code branch, that is, the scope of the corresponding test task can be determined.

[0061] S103: The repository server sends the test task command to the CI server. By sending a test task command to the CI server, the code that the CI server currently needs to test and the corresponding test task can be made.

[0062] S104: The continuous integration server obtains the currently subm...

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 embodiment of the invention discloses a code testing method, a code testing device and a code testing system. The invention aims to solve a problem of difficulty in problem recall when code problems are found. . The code testing method comprises steps that a version repository server monitors a code handing-in order of a work machine; when monitoring the code handing-in order of the work machine, the version repository server receives the codes handed in by the work machine and generates a test task order carrying a test parameter value and corresponding to the currently-handed in codes; and the version repository server sends the test task order to a continuous integration server to trigger the test task conducted for the codes.

Description

technical field [0001] The present application relates to software testing technology, in particular to a code testing method, a code testing device and a code testing system. Background technique [0002] Continuous integration (CI), as a software development practice, verifies the code through automated construction (including compilation, release, and automated testing), so as to detect code problems as early as possible. Usually, continuous integration is implemented through a repository server and a continuous integration server (CI server). [0003] In the prior art, in the process of developing a software project, the period for the CI server to test the code is usually set to be fixed. In this way, as developers continue to submit codes to the version library server, the CI server will obtain the code submitted in the latest cycle from the version library server at regular intervals (corresponding to the above-mentioned fixed cycle), and these The code executes the...

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): G06F11/36
CPCG06F11/3624G06F11/368G06F11/3688
Inventor 于家川徐铭泽
Owner ALIBABA GRP HLDG LTD