This section explains how to use Test Case Explorer for creating and reviewing test cases and test suits.
Test Case Explorer helps you manage a project’s test suites, test cases, and related data sources. In particular, it can be used for:
Test Case Explorer is opened by default. Also, it can be manually opened by choosing Parasoft> Show View> Test Case Explorer from the IDE menu.
By default, the Test Case Explorer presents results in a compact view, where information is organized as a tree with the following structure:
You can configure Test Case Explorer to display additional information in a table by disabling the Compact view option in the drop-down menu of Test Case Explorer and specifying the columns you want to display in Statistics> Columns> [column name].
The content in Test Case Explorer is automatically updated when actions are performed from within Test Case Explorer, such as adding or deleting test cases, tests suites, or data sources, disabling or enabling test cases or test suites. Test Case Explorer is not updated when external actions are performed, for example, when you modify the source file. You can manually update the content displayed in Test Case Explorer to reflect the most recent changes (including external actions) by using the Refresh option:
You can filter Test Case Explorer to hide projects with no tests, passed tests, executed tests, or tests from the most recent test session by clicking the Filter button in Test Case Explorer toolbar, then specifying filter criteria.
To search the Test Case Explorer, click the Find button in the Test Case Explorer toolbar.
In the Find field that opens, provide the name of the test case you want to find.
You can use the toolbar buttons next search filed to move to the previous/next match. In addition, the toolbar buttons allow you to enable the following options:
To expand or collapse Test Case Explorer branches:
To collapse all subnodes, click the Collapse All toolbar button.
The following buttons are available on Test Case Explorer's toolbar:
You can choose the following options from the Test Case Explorer's drop-down menu:
Test Case Explorer initially presents top-level project nodes with their execution statistics (if available). This initial state is represented by a grayed out project icon.
To activate a project and access the test cases it includes, right-click the project’s node in Test Case Explorer and choose Refresh from the shortcut menu. All test cases found in the selected project will be displayed.
Note: The Refresh option available in the Test Case Explorer toolbar refreshes all projects that are already activated.