Method and system for generating test case

A test case generation and test case technology, applied in the field of data processing, can solve problems such as inconsistency, hidden dangers of software testing, test case formation or messy design process, etc., and achieve the goal of improving reliability, improving test work efficiency, and improving generation efficiency Effect

Inactive Publication Date: 2012-01-11
AGRICULTURAL BANK OF CHINA
View PDF3 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the formation or design process of existing test cases is rather messy and inconsistent, largely relying on the accumulation of personal work experience of testers, and cannot fully include the necessary test points, which brings hidden dangers to software testing

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order for those skilled in the art to further understand the features and technical contents of the present invention, please refer to the following detailed description and accompanying drawings of the present invention. The accompanying drawings are provided for reference and illustration only, and are not intended to limit the present invention.

[0041] The technical solutions of the present invention will be described below in conjunction with the drawings and embodiments.

[0042] see figure 1 , is a flow chart of a test case generation method according to an embodiment of the present invention.

[0043] The method can include:

[0044] Step 101, acquiring parameter values ​​of at least three characteristic parameters of the target to be tested.

[0045] In the embodiment of the present invention, at least three characteristic parameters of a target to be tested such as a software program are first obtained, such as the life cycle state, operation and attribu...

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 invention provides a method and a system for generating a test case. The method comprises the following steps of: acquiring parameter values of at least three characteristic parameters of a target to be tested; extracting any parameter value of each characteristic parameter respectively, and combining the extracted parameter value of each characteristic parameter to generate a combination result; and applying a test rule to the generated combination result to generate the test case. In the embodiment of the invention, core characteristic parameters of a target to be tested are determined, parameter values are extracted and further combined to obtain the combination result, and the test rule is applied to the combination result to generate the test case. By adopting the method, the generating standard and generating process of the test case are unified, the software test reliability is enhanced, the generating efficiency of the test case is increased, and the test efficiency is further increased.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a test case generation method and system. Background technique [0002] With the rapid development of automation and other related technologies, the development and application of software programs have been greatly developed. After the development of a software program, it is usually necessary to test it to confirm that it can operate normally and achieve the execution results designed by the program. If the program cannot run normally during the test, and this situation occurs frequently, it indicates that the software exists. defect. The cases or data that are run during the test are test cases. [0003] For example, when testing a software with a calculator function, we can design a test case such as 7÷0. According to the design, an error will be prompted. When executing the test case, we input 7÷0 to the calculator software to check the calculation. Check whether ...

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 AGRICULTURAL BANK OF CHINA
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