A method and apparatus for generating a minimal set of use cases based on test requirements

A technology of test requirements and use case sets, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as repeated workload and reduced software testing efficiency

Active Publication Date: 2021-06-29
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF8 Cites 0 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
  • A method and apparatus for generating a minimal set of use cases based on test requirements
  • A method and apparatus for generating a minimal set of use cases based on test requirements
  • A method and apparatus for generating a minimal set of use cases based on 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 present invention discloses a method and device based on the minimum use case of testing requirements. This method includes: obtaining test requirements for the test of the software to be tested, determining the test requirements set as the current test requirements set, and the needs of the current needs concentration.Divide up multiple needs; use the demand for repeated demand obtained by the division of the division by using the redundant algorithm to determine the current demand set of unrelenting demand; determine whether the current demand concentration can be divided.If it is, the steps to return the needs of the current needs to be divided into the steps of multiple needs to obtain the corresponding requirements. If no, it will be determined that the demand division is over;For use cases corresponding to demand, the minimum use case is obtained.The above -mentioned technical solutions that are disclosed in this application will reduce the duplication rate of use cases, thereby reducing the workload and improving software testing efficiency.

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 Patents(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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products