Device and method for generating test case

A technology for generating test cases and test cases, which is applied in the computer field, can solve problems such as incomplete test cases and missing test cases, and achieve the effects of improving completeness, reducing manual operations, and reducing human subjective judgments

Inactive Publication Date: 2009-03-04
BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a method for designing test cases to solve the problem

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
  • Device and method for generating test case
  • Device and method for generating test case
  • Device and method for generating test case

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Since the test cases in the existing counting are all analyzed by a large number of people, there are human subjective factors that cause the coverage of the test cases to be incomplete. The method provided by the embodiment of the present invention facilitates the use of computers to carry out the test cases by refining the steps of the test cases. Analysis reduces the manual operation in the test case generation process and improves the comprehensiveness of the test cases. In the embodiment of the present invention, a mapping table is generated according to the correlation of key actions among functional modules of the system under test, and any two key actions with correlation are connected according to the execution order in the mapping table to generate a test group, and then any The test group selects a test group connection with the same key action as the initial test group to form a service flow for the initial test group, wherein the first key action of the sele...

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 discloses a method for generating test cases and a device thereof, which is to solve the problem that the test cases can not be tested comprehensively. The method comprises the following steps: a mapping table is generated according to the relevance of key operations between the functional modules of a system to be tested; furthermore, discretionary two key operations which are relevant are connected to generate test groups according to the execution order in the mapping table, and then an arbitrary test group as an initial test group is connected with the test group having the same key operations with the initial unit to form service stream; finally, test cases in service stream are output according to the service stream in combination with the connections of the key operations in the mapping table. According to the proposal provided by the invention, analysis is conducted from the angle of interaction between a plurality of modules, thus improving the completeness of test cases.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for generating test cases. Background technique [0002] With the growing and maturing of the software industry, the importance of system testing is beyond doubt. How to complete the test in the shortest time with the least input of manpower and resources, and discover system defects is the ultimate purpose of designing test cases. [0003] A test case is a set of test inputs, execution conditions, and expected results compiled for a special purpose, in order to test a certain program path or verify whether the written program meets a specific requirement. A test case is a description of the test activities related to the test goal executed in a certain order, and it is to determine the "how" of the test. A test case is considered as the smallest test group for effectively discovering system defects. In testing work, the design of test cases is very important, and ...

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 BEIJING XINWANG RUIJIE NETWORK TECH CO 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