Automated testing running method

A technology for automated testing and running methods, applied in software testing/debugging, error detection/correction, instrumentation, etc., to solve problems such as running failures, increasing test running time, and increasing the coupling degree of debugging and test running results

Inactive Publication Date: 2017-11-03
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] There are a large number of test cases, and there is interdependence between the test cases, which will lead to whether the success of the later run cases depends heavily on the running results of the previous use cases, which increases the complexity of debugging and the coupling of test running results; The running environment has different requirements, and different use cases need to run on different test environments; in the preparation process of test case running, there are many repeated steps, which increases the repetition of related codes; if the environment within a certain period of time Because objective factors cannot be used, it will affect all test cases running on the environment, causing them to fail; the test environment sometimes needs to be flexibly increased or decreased according to the demand, and needs to support real-time configuration and modification; when multiple specified test environments are used at the same time When running a test case, due to the different time required for test case execution, there may be: some environments run the test case to completion, but some environments have the case that the test case is queued to be run, which increases the test running time

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
  • Automated testing running method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The core of the present invention is to provide an automatic test operation method to realize effective utilization of the test environment and save test time.

[0025] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0026] The terms are explained as follows:

[0027] env pool (environmental pool): a collection of base test env;

[0028] CI: Continuous integration: continuous integration...

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 an automated testing running method. The method comprises the steps of loading a test case class needed to run currently according to a configuration file in a TestNG framework, and selecting a test case to be executed from test cases; obtaining a corresponding test environment from an environment pool by utilizing the test case, and if the test environment is obtained successfully, specifying a required advanced test environment by adopting a decorator mode; executing preparation work of a basic test environment and the advanced test environment; and executing case test logic defined in the test case to finish actual logic testing. According to the method, the test environment is effectively utilized and the test time is shortened.

Description

technical field [0001] The invention relates to the technical field of automated testing, in particular to an operating method of automated testing. Background technique [0002] Today, when CI / CD is popular, automated testing of software projects / products is a big trend. By writing automated test cases and running them continuously, it can well replace the manpower required for testing in previous projects, and good test cases can also avoid uncertain factors (such as human error) introduced by manual testing, etc., so as to be stable Guarantee the delivery quality of related projects / products. There are many existing automated test case management frameworks, such as cucumber, testNG, etc., but they are all relatively general automated test case management frameworks, and there is still a certain distance from the real practical application in business. For example, in the actual use case operation, there will be problems similar to the following: [0003] There are a l...

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
CPCG06F11/3664G06F11/3688
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