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
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2021-06-29
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
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....