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

Generation method and device for test cases and electronic equipment

A test case and generation device technology, applied in the field of testing, can solve the problems of poor readability and maintainability of server test cases, and achieve the effect of enhancing readability and facilitating understanding

Inactive Publication Date: 2018-11-06
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

[0005] In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide a test case generation method, device and electronic equipment for solving the problem of poor readability and maintainability of server test cases in the prior art

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
  • Generation method and device for test cases and electronic equipment
  • Generation method and device for test cases and electronic equipment
  • Generation method and device for test cases and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to enable those skilled in the art to better understand the technical solutions in the present invention, 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 The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0053] see Figure 1 to Figure 5 . It should be noted that the diagrams provided in this embodiment are only schematically illustrating the basic idea of ​​the present invention, so that only the components related to the present invention are shown in the diagrams rather than the number, shape and Dimensional drawing, the type, quantit...

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 generation method and device for test cases and electronic equipment. The method comprises the steps of obtaining test case serial numbers and test case names corresponding to the test case serial numbers from a preset test case information table; establishing script files named through utilization of the test case serial numbers and test case names; obtaining test conditions, test steps and test indexes corresponding to the test case serial numbers from the test case information table; and writing the test conditions, the test steps and the test indexes into the script files, thereby generating the test cases through utilization of the script files. Information such as the test conditions, the test steps and the test indexes in each test case areadded to the script file in a form of annotations, so the readability of the test case is improved, and technical staff can understand test case content conveniently and further carry out maintenance.

Description

technical field [0001] The invention relates to the technical field of testing, in particular to a method, device and electronic equipment for generating test cases. Background technique [0002] Testing the server is the key to ensuring the quality of the server. In the process of server testing, scripting language is usually used to write test cases, and then run the test cases on the server to complete the test. [0003] In the current way of generating test cases, technicians usually write test cases in a scripting language according to test information such as test steps and test conditions described in test case documents. However, the inventor found through research that when writing test cases, the comment content is usually less or even missing, resulting in poor readability of test cases, so that technicians need to spend a lot of time rereading all the scripting languages ​​when modifying test cases In order to understand, reduce the maintainability of test cases...

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/3684
Inventor 邓振宏
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD