Designing method of high-efficiency high-coverage-rate function test case

A technology of functional testing and design methods, applied in the direction of software testing/debugging, program control devices, etc., can solve the problems of false positives and false positives, cumbersome manual testing, etc., and achieve the effect of high coverage

Inactive Publication Date: 2009-12-02
FUJIAN CENTM INFORMATION
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Due to the cumbersome manual testing, if a software system is divided into multiple small modules, and then the forward and reverse use case design is carried out, so that the testers execute the forward and reverse use cases alternately, it is easy to misreport and omit BUG

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
  • Designing method of high-efficiency high-coverage-rate function test case

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] see figure 1 , the high-efficiency high-coverage functional test case design method of the present invention comprises the following steps carried out successively:

[0027] Step 10: First, analyze the test object and test requirements;

[0028] Step 20: Start the use case;

[0029] Step 30: Analyze the expected result of the use case, and whether the program receives input variables and processes the corresponding processing results. At this time, classify the forward function and reverse exception according to the use case number. For example, the forward function use case number is *a , that is, the last digit is a, the reverse exception case number is *b, that is, the last digit is b, and then enter step 40 and step 70 at the same time;

[0030] Step 40: the program receives and processes input variables, and then enters step 50;

[0031] Step 50: Carry out forward functional test case design according to the test object and requirement analysis in step 10, to ve...

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 designing method of a high-efficiency high-coverage-rate function test case, which sequentially comprises the following steps: analyzing a test object and a test requirement; starting the case; analyzing an expected result of the case; designing a forward function teat case according to the teat object and the requirement analysis when a program receives and processes an input variable; realizing functions for testing software requirements; then, completing the case by using various case designing methods; designing a reverse abnormal condition case according to the teat object and the requirement analysis when the program does not receive the input variable; and completing the case by using various case designing methods and estimating a test result in advance. The designing method of a high-efficiency high-coverage-rate function test case has the advantages that the teat case is designed through positive thinking and reverse thinking, the positive thinking based on a software function requirement is realized so as to ensure the correct realization of the software function, the reverse thinking based on the abnormal input, the abnormal operation, and the like is realized so as to test the robustness of the software and ensure the high coverage rate of the test, and the execution effect is quicker and more accurate.

Description

【Technical field】 [0001] The invention relates to a method for software black-box testing, in particular to a method for designing functional test cases with high efficiency and high coverage rate. 【Background technique】 [0002] Test case design is an important skill in software testing, and the quality of use case design is directly related to the level of testing. [0003] At present, there are many theoretical methods of use case design, such as equivalence class division, boundary value analysis, cause and effect diagram, decision table driven analysis, scenario design, etc. These methods are of great help in the use case design of a certain function point or module. These methods are not universal, and one or more specific methods should be selected for a specific function point or module. The use cases designed in this way can better verify the software quality of each module, but cannot provide overall guidance for software system testing. [0004] One of the crit...

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/36G06F9/44
Inventor 苏育清
Owner FUJIAN CENTM INFORMATION
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