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

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 sequentially, and multiple test processes are not supported concurrently
[0005] c. If the object under test has a dependency relationship with other systems, it is impossible to schedule multiple systems for joint debugging tests at the same time
[0006] d. Expansion is difficult. If the test tool is extended, secondary development is generally required, and the maintenance cost of the test tool is high

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

Embodiment Construction

[0041] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below through specific embodiments and accompanying drawings.

[0042] Each test task (Job) to be executed in the present invention runs 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 system under test or test tool (Docker is an open source application container engine). The test task defines the command to start the container based on the Docker image. Starting a test task starts a Docker container. Different test tasks run independently in different containers.

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

[0044] 1) Test task template generation m...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products