The following views are available:
Table of Contents | ||
---|---|---|
|
C/C++ Projects view
The C/C++ Projects view is typically on the left hand side of the workbench (GUI). It lists the available projects and elements related to those projects. You will use the C/C++ Projects view to indicate which resource or set of resources you want C/C++test to operate on.
In this guide, the C/C++ Projects view is also referred to as "the project tree."
This view is shown by default.
Coverage view
The Coverage view reports the amount of coverage obtained for the selected resource during the most recent test case execution.
This view is open by default. If this view is not available, choose Parasoft> Show View> Coverage to open it.
For details on reviewing coverage, see Reviewing Coverage Information.
Coverage Advisor view
The Coverage Advisor view displays pre-conditions required to cover uncovered code lines. To display this view, choose Parasoft> Show View> Coverage Advisor.
See Working with Coverage Advisor for details.
Stubs view
The Stubs view provides details on the stub configuration based on the most recent run of a unit testing Test Configuration. It allows you to modify the configuration by adding user-defined stubs or automatically generating stubs for missing symbols.
To display this view, choose Parasoft> Show View> Stubs.
For details on this view, see Adding and Modifying Stubs.
Test Progress view
This is view is where C/C++test reports test progress and status.
When a test runs, the view label changes from "Test Progress" to "[Test Configuration name]".
The Review tasks button displays the results in the Quality Tasks view.
A results summary for each analysis category is available in expandable sections.
Toolbar Buttons
The toolbar buttons allow you to:
- Generate reports (see Generating Reports)
- Show/hide details (including information on any setup problems related to building, compilation, etc.).
Terms Used
The following Scope metrics are reported for all types of tests and analysis:
- Total Files: The number of files from the original selection that the Test Configuration has recognized as being suitable for the selected type of test or analysis.
- Source Files to Check: The number of files that meet the criteria in the Scope file filters. This is a subset of the total files. For example, if the Scope filter is set with Test only files modified locally enabled, then this metric would report the number of locally-modified files.
- Total Source Lines: The number of all lines of source code in the 'Source Files to Check'. If a file has been rejected by the Scope file filter, then its lines are not counted.
- Source Lines to Check: The number of lines that have been accepted by Scope line filters. This is a subset of the total source lines. For example, if the Scope filter is set with Test only lines modified locally enabled, then this metric will report the number of locally-modified lines.
Quality Tasks view
The Quality Tasks view is where C/C++test lists quality tasks. You can determine which type of task is displayed by clicking the appropriate button in the view’s toolbar or by choosing it from the view’s drop-down menu, as shown below.
To learn about the general strategies for reviewing the results reported in this view, see Reviewing Results. For details about exploring product-specific results (e.g., special right-click menu commands, more details about what details are presented for various results categories, etc.), see the related product’s user’s guide.
Test Case Explorer view
The Test Case Explorer helps you manage a project’s test cases, test suites, and related data sources. It provides detailed test statistics and allows you to search/filter the test case tree.
To display this view, choose Parasoft> Show View> Test Case Explorer.
For details on this view, see About the Test Case Explorer.
Editor view
The Editor view is the largest panel in the workbench. This is where C/C++test displays the source files and test files which you open for editing. In some cases, it also provides editors for configuring tools, test cases, objects, etc.
To create an editor for a file or other test artifact, double-click the related node in the project tree.
If you right-click within a file open in the Editor view, relevant commands will be available in a Parasoft shortcut menu. For Eclipse, Parasoft-specific commands are added to the Show In shortcut menu (for example, Show In> Quality Tasks).
Console view
The Console view is where C/C++test lists the output of the entire test process. It displays details such as the process command lines, output, test case details, and logs. Test execution details are reported to the Console tab during test execution, and remain there until they are cleared or until another test is run.
To display this view, choose Window Show View> General> Console.
Requirements view
The Requirements view displays requirements and test definitions imported from a requirements management system. For details on importing, see Indicating Requirement and Test Correlations.
Suppressions view (deprecated)
The Suppressions view displays suppressed static analysis tasks that were defined in the GUI in the deprecated XML format. To migrate suppressions available in the Suppressions view to the new in-file format, choose the Migrate suppressions... option form the view's menu. This option is only supported for suppressions stored locally. To migrate suppressions stored on Team Server, contact Parasoft Support.
See Suppressing the Reporting of Acceptable Violations for details about migrating deprecated suppressions and creating suppressions in the new in-file format.
To display this view, choose Parasoft> Show View> Suppressions.