Method and system for processing loop codes in software testing
A technology of software testing and processing methods, which is applied in the field of cyclic code processing in software testing, and can solve problems such as increased labor costs, missing test paths, and poor flexibility of manual methods
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0041] The invention provides a method for processing loop codes in software testing, such as figure 1 As shown, the method includes:
[0042] Step 1: Find the loop body of the code under test according to the program control flow graph;
[0043] Step 2: Determine the sub-path before the loop body of the current loop body;
[0044] Step 3: Determine all single sub-paths of the current loop body, combine the single sub-paths into a combined sub-path, and determine the combined sub-path when the set path between the sub-path before the loop body and the combined sub-path is reachable The path is a definite subpath of the current loop body;
[0045] Step 4: When it is determined that the set path between the sub-path before the loop body and the determined sub-path is reachable, generate a test case;
[0046] Step 5: Execute the code under test according to the test case, and capture the actual execution path of the current loop body.
[0047]Further, after capturing the actu...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap