Test case generation method and device and server

A test case generation and test case technology, applied in the computer field, can solve problems such as low efficiency, long time consumption, and large amount of test data, and achieve the effect of improving efficiency, reducing time consumption, and shortening the cycle.

Inactive Publication Date: 2019-05-07
亚信科技(中国)有限公司
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the large amount of format parameters and test data that need to be formulated, and there are strict format requirements, the process of

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
  • Test case generation method and device and server
  • Test case generation method and device and server
  • Test case generation method and device and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] 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.

[0041] see figure 1 , figure 1 It is a flow chart of the test case generation method provided by the embodiment of the present invention. The method can be applied to electronic equipment. The electronic equipment can be user equipment with data processing capabilities such as notebook computers and PCs (personal computers). Obviously, the e...

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 provides a test case generation method and device and a server, which are applied to technical field of computers. The method comprises the following steps: acquiring basic data in a production environment, wherein the basic data at least comprises a request message when interface access is carried out in a production environment and a response message corresponding to the request message; then, analyzing the obtained basic data; performing screening to obtain target data containing the message format parameters and the message volume data; defining the message format of the testcase through the obtained message format parameters, taking the obtained message body data as the test data of the test case, generating the test case. By means of the test case generation method anddevice and the server, time consumed for compiling the test case can be effectively shortened, efficiency is improved, and the software test period is shortened.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a test case generation method, device and server. Background technique [0002] Writing test cases is an important task in the software testing process. Excellent test cases can fully meet the design requirements of the software, accurately and quickly test the design defects of the tested object, and make the software testing work achieve good results. [0003] In the process of writing test cases, it is necessary to manually formulate format parameters such as the format of the request message, the name of the message, and the protocol type used by the message. At the same time, a large amount of test data needs to be prepared. Moreover, writing test cases has strict format requirements for the above content, such as not including commas, semicolons, etc. in Chinese characters. [0004] In the prior art, these preparations are manually completed by testers, and t...

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
IPC IPC(8): G06F11/36
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