Generating method and generating device of test cases

A technology of test cases and test steps, which is applied in the field of test case generation methods and devices, can solve the problems of not being able to satisfy Internet software testing well, and the generation method is difficult to clearly express the logic of Internet application requirements, and achieve various forms , to avoid the effect of structural inconsistency

Active Publication Date: 2013-06-26
ALIBABA GRP HLDG LTD
View PDF4 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The embodiment of the present application provides a method and device for generating test cases, which are used to solve the problem that the existing test case generation methods are difficult to clearly express the demand logic of Internet applications and cannot well meet the needs of Internet software testing. question

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
  • Generating method and generating device of test cases
  • Generating method and generating device of test cases
  • Generating method and generating device of test cases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The specific implementation manners of a test case generation method and device provided in the embodiments of the present application will be described below with reference to the drawings in the description.

[0025] A test case generation method provided by the embodiment of the present application generates test cases based on the mind map in the prior art. Therefore, before describing the test case generation method provided by the embodiment of the present application, the existing mind map The diagram briefly explains:

[0026] The existing mind map adopts a tree structure, which is composed of nodes, and a series of tree nodes are emitted from the root node. The mind map can clearly show the mutual affiliation and relationship between topics at all levels, such as figure 1 Shown is an example of the directory structure of the mind map of e-commerce software in the prior art. In this example, "01 click to buy now", "02 left to view baby", ..., "06 "Order Confir...

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 generating method and a generating device of test cases. The method comprises the steps of sequentially scanning all logic affair nodes and illogic affair nodes in a mind map; for scanned illogic affair nodes, generating test cases containing test steps; and for scanned logic affair nodes, generating test cases containing input conditions and expected results according to preset input DETs and output DETs of the logic affair nodes. According to the generating method and the generating device, the mind map which can clearly present a requirement framework of all logic businesses is used for analyzing the mind map, the test cases capable of comprehensively reflecting software demanding relationship can be generated according to the correlation between the input and the output of all the logic businesses, and the test cases containing the test step forms can be generated by transforming the mind map. The generated test cases are diverse in form, and requirements of software test cases are met.

Description

technical field [0001] The present application relates to the field of software testing, in particular to a method and device for generating test cases. Background technique [0002] Different from traditional application software, Internet application software mostly uses browser / server (Browser / Server, BS) structure, model-view-control MVC frame model, this frame model defines Internet application as 3 parts, each Parts are responsible for accomplishing specific tasks: [0003] Model model: programmers write the functions that the program should have (implement algorithms, etc.), database experts perform data management and database design (can realize specific functions). [0004] View view: Interface designers design graphical interfaces. [0005] Controller controller: responsible for forwarding requests and processing them. [0006] The MVC development model of Internet application software is supported by a huge database, the requirements and user interface are cha...

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