Multi-task scheduling automated testing method and system based on Docker container

A docker container and scheduling automation technology, applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve the problem of not supporting the automatic construction and effective management of the test environment, the inability to guarantee the consistency of the development and test environments, and the inability to schedule at the same time Joint debugging and testing of multiple systems to achieve rapid and automatic deployment, ensure stability and independence, and reduce costs

Inactive Publication Date: 2018-08-21
CHINA INTERNET NETWORK INFORMATION CENTER
View PDF3 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] a. Does not support the automatic construction and effective management of the test environment, cannot carry out reliable, accurate, comprehensive description and effective supervision of the test environment, and cannot guarantee the consistency of the development and test environments
[0004] b. The test process cannot be flexibly controlled, only a certain test process can be executed seq

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
  • Multi-task scheduling automated testing method and system based on Docker container
  • Multi-task scheduling automated testing method and system based on Docker container

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0041] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and understandable, the following further describes the present invention in detail through specific embodiments and drawings.

[0042] In the present invention, each test task (Job) to be executed is run in the form of a container, and each test task is created based on a test task template. The test task template is a Docker image created based on the tested system or test tool (Docker is an open source application container engine). The test task defines the command to start the container according to the Docker image. Starting a test task starts a Docker container, and different test tasks run independently in different containers.

[0043] figure 1 It is a schematic diagram of the module composition of an automated test system according to an embodiment of the present invention. The system includes the following modules or subsystems:

[0044] 1) Test task templat...

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 a multi-task scheduling automated testing method and system based on a Docker container. The method comprises the following steps that: on the basis of a tested system or a test tool, constructing a Docker mirror image, and taking the generated Docker mirror image as a test task template; on the basis of the Docker mirror image corresponding to a test task template, creating test tasks, and configuring the starting parameter and the starting time sequence of the Docker container, wherein different test tasks are operated in different Docker containers, and the startingtime sequence of the Docker container corresponds to the execution process of the test task; and according to the configured starting parameter and starting time sequence of the Docker container, starting the Docker container to execute the test task. By use of the method disclosed by the invention, test processes and test tasks can be flexibly scheduled, and computer applications can be conveniently and efficiently subjected to automated testing.

Description

technical field [0001] The invention belongs to the technical fields of software technology and automated testing, and in particular relates to an automated testing method and system for multi-task scheduling based on Docker containers. Background technique [0002] Automated testing technology refers to the automated testing of computer applications. As an important means of improving testing efficiency, it has been more and more widely used. Traditional automated testing frameworks aim to replace the execution of manual test cases and are mainly used in functional testing. They usually have the following disadvantages: [0003] a. It does not support the automatic construction and effective management of the test environment, cannot carry out reliable, accurate, comprehensive description and effective supervision of the test environment, and cannot guarantee the consistency of the development and test environments. [0004] b. The test process cannot be flexibly controlle...

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/3688G06F11/3696
Inventor 王骞张海阔李真辉朱宁李欣
Owner CHINA INTERNET NETWORK INFORMATION CENTER
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