Method and device for automatically generating test case

A technology for generating test cases and test cases, applied in the field of automatically generating test cases and automatically generating test case devices, it can solve problems such as functional checkpoint omissions, achieve efficient reuse, avoid omissions, and improve design and writing efficiency.

Inactive Publication Date: 2013-07-03
ALIBABA GRP HLDG LTD
View PDF4 Cites 66 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Moreover, this method of manually repeating the design of function

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
  • Method and device for automatically generating test case
  • Method and device for automatically generating test case
  • Method and device for automatically generating test case

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0045] The core idea of ​​this application is that, by presetting the standard test case library, and implanting parameter variables in the test case template of the standard test case library for parameterization, the parameter value input by the user is obtained during use, and the parameter value input by the user is Replace the parameter variables in the corresponding test case template to generate a test case that meets the actual needs (that is, the content of the test case conforms to the function point to be tested).

[0046] refer to figure 1 , which shows a flow chart of the steps of Embodiment 1 of a method for automatically generating test cases of the present application, which may specifica...

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 method and a device for automatically generating a test case. The method comprises the following steps of presetting a standard test case library, wherein the standard test case library comprises test case templates of all check points under a basic functional node and the test case templates comprise parameter variables; extracting a currently required test case template and receiving parameter values input for the corresponding parameter variables by a user; and according to the test case template and the parameter values, generating the test case. According to the invention, the test case can be rapidly and automatically generated and the compiling efficiency of the test case is promoted.

Description

technical field [0001] The present application relates to the technical field of software testing, in particular to a method for automatically generating test cases and a device for automatically generating test cases. Background technique [0002] A test case is a set of test inputs, execution conditions, and expected results compiled for a special purpose, in order to test a program path or verify whether a specific requirement is met. There is currently no canonical definition of a test case. The more common saying is: it refers to the description of a specific software product testing task, reflecting the testing plan, method, technology and strategy. The content includes test objectives, test environment, input data, test steps, expected results, test scripts, etc., and forms a document. Different types of software have different test cases. [0003] It should be noted that in software products, some public functions account for an increasing proportion. For example...

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 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