Method, device and storage medium for automated testing of command line commands

An automated test and command line technology, applied in the computer field, can solve problems such as heavy workload, consumption of manpower and time, and achieve the effect of improving test accuracy and test efficiency

Active Publication Date: 2020-12-08
武汉思普崚技术有限公司
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, during version testing, if you want to completely verify all these command configurations, the workload is very heavy, and it will consume a lot of manpower and time
Especially in the process of rapid version iteration, if each round of testing is to verify these functions, it will be a big burden for testers
If you use the method of writing test scripts to test the command line, you need to write a large number of command test scripts, which is not a small burden for the overall development work

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
  • Method, device and storage medium for automated testing of command line commands
  • Method, device and storage medium for automated testing of command line commands
  • Method, device and storage medium for automated testing of command line commands

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments 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. In addition, the technical features in each embodiment or a single embodiment provided by the present invention can be combined arbitrarily with each other to form a feasible technical solution, but it must be based on the realization of those skilled in the art. When there is a contradiction or cannot be realized, it should be considered that ...

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 a method and device for automatically testing a command line command. The method comprises the following steps of defining a view of a mounting command line toobtained a defined view, and defining a command entering the defined view, and traversing all the defined views, obtaining the command and the related parameters under the defined views by adoptinga list command, and replacing the related parameters with legal values to obtain a test command; and assembling the test command to obtain an assembly command, and testing the assembly command. According to the method and the device for automatically testing the command line command provided by the embodiment of the invention, not only the test personnel can be liberated from heavy repeated work,but also the test efficiency and the test accuracy are greatly improved.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a method and device for automatically testing command line commands. Background technique [0002] In the testing of firewall equipment, the basic work is CLI (command-line interface, command-line interface) configuration testing. Generally, there are hundreds or thousands of commands supported by a device. If the conditional combination of various command parameters is included, the number will be even greater. Therefore, during version testing, if you want to completely verify all these command configurations, the workload is very heavy, and it will consume a lot of manpower and time. Especially in the process of rapid iteration of the version, if each round of testing is to verify these functions, it will be a big burden on the testers. If you use the method of writing test scripts to test the command line, you need to write a large number of ...

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 Patents(China)
IPC IPC(8): H04L12/26H04L29/06
CPCH04L43/50H04L63/02
Inventor 胡迪
Owner 武汉思普崚技术有限公司
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