Integration testing method and system based on Docker

A docker container and integrated testing technology, applied in the computer field, can solve problems such as heavy workload, low development efficiency, and large machine resources, and achieve the effects of fast startup, easy migration and expansion, and convenient sharing

Active Publication Date: 2016-01-06
广州云标局网络科技有限公司
View PDF4 Cites 58 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a Docker-based integration testing method and system, aiming to solve the problems of large machine resource occupation, low development efficiency, and heavy workload for integration testing in existing cloud computing software development

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
  • Integration testing method and system based on Docker
  • Integration testing method and system based on Docker
  • Integration testing method and system based on Docker

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] 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.

[0030] figure 1 The flow chart of the Docker-based integration testing method provided by the embodiment of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown, such as figure 1 As shown, the method includes the following steps:

[0031] Step 101 , using the Docker container integration method, deploying the integration testing components in the Docker to form a Docker integration testing environment.

[0032] In this step, the integration test components are deployed in Docker mainly by utilizing the characteristics of Docker, which specifically includes three parts: providing integration test components and scripts, establishing a Docker integration test ...

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 technical field of computers, in particular to an integration testing method and system based on the Docker. The integration mode of a Docker container is adopted, all integration testing components are deployed in the Docker, and a Docker integration testing environment is formed; a script command line menu is utilized, and the integration testing components are called through an RPC protocol to complete test of modules with different functions. In this way, integration tests in a development stage can be greatly facilitated, hardware cost of the tests can be reduced, and the mode is suitable for being popularized to serve as the testing environment of all departments in a company or a testing department; in addition, sharing inside the company can be facilitated due to Docker mirror images, transfer and expansion can be easily achieved, and containers of the components can be quickly operated based on the Docker mirror images.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a Docker-based integration testing method and system. Background technique [0002] Docker is an open source application container engine that can easily create a lightweight, portable, self-sufficient container for any application, allowing developers to package their applications and dependencies into a portable container, The container is completely using the sandbox mechanism, there will be no interface between each other, there is almost no performance overhead, and it can be easily run on machines and data centers. Developers can use a standard image to build a set of development containers. After the development is completed, operation and maintenance personnel can directly use this container to deploy code. The startup time of the Docker container is in seconds, which saves a lot of time for development, testing, and deployment. [0003] In the development of cloud co...

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
Inventor 叶耀荣
Owner 广州云标局网络科技有限公司
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