Generation method and device for software test case
A test case generation and test case technology, which is applied in the computer field, can solve the problems of not fully considering different functional connections and incomplete coverage of function points, so as to improve test efficiency, fast and simple method, and ensure test quality.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Reference figure 1 , A method for generating software test cases, including the following steps:
[0037] Generate test cases corresponding to each functional requirement point according to the software requirement specification, and put these test cases into the basic use case library;
[0038] Generate test case data according to the test cases in the basic use case library;
[0039] According to the usage scenario and business flow, obtain the combined conditions that each function demand point is triggered;
[0040] Delete the repeated combinations in the combination conditions, combine and call the test case data according to the remaining combination conditions, and obtain all the combined test cases;
[0041] Extract the reusable test cases from the combined test cases and put them into the basic use case library as shared use cases.
[0042] Specifically, in this embodiment, the corresponding test case can be directly executed according to the functional requirements of th...
Embodiment 2
[0053] Reference image 3 , A software test case generation device, including:
[0054] The test case generation module is used to generate test cases corresponding to each functional requirement point according to the software requirement specification, and put these test cases into the basic use case library;
[0055] The test case data generation module is used to generate test case data according to the test cases in the basic use case library;
[0056] The combination condition obtaining module is used to obtain the combination condition triggered by each functional demand point according to the usage scenario and business flow;
[0057] The combination call module is used to delete the repeated combinations in the combination conditions, and perform combination calls on the test case data according to the remaining combination conditions to obtain all the combination test cases;
[0058] The shared use case extraction module is used to extract the reusable test cases in the combi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com