A Method of Event Sequence Fault Localization Supporting Constraints
An event sequence and fault location technology, applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve the problem of not considering event sequence constraints to limit the impact of fault location, and achieve good fault location and overcome limitations.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach 1
[0019] Specific implementation mode one: combine figure 1 This embodiment will be described. A constrained event sequence fault location method described in this embodiment, the specific steps of the method are:
[0020] Step 1. For a system under test with n events, initialize the set M1 formed by the correct event sequence test cases of the system under test to be an empty set, and initialize M2 formed by the wrong event sequence test cases of the system under test to be an empty set;
[0021] Define set N1 and set N2 as all t-dimensional adjacent event interactions covered by set M1 and set M2 respectively, define N=N2-N1, initialize the set N of the system to be tested as an empty set, and initialize all the minimal The set Γ composed of error event interactions is an empty set; set the maximum number of iterations to m;
[0022] Execute all event sequence test cases for testing the system under test, and generate a non-deterministic event interaction set N of the system...
specific Embodiment approach 2
[0032] Specific implementation mode two: this implementation mode further limits the constrained event sequence fault location method described in the first implementation mode, and the set Γ composed of all minimal error event interactions of the system under test is: if There is an event interaction S 0 , so that for any event sequence test case T in the system under test, it is necessary to satisfy That is, to satisfy the sequence of events test case T covers S 0 , must satisfy T to trigger the failure of the system under test, then it is called S 0 Interact for an error event of the system under test; if for the error event interaction S 0 , and any event interaction covered by it is not an error interaction, then it is called S 0 is a minimal error event interaction of the system under test; the set composed of all the minimal error event interactions of the system under test is denoted as set Γ.
specific Embodiment approach 3
[0033] Specific implementation mode three: this implementation mode further limits the constrained event sequence fault location method described in implementation mode two, and the specific process of generating a non-deterministic event interaction set N in step one of this implementation mode for:
[0034] For any event sequence test case of the system under test, if the event sequence test case passes the test, then the event sequence test case is a correct event sequence test case, and it is added to the set M1, and at the same time, the event sequence test case covers All event interactions are added to the set N1, if the event sequence test case fails the test, the event sequence test case is an error event sequence test case, and it is added to the set M2, and the event interaction covered by it is added to the set N2; then, The non-deterministic event interaction set composed of non-deterministic event interactions corresponding to all event sequence test cases of the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


