Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Test case generating method and system

A test case generation and test case technology, applied in the computer field, can solve problems such as lack of consideration, rough test results, unsatisfactory test results, etc., and achieve the effect of enhancing versatility

Inactive Publication Date: 2008-06-11
RUIJIE NETWORKS CO LTD
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] In the prior art, the test cases are usually only generated according to the specifications, without considering other factors that are more detailed and more needed for testing, so the test results are rough and cannot meet the requirements of making the test results more detailed according to the needs; further , because the existing technology directly applies the exception bugs generated in the test process to the test case of the test object, so this application is only for the measurement object, and will not contribute to other test product objects

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
  • Test case generating method and system
  • Test case generating method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The design concept of the embodiment of the present invention is: maintain the cause information of bug generation, generate test cases by matching the maintained cause information and test specification information, so as to improve the test coverage of test cases, and better detail and accurately analyze different bugs. Products are tested.

[0037] The embodiments of the present invention are preferably applicable to the design of test cases for black-box testing, and are applicable to all products or product lines with common characteristics.

[0038] The realization principle, specific implementation manners and corresponding beneficial effects of the technical solution of the present invention will be described in detail below.

[0039] Referring to shown in Figure 2, it is a flow chart of the test case generation method in the embodiment of the present invention, wherein the process is as follows:

[0040] Step 1, maintain the cause information of the test error...

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 test case generating method, which comprises that: maintaining reason information caused by test error and maintaining test specification description information; matching the maintained reason information and test specification description information to generate the test case. The invention also provides a test case generating device correspondingly, which comprises a first maintenance device for maintaining reason information caused by test error and a second maintenance device for maintaining test specification description information; a case generating device for matching the maintained reason information and test specification description information, so as to generate the test case. According to the test case generated by the scheme, the invention can better test different products in details and increase the generality of the test case.

Description

technical field [0001] The invention relates to the field of computers, in particular to a test case generation method and device. Background technique [0002] Any product needs to be tested before it is put into the market, and the testing process requires the participation of test cases. A test case refers to a set of test inputs, execution conditions, and expected results developed for a specific goal. Its goal can be to test a certain program path or verify whether a specific requirement is met. That is to say, the test case guides the direction of the test, defines the scope to be tested, the content to be tested, and the expected correct output results. [0003] There are currently two testing methods in the prior art: black-box testing and white-box testing, wherein black-box testing (or functional testing, or data-driven testing) refers to testing products according to the functional design specifications of known products, To verify whether each function of the p...

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): G06F9/44H04L12/26
Inventor 张瑛
Owner RUIJIE NETWORKS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products