Implementation method of test case

A technology of test cases and execution methods, applied in the field of testing, can solve the problems of lack of flexibility and selection, low efficiency of test cases, etc., achieve strong reusability and improve execution efficiency

Inactive Publication Date: 2009-12-09
STATE GRID ELECTRIC POWER RES INST +1
View PDF1 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention aims at the shortcomings of lack of flexibility and low efficiency in selecting and executing test cases in the existing test case management, and proposes a new method for test case execution, which can flexibly combine test ca

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
  • Implementation method of test case
  • Implementation method of test case

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] All test cases are classified according to a certain classification method, and the type value and classification method of each test case are written behind the test case code as the type attribute of the test case. If the test case is classified under multiple classification methods, each classification result is written in the test case file in turn. In addition to the type attribute, the test case attribute can also include other project-independent attributes of the test case, such as: test case description, test case timeout time, etc.

[0025] Attributes are written in the test case file in the form of comments, so that the attribute information added in the test case file will not affect its normal operation, such as figure 1 Shown is the structure of the test case file. Only attributes that are not related to the specific test items are stored in the test case, making the test case independent of the test item, so that it can be easily imported and exported in...

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 an implementation method of a test case. A test project is designed by a plurality of script files; a specific test project comprises a project file and a plurality of script files, wherein, a script file corresponds to a test case; the implementation method of the test case is characterized by comprising the following steps: 1) defining attributes for all the test cases; 2) classifying the test case attributes into unrelated attributes of test projects and related attributes of test projects according to the degree of connection closeness between the projects to be tested and the attributes of the test cases; and 3) storing the unrelated attributes of the test projects in the test case files and storing the related attributes of the test projects in the specific files of the test projects.

Description

technical field [0001] The invention relates to a test method, in particular to a test case execution method. Background technique [0002] Designing and writing test cases can avoid blind testing and improve test efficiency. Using test cases to test products is a commonly used testing method. Usually when testing a product, there are dozens or even hundreds of test cases that need to be executed, and a certain test case can also be used for testing other similar products, which involves how to enable users to quickly select and execute the interesting ones. test case. [0003] Now the common practice of test case management software is to manage two files for a test project: script file and configuration file. Among them, the script file stores all the test case codes in the test project, and the configuration file stores the relevant information of the current test project. The characteristics of this design are: write a very comprehensive script file, including all tes...

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 STATE GRID ELECTRIC POWER RES INST
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