C++test 10.x provides backward compatibility with C++test 9.x and the upgrade does not require any migration steps. However, C++test 10.x introduces a number of enhancements and changes that may require attention. This topic explains important changes between versions 9.x and 10.x.
In this section:
The default settings for analyzing files with parse errors has changed. In 9.x, the "Analyze files with parse errors" option was disabled by default and no results were reported for files with parse errors. This option has been replaced with the "Code Parsing Problems" option. This option is set to ignore any parse problems and report static analysis findings for all files in the scope by default.
To retain the default behavior from C++test 9.x, set the "Code Parsing Problems" option to "Error" for a selected test configuration. See Static Tab Settings - Defining How Static Analysis is Performed for details.
When the analysis was canceled, C++test 9.x reported partial results that were obtained before cancellation. In C++test 10.x, static analysis results are reported after the analysis is completed. If the analysis is canceled in the IDE, no results will be reported.
The Test Progress view does not provide details about the current progress of a static analysis run. To monitor the details about a static analysis run, set the console verbosity to Normal or High and monitor the Console Output view for the current progress (in the GUI) or add the -appconsole stdout
option to the cpptestcli parameters (in the command line).
Eclipse projects that share the same file(s) (for example, if your projects include the same linked resources) should be analyzed in separate runs to ensure that results are reported for both projects.
The list of available metrics has been updated; see Metrics Calculation for details.
C++test 10.x can be integrated with Parasoft Development Testing Platform (DTP) - the next generation of Parasoft Concerto. DTP can aggregate and analyze local analysis results, well as granular line coverage (per test case) to help you focus on quality tasks that have the most impact. See Connecting to Development Testing Platform for information how to connect to DTP.
Connecting C++test to DTP enables you to analyze code using Test Configurations stored on the DTP server; see DTP Test Configurations for details.
Team Server is still supported, but we recommend the DTP workflow across the team.
-publish
OptionIf you use the command line mode, you can enable sending results to DTP with the -publish
option, which in C++test 9.x was used to report results to Team Server. In C++test 10.x, publishing results to Team Server can be enabled with the -publishteamserver
option.
The 9.x Project Center is deprecated.
The 9.x Code Review functionality is deprecated. With C++test 10.x, you can review changes in the code base independently of the source control system directly in DTP. The Change Explorer view provides a better insight into the evolution of your code by using additional data aggregated by DTP. See the Change Explorer section of the DTP documentation at https://docs.parasoft.com/.
C++test documentation is now published online and is no longer integrated into the IDE. Choose Parasoft> Help> C++ from the main menu or select the appropriate documentation at https://docs.parasoft.com/.