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

Method and device for generating minimum case sets on basis of test requirements

A technology for testing requirements and use case sets, applied in software testing/debugging, error detection/correction, instrumentation, etc., to solve problems such as repetitive workload reducing software testing efficiency

Active Publication Date: 2017-12-12
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the object of the present invention is to provide a method and device for generating a minimum set of use cases based on test requirements, so as to solve the problems in the existing technical solutions of test software that the execution of repeated use cases brings repeated workload and reduces the efficiency of 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 device for generating minimum case sets on basis of test requirements
  • Method and device for generating minimum case sets on basis of test requirements
  • Method and device for generating minimum case sets on basis of test requirements

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0031] see figure 1 , which shows a flow chart of a method for generating a minimum use case set based on test requirements provided by an embodiment of the present invention, which may include:

[0032] S11: Obtain a test requirement set corresponding to the software to be tested, determine the test requirement set as the current requirement set, and divide the requirements included in the current requirement set to obtain multiple corresponding requirements....

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 and a device for generating minimum case sets on the basis of test requirements. The method includes acquiring test requirement sets corresponding to to-be-tested software, determining that the test requirement sets are current test requirement sets and dividing requirements in the current test requirement sets to obtain a plurality of corresponding requirements; eliminating repeated requirements among the multiple divided requirements by the aid of redundancy removal algorithms, and forming current requirement sets by the determined non-repeat requirements; judging whether requirements capable of being divided are available in the current requirement sets or not, executing the step for dividing the requirements in the current requirement sets to obtain a plurality of corresponding requirements if the requirements capable of being divided are available in the current requirement sets, and determining that requirement division is terminated if the requirements capable of being divided are not available in the current requirement sets; determining cases in case sets corresponding to the to-be-tested software so as to obtain the minimum case sets. Each determined case in the case sets corresponding to the to-be-tested software corresponds to the corresponding single requirement in the corresponding current requirement set when the requirement division is terminated. According to the technical scheme, the method and the device have the advantages that the repetition rate of the cases can be lowered, accordingly, workload can be reduced, and the software test efficiency can be improved.

Description

technical field [0001] The present invention relates to the technical field of software testing, more specifically, to a method and device for generating a minimum set of use cases based on testing requirements. Background technique [0002] Software testing is an indispensable step in the software development process. When testing software, it is first necessary to design test cases for the software requirements and functions, and operate the software under the guidance of the use cases to find out whether there are errors in the program, measure the software quality, and evaluate whether the software can meet the design requirements. [0003] At present, with the continuous improvement and enrichment of software functions, the function points that need to be tested are also increasing. There may be a large number of repeated test requirements in the test requirement set. Correspondingly, there will be a lot of repetition in the use case set. Correspondingly, executing rep...

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
CPCG06F11/3684
Inventor 孟祥坤
Owner ZHENGZHOU YUNHAI INFORMATION TECH 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