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
CN110071848BActive Publication Date: 2020-12-08武汉思普崚技术有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
武汉思普崚技术有限公司
Publication Date
2020-12-08

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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