Method for generating examples of white-box path test
A test case generation and path testing technology, applied in software testing/debugging, program control devices, etc., can solve problems such as no processing, infeasible basic paths, and no consistent test case set, so as to ensure test quality and reduce complexity. and the effect of execution difficulty
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] The specific implementation manners of the present invention will be described in detail below with reference to the accompanying drawings.
[0022] Figure 1A It is a test case generation method applied to white-box path testing according to an embodiment of the present invention. Such as Figure 1A As shown, the test case generation method includes the following steps:
[0023] S102. Mark all the circles in the code flowchart.
[0024] Specifically, step S102 may include the following steps (such as Figure 1B shown): S1022, draw the code flow chart, calculate the cyclomatic complexity of the code flow chart, and determine the number of circles in the figure. S1024, the dotted line connects the entry node and the exit node of the code flowchart, and marks a closed area on the graph. S1026. Determine a closed path around each closed area, where a closed path is a circle. And S1028, determine the marked side of the circle, and use the marked side to mark the circl...
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