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

Method and apparatus for test in joint development mode

A test method and mode technology, which is applied in the field of test methods under the device and confluence development mode, can solve the problems of inaccurate test results and low test efficiency

Active Publication Date: 2016-02-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The embodiment of the present invention provides a test method and device under the merged development mode, so as to at least solve the inaccurate test results and low test efficiency caused by the timing test method in the prior art in the software development mode in which the branch code merges with the main code technical issues

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
  • Method and apparatus for test in joint development mode
  • Method and apparatus for test in joint development mode
  • Method and apparatus for test in joint development mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Embodiment 1 of the present invention provides an embodiment of a method that can be implemented on a hardware terminal. It should be noted that the steps shown in the flow charts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0028] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Take running on a computer terminal as an example, figure 1 It is a block diagram of the hardware structure of a computer terminal running a test in the merged development mode according to the embodiment of the present invention. Such as figure 1As shown, the computer terminal 10 may include one or more (only one is shown in the fi...

Embodiment 2

[0094] According to an embodiment of the present invention, an embodiment of an apparatus for implementing the foregoing method embodiments is also provided, and the apparatus provided by the foregoing embodiments of the present application can run on a computer terminal.

[0095] Figure 5 is a schematic structural diagram of a testing device in the confluent development mode according to Embodiment 2 of this law. Such as Figure 5As shown, the test device in the converged development mode may include the following functional modules: an acquisition module 50 , a startup module 52 , a monitoring module 54 , and an automated test module 56 .

[0096] Wherein, obtaining module 50, is used for obtaining new backbone code, and wherein, merges the branch code after updating into backbone code and generates new backbone code; Startup module 52, is used for starting compiling tool and compiling new backbone code; Monitoring module 54 , for monitoring whether an installation packag...

Embodiment 3

[0119] The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the above-mentioned storage medium may be used to store the program code executed by the test method in the converged development mode provided in the first embodiment above.

[0120] Optionally, in this embodiment, the above-mentioned storage medium may be located in any computer terminal in the group of computer terminals in the computer network, or in any mobile terminal in the group of mobile terminals.

[0121] Optionally, in this embodiment, the storage medium is configured to store program codes for performing the following steps: acquiring new trunk codes, wherein the updated branch codes are merged into the trunk codes to generate new trunk codes; starting compilation The tool compiles the new trunk code; monitors whether the installation package is generated during the compilation process of the new trunk code, and if the installation package is monitored, obtains t...

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 discloses a method and an apparatus for a test in a joint development mode. The method comprises: obtaining a new main code, wherein updated branch codes are combined into a main code to generate the new main code; starting a compiling tool to compile the new main code; monitoring whether an installation package is generated in a compiling process of the new main code or not, and if the installation package is monitored, obtaining the installation package and / or a reference package before the updated branch codes are combined into the main code; and performing an automated test on the installation package and / or the reference package to generate an automated test result. According to the method and the apparatus, the technical problems of inaccurate test result and low test efficiency caused by adoption of a timed test method in a software development mode of combining branch codes with a main code in the prior art are solved.

Description

technical field [0001] The invention relates to the field of computer testing, in particular to a testing method and device in a confluent development mode. Background technique [0002] In the development process of software projects in the prior art, developers will conduct internal testing of the software in the development project. For many software projects, especially those developed by large software teams, the prior art uses branch development and merged trunk software development. model. This kind of code development of each new function is completed on multiple branches, and then the new functions completed on the branch are branch tested. After each branch function test passes, the branch code is merged into the directory where the main code is located. . [0003] At present, in the whole process of merging the branch code into the main code, developers usually only focus on the test of the branch code before the code is merged. If the test result of the branch ...

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
Inventor 潘金赤胡冬胜马艳
Owner TENCENT TECH (SHENZHEN) 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