Unlock instant, AI-driven research and patent intelligence for your innovation.

Command test method, computing device and storage medium

A technology of computing equipment and testing methods, which is applied in the field of testing, and can solve problems such as accurate reflection of the inability to execute commands

Pending Publication Date: 2022-08-09
UNIONTECH SOFTWARE TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, sometimes the status code returned by the execution command cannot accurately reflect the status of the execution command

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
  • Command test method, computing device and storage medium
  • Command test method, computing device and storage medium
  • Command test method, computing device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044]Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art. The same reference numbers generally refer to the same parts or elements.

[0045] First refer to figure 1 , figure 1 A schematic diagram of a computing device 100 according to an exemplary embodiment of the present invention is shown. like figure 1 As shown, the computing device 100 includes an internal memory 111 , an external memory 112 , a central processing unit 113 and a graphics processor 114 . Internal memory 111 i...

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 relates to the field of testing, and discloses a command testing method, computing equipment and a storage medium. The method comprises the following steps: analyzing a to-be-tested command, and determining whether the command comprises a connector and a query command; if the command comprises a connector and a query command, setting a command return logic and executing the command to obtain a status code; judging whether the query command is the last command in the commands or not; if the query command is not the last command in the commands and the status code is a first status code which indicates that the command is normally executed, judging whether the command is a correct command or not; and if the command is a correct command, returning the first status code, and marking that the test is successful. According to the method, the command is analyzed to judge whether the command comprises the connector and the query command or not, so that the status code is returned according to the corresponding judgment logic, and the command execution condition is accurately marked by the status code.

Description

technical field [0001] The invention relates to the field of testing, in particular to a command testing method, a computing device and a storage medium. Background technique [0002] With the development of computer technology, people use more and more various applications or files in the computer to complete the work, and most applications require various debugging work. When debugging an application or checking a file, various commands are usually used for testing; by judging whether the application or file is normal or abnormal by judging the status code returned by executing the command. In the prior art, the status code returned by executing the command sometimes cannot accurately reflect the execution of the command. [0003] For this, a new method of command testing is required. SUMMARY OF THE INVENTION [0004] To this end, the present invention provides a command testing method to try to solve or at least alleviate the above problems. [0005] According to a f...

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/3684G06F11/3688G06F11/3692
Inventor 黄海针
Owner UNIONTECH SOFTWARE TECH CO LTD