About the Test Navigator

Perform unit testing using the test navigator.

In the test navigator, you create, manage, and run unit tests, and also review their status.

Art/about_test_navigator_2x.pngArt/about_test_navigator_2x.png

The test navigator contains the test list, a filter bar, and test status icons:

  • Test list: Lists the test bundles and test classes in the current project or workspace.

    To view the source file for a particular test select it in the test list.

  • Filter bar: Lets you restrict the content that is displayed, and add new test bundles and classes. The filter bar includes the following items:

    • Add button: Click to add a test target or test class.

    • Scope button: Toggle between showing all tests and only the tests included in the active scheme.

    • Failed Test button: Toggle between showing all tests and only failing tests.

    • Filter field: Enter text to show only the items that match it.

  • Test indicators: The test indicator icons change to reflect the current status of tests.

Related Articles