Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Code test management method and device, computer equipment, and readable storage medium

A technology of code testing and management methods, which is applied in the field of artificial intelligence software testing, can solve problems such as low development efficiency and delay in development progress, and achieve the effect of ensuring development progress, ensuring usability, and eliminating cumbersome operations

Pending Publication Date: 2022-01-04
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a code test management method, device, computer equipment and readable storage medium, which is used to solve the problem existing in the prior art because the development terminal needs to run the workflow of the version control tool to the last node before it can The compatibility between the updated code and the main code and the conflict between the updated codes were found, which caused the development progress to be delayed and caused the problem of low development efficiency

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 test management method and device, computer equipment, and readable storage medium
  • Code test management method and device, computer equipment, and readable storage medium
  • Code test management method and device, computer equipment, and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] see figure 1 , a code test management method of this embodiment, comprising:

[0052] S101: Obtain the main branch in the preset version control tool, build a function branch corresponding to the preset development terminal in the main branch, and copy the function branch to the development terminal as the development end of the local warehouse;

[0053] S102: Obtain the function code used to realize the preset functional tasks from the local warehouse of the development end, convert the function code into an update code, and create a code merge request in the local warehouse, wherein the code The merge request records the functional branch corresponding to the management branch where the updated code is located, and the main branch where the main code for receiving the updated code and merging is located;

[0054] S103: Identify the main branch corresponding to the development terminal according to the code merge request, and obtain the updated code from the manageme...

Embodiment 2

[0067] This embodiment is a specific application scenario of the first embodiment above. Through this embodiment, the method provided by the present invention can be described more clearly and specifically.

[0068] Next, in the server running the code test management method, build a local warehouse and convert the function code in the local warehouse into an updated code, obtain the updated code as the code to be tested and the updated code as the associated code, and integrate them to form an integrated code , code testing of the integrated code is taken as an example to describe the method provided in this embodiment in detail. It should be noted that this embodiment is only exemplary, and does not limit the protection scope of the embodiment of the present invention.

[0069] figure 2 A schematic diagram of an environment application of the code test management method according to Embodiment 2 of the present application is schematically shown.

[0070]In an exemplary em...

Embodiment 3

[0130] see Figure 4 , a code test management device 1 of this embodiment, comprising:

[0131] The local warehouse building module 11 is used to obtain the main branch in the preset version control tool, build a function branch corresponding to the preset development terminal in the main branch, and copy the function branch to the development terminal, as the local warehouse of the development terminal;

[0132] The code change module 12 is used to obtain the function code used to realize the preset function task from the local warehouse of the development terminal, convert the function code into an update code, and create a code merge request in the local warehouse, Wherein, the code merging request records the functional branch corresponding to the management branch where the updated code is located, and the main branch where the main code for receiving and merging the updated code is located;

[0133] The code integration module 13 is used to identify the main branch corre...

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 relates to the field of artificial intelligence, and discloses a code test management method and device, computer equipment, and a readable storage medium. The method comprises the following steps: copying function branches into a development end to serve as a local warehouse of the development end; obtaining function codes from the local warehouse of the development end, converting the function codes into update codes, and creating a code merging request in the local warehouse; identifying a main branch corresponding to the development end according to the code merging request, obtaining the update codes from a management branch, and setting the update codes as to-be-tested codes; obtaining update codes from development ends corresponding to all function branches in the main branch, setting the update codes as associated codes, and integrating the to-be-tested codes and the associated codes into the main branch to obtain integrated codes; performing code testing on the integrated codes to judge whether the to-be-tested codes can normally run in the integrated codes or not; if yes, judging that the to-be-detected codes are to-be-online codes. According to the invention, the development progress is ensured, and the problem of low overall development efficiency caused by urgent modification time is avoided.

Description

technical field [0001] The invention relates to the technical field of software testing of artificial intelligence, in particular to a code testing management method, device, computer equipment and a readable storage medium. Background technique [0002] Currently, version control tools are usually used to develop and update new versions of software. Version control tools provide complete version management functions for storing and tracking the modification history of directories (folders) and files, and are essential tools for software developers. , is the infrastructure of a software company. The highest goal of version control software is to support the configuration management activities of software companies, track the development and maintenance activities of multiple versions, and release software in a timely manner. Whether it is a single-branch strategy or a multi-branch strategy, after integrating the updated code with the main code of the main branch, the integr...

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/3672
Inventor 蔡婷
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products