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

CN107463505BActive Publication Date: 2021-06-29ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
8 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2021-06-29

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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...

Examples

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....