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.

  1. In [Test Navigator], drag and drop the function that you want to insert a fault into [Insert Code view].

  1. In the tree structure left to the view, click the checkbox for the node that you want to insert a fault and enter the user code in the right edit window.
  2. Click [Run Unit Test] button to run the test that the fault inserted is applied.

Context menu in the Fault Injection view

Menu name Description
Cut Cuts the code inserted by user.
Copy Copies the code inserted by user.
Paste Pastes the code inserted by user.
Delete Deletes the code inserted by user.
Select Selects the checkbox for the selected node.
Deselect Deselects the checkbox for the selected node.

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.