The [Fault Injection] view provides the feature for inserting the code needed to test additionally into the specific area of the function to be tested.
- Drag and drop the function that you want to inject a fault from [Test Navigator view] or [Unit Test view] to [Fault Injection view].
- In the tree structure on the left of the view, click the node that you want to inject a fault and, on the right of the view, enter the user code to insert before/after the block.
Toolbar menu in the Fault Injection view
Toolbar icon | description |
---|---|
|
Expand all function trees in Fault Injection view. |
|
Collapse all function trees in Fault Injection view. |
Context menu in the Fault Injection view
Context menu of function nodes
Menu | Description |
---|---|
|
Delete the function inserted by users. |
Context menu of block nodes
Need more help with this?
Don’t hesitate to contact us here.