Software test case automatic generating method and system
A technology of automatic generation and software testing, applied in the direction of software testing/debugging, program control devices, etc., can solve the problems of low testing efficiency, time-consuming and high cost, and achieve the effect of improving efficiency, automation and accuracy.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0156] Example 1: Calendar conversion program calconv(source, year, month, date, days). The program is written in C++ and includes three modules, namely the main program, the leap year judgment program GetLeap and the conversion calculation program calconv.
example 2
[0157]Example 2: Draw a sector program: draw a sector from the center, radius, and the angle between the start and end points. The function form is Scir2(row, col, a, b, t1, t2, color, xor).
[0158] Table 1 is the program description, as shown in Table 1.
[0159]
program name
Rows
target
number of blocks
target
variable
number
number
path
number
branch contradiction
Computational paradox
number of paths contradiction
path
Proportion calconv 165 71 5 54 32408 31124 96% Scir2 129 55 6 51 110598 91392 83%
[0160] Table 1
[0161] 1) (Branch coverage test is to cover each branch of the program, and path coverage is to cover each valid path (reachable path) of the program) Branch coverage test (E here is a branch): randomly generate test cases, check The effect of different search regions on test efficiency. Table 2 shows the branch coverage t...
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