XJRunner Tests

The XJRunner Tests pane allows the XJRunner test list to be created and configured. Tests in the lists can be grouped into Test Groups and can be enabled, disabled, or set to run when a particular condition is met.

XJRunner Tests

Editing the test list

The following buttons are beneath the test list:

  • The Suggest Tests... button opens the Suggested Tests dialog that suggests new tests to add to the test list based on the test devices in the project.
  • The Add Group... button opens the New Test Group dialog to allow a new test group to be added to the test list.
  • The Add Condition... button opens the Add Condition dialog to create a new condition that contains the selected item. Additional test groups or functions can be added to the condition once it is created.
  • The Edit... button opens (as appropriate) the Edit Test Group dialog, the Edit Test Function dialog, or the Edit Condition dialog to allow the currently selected item to be modified. If multiple test groups are selected this button allows you to configure the profile for all selected groups simultaneously.
  • The Remove button removes a test function from a group when a function is selected, and removes a group entirely if a group is selected.
  • The and buttons allow the test list to be re-ordered, either moving functions within a group, or changing the order of groups in the list.
  • The All button sets all tests to be run by default.
  • The None button sets all tests to not run by default.
  • The XJPack Project... button exports your project to an XJPack File that can be used in production in XJRunner. If there are any outstanding changes to your project, you will be prompted to save the project first.
  • The Continue on test failure checkbox controls what happens when a test fails. See below for more information.

Test groups and functions may also be re-ordered by dragging and dropping. Test functions can also be dragged from one group to another.

Continue on test failure

If the checkbox is left unchecked, then any test failure will cause testing to stop immediately. If checked, then tests will continue to be run if tests fail. However, there are still some events that will cause testing to stop immediately even if this checkbox is checked:

  • The user presses the Stop button
  • A broken JTAG chain is detected
  • EXIT is called inside a test function

Selecting Default Tests

Next to each item in the test list is an icon indicating if it is selected to run by default. Clicking on the icon changes its state from selected to unselected and back again. A selected group has a folder icon  and an unselected one has a greyed out folder with a cross in it . A selected function has a tick icon  and an unselected one has a cross .