Method for generating coverage test case of given condition in multi-value coupling logic
A test case generation and coverage technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve problems such as the generation method of coverage test cases that have not yet been seen
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0114] Example 1, the basic condition C=(s==1), and there is s0∈[0,10], the resolution is 1. Set the value of C to False, then s * ! =1. Take the intersection with s0, then there is s1∈{[0,1),(1,10]}.
example 2
[0115] Example 2, the basic condition C=(s>80), and there is s0∈[0,60], the resolution is 0.01. Set the value of C to True, then s * >80. If it intersects with s0, then s1 is an empty set, and the assignment fails.
[0116] 2. The assignment scheme of the signal associated with the given condition.
[0117] Through the above-mentioned independent condition assignment process, for a given condition that is leaf node l (let l=r(s j ), 1≤j≤p, that is, the leaf node l is the signal s j The relational operation of , that is, s j For a given signal), the given condition can be obtained as an assignment set S' of an independent condition. S' gives the value range of p signals in the logical expression L, and the value range can be guaranteed by s j The value of the determined condition l can independently determine the result of the logical expression L.
[0118] Signal s can be obtained by S' j The value range after assignment is R.
[0119] Let the expected output value of ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


