Test Navigator reference
The Test Navigator is the main navigation view for browsing and editing test suites and viewing test results.
The Test Navigator view is displayed by default in the Test perspective. It shows an execution-oriented view of test projects. The code-oriented elements of test projects are shown in the Package Explorer view.
For each element in the test project hierarchy, a set of contextual commands is available. Right-click an element to open a pop-up menu with the available commands.
- Test project contents
- The Test Navigator view displays the following icons for test project elements:
- Test project
- Contains test suites, test cases, stubs, and runs related to a component under test. The component under test itself is contained in a separate project, as the scope of the test project.
- Test Suite folder
- Contains test suites that make up the test project.
- Test suites
- Contain test cases.The test suite itself can be edited in the Test Suite editor.
- Test cases
- Express the behavior of the test.
- Run folder
- Contains test execution results.The general contents of the Run folder are the same as the test suite folder. Test elements are identified by their execution time and an overlay graphic indicating the test verdict.
- Passed
- Passed tests.
- Failed
- Failed tests.
- Inconclusive
- Inconclusive tests.These can be tests that were not completed or for which there were no validation actions.
- Error
- Tests for which an error was generated.An error can be produced by the component under test or intentionally introduced by the test behavior.
- Toolbar
- The Test Navigator toolbar provides shortcuts to some actions.
Back
- Navigates to the most recently displayed state of the view with a different element at the top level.
Forward
- Navigates to the state of the view with a different element at the top level that was displayed immediately after the current state.
Up
- Navigates to the parent container of the element that is currently displayed at the top level in the view.
Collapse All
- Collapses all tree nodes.
Link with Editor
- Links the selected item to the active editor.
Show only Failed Results
- Hides passed or inconclusive test elements in the Run folder. Failed and error verdicts are displayed.
Related concepts
Test run results
Related tasks
Browsing test results using the Test Navigator
Viewing component test results
Generating a component test report