Automatic testing method and device

A technology of automatic testing and test configuration, applied in the field of testing, can solve the problems of heavy testing of blockchain system services and increase the cost of system testing, so as to reduce the cost of writing and improve the efficiency of testing.

Pending Publication Date: 2019-07-23
ADVANCED NEW TECH CO LTD
View PDF10 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This increases the cost of system testing to some extent
In addition, for some large-scale software systems, such as blockchain systems, the blockchain platform is a decentralized service. Due to the differences in the services of different blockchain systems, the tests for blockchain system services are usually compared. heavy

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
  • Automatic testing method and device
  • Automatic testing method and device
  • Automatic testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Embodiments of this specification will be described below with reference to the accompanying drawings.

[0031] figure 1 A schematic diagram of an automatic testing framework 100 according to an embodiment of the present specification is shown. like figure 1 As shown, the framework 100 includes an input module 11 , a calling module 12 , a function module 13 and an output module 14 . The test framework 100 can be deployed on a test server, for example, and the test server can test corresponding services in the blockchain through each node, for example, by connecting to each node in the blockchain. For example, when the first node in the blockchain is about to be tested, the connection configuration information of the first node and the test configuration file corresponding to the node are first obtained through the input module 11 . For example, the connection configuration information of the first node and the file path of the test configuration file corresponding to...

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 embodiment of the invention provides an automatic testing method and device. The method comprises the following steps of obtaining a first test configuration file corresponding to the first to-be-tested object, wherein the first test configuration file comprises at least one test case arranged in sequence, each test case comprises calling of one functional module in a plurality of preset functional modules and configuration of input data and output data of the functional modules, and each functional module corresponds to one operation in a test; and for the first to-be-tested object, according to the arrangement sequence of the at least one test case, based on the configuration of the input data and the output data of the corresponding function module in each test case, sequentially calling the function modules in each test case so as to obtain a test result corresponding to the first test configuration file.

Description

technical field [0001] The embodiments of this specification relate to the technical field of testing, and more specifically, to an automatic testing method and device. Background technique [0002] Software testing is a review or comparison process between the actual output and the expected output. By using an automatic testing framework in software testing, software testers can be freed from tedious mechanical manual testing. The essence of the existing software automation testing framework is to complete a complete testing function based on the combination of data-driven and writing test program use cases. It has high requirements for testers to write use cases, not only requires use case writers to be familiar with testing requirements, but also needs to be familiar with specific environments such as some languages. This increases the cost of system testing to a certain extent. In addition, for some large-scale software systems, such as blockchain systems, the blockcha...

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/3688
Inventor 王士峰
Owner ADVANCED NEW 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