A method for automatic testing

A technology for automated testing and test cases, applied in software testing/debugging, resource allocation, multi-programming devices, etc., which can solve the problems of different machine running time, waste of machine resources, and low overall machine utilization.

Pending Publication Date: 2019-05-24
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But there are often the following two problems: 1. After each machine runs, the running time of each machine must be different, which leads to the waiting state of the machine that runs ahead of schedule, wasting machine resources
2. Each machine adopts a single-threaded operation mode, and the overall utilization rate of the machine is low

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
  • A method for automatic testing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0010] In order to clearly illustrate the technical features of the solution, the solution will be described below through a specific implementation mode combined with the accompanying drawings.

[0011] As can be seen from the accompanying drawings, the method for automated testing of this solution includes: obtaining the running status of each test machine; sorting according to the utilization rate of each test machine; assigning test cases to the test machine with the lowest utilization rate .

[0012] Before obtaining the running status of each test machine, it is necessary to obtain the maximum number of processes that each test machine can run. When detecting the running condition of each test machine, it is judged whether the number of test case processes of this test machine exceeds the maximum number of processes, if so, no action is taken, and if not, this test machine is added to the first set. In this way, all the test machines in the first set do not exceed the 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 provides a method for automatic testing. The method comprises the steps that the operation condition of each testing machine is acquired; Sorting is carried out according to the utilization rate of each test machine; and the test cases are distributed to the test machine with the lowest utilization rate. According to the method, the test cases are reasonably distributed by monitoringthe operation parameters of the machines, so that the automatic test time is balanced, the operation time of each machine is approximately equal, and the test time is reduced. And under the conditionthat the system load is ensured, each testing machine executes the testing cases in parallel as much as possible, so that the testing efficiency is improved.

Description

technical field [0001] The invention relates to a method for distributing test cases during automated testing. Background technique [0002] In the prior art, the known technology is that in the automated test system, in order to improve the efficiency of automated test operation, the automated test cases are generally distributed to multiple machines for operation, and the running tests on each machine are collected after the operation is completed. Results, and the final test results statistics and analysis. In the traditional way, a certain number of test cases are generally specified on each machine, and then each machine runs independently. However, there are often the following two problems: 1. After each machine runs, the running time of each machine must be different, which leads to the waiting state of the machine that ends the run ahead of time, wasting machine resources. 2. Each machine adopts a single-threaded operation mode, and the overall utilization rate o...

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): G06F9/50G06F11/36
Inventor 王亮
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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