Test case generation method, device and system

A test case generation and test case technology, applied in the field of data processing, can solve problems such as unfavorable server-side testing and limited test cases

Active Publication Date: 2018-07-24
ALIBABA GRP HLDG LTD
View PDF7 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the test cases that can be automatically generated based on server-side log information i

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose, technical solutions, and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the schematic embodiments and descriptions of the embodiments of the present application are used to explain the embodiments of the present application, but are not intended to limit the embodiments of the present application.

[0030] The specific implementation manners of the embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0031] refer to figure 1 As shown, the test case generation method of the embodiment of the present application includes the following steps:

[0032] S101. Obtain request data and return data from log information on the server side.

[0033] In one embodiment of the present application, the s...

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 application provides a test case generation method, device and system. The method comprises the following steps: acquiring request data and return data from log information of aserver-side; providing a business scenario rule set and determining a business scenario rule corresponding to a scenario-assigned instruction when receiving the scenario-assigned instruction of the business scenario rule set of a user; analyzing the request data and the return data in accordance with the business scenario rule in order to build a data model corresponding to a business scenario; and generating a corresponding test case according to the data model in the corresponding business scenario and a pre-determined test code template. The embodiment can automatically generate test caseswith more diverse scenarios on the basis of the log information of the server-side, which is conducive to conducting a more comprehensive test of the server-side.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to a test case generation method, device and system. Background technique [0002] Test cases are used to verify whether the server provides computer program codes that meet the functions expected by the designer. At present, test cases are generally written manually by testers, which is costly and inefficient. [0003] With the continuous development of technology, there have been solutions to automatically generate test cases based on logs. This solution first obtains the log files generated when the application is running on the device (mainly including: the user's operation behavior and operation process of the application, such as login behavior, transaction behavior, etc.); Whether the format is the same; if the format of the log file is the same as that supported by the test equipment, generate test cases directly according to the log file; if the format o...

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
CPCG06F11/3684
Inventor 朱波
Owner ALIBABA GRP HLDG LTD
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