Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

Table of Contents
maxLevel1

...

System Requirements

  • The following operating systems are no longer supported: Solaris OS, Windows 2000, Windows XP, Windows Vista, Windows Server 2003
  • C++test may require additional 1GB RAM (32bit) or 2GB RAM (64bit) for running the analysis.
  • Parasoft offers a separate product, C/C++test DTP Engine, which allows you to perform static analysis without integrating with an IDE, as well as run unit tests created in open-source unit testing tools, such as Google Test.

Static Analysis

Reporting Code Parsing Problems

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 replaced with the "Code Parsing Problems" option that is by default . This option is set to ignore any parse problems and report Static Analysis static analysis findings for all files in the scope . See 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  for details.

New and Updated Static Analysis Rules

...

Reporting Results On Cancellation

When the analysis was canceled, C++test 109.x have been updated to include new rules and improve the efficacy of results reported by Static Analysis and Flow Analysis. reported partial results that were obtained before cancellation. In C++test 10.x offers complete coverage for the MISRA C:2012 standard, as well as C++11, C++14, C++17 and CERT C. See Release Notes for more details.

Other Changes

...

, static analysis results are reported after the analysis is completed. If the analysis is canceled in the IDE,

...

 no results will be reported.

...

 

Monitoring Static Analysis Progress

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).

...

Test Progress view may not provide details about the current progress of a Static Analysis run. 

Code Review Changes

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 https://docs.parasoft.com/.

...

Analyzing Projects with Shared Files in Eclipse

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.

Metrics

Metrics Analysis on DTP

  • Metrics analysis is configurable in the DTP test configuration interface, not in the IDE.
  • Metrics analysis results can be reviewed on DTP. The Metrics view is no longer available in the IDE and metrics analysis results are not included in local HTML or XML reports generated by C++test. To review metrics analysis results, ensure that the results are reported to DTP. 

Supported Metrics

The list of available metrics has been updated; see Metrics Calculation for details.

Team Infrastructure

Integration with Development Testing Platform

C++test 10.x can be integrated with Parasoft Development Testing Platform (DTP) .  Parasoft DTP is - the next generation of Parasoft Concerto, which was originally released in version 4.9.4. DTP . 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  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.

Reporting Results with the -publish Option

If 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.

System and Infrastructure Changes

  • Solaris OS is no longer supported.
  • We recommend using a 64-bit operating system.
  • C++test may require additional 1GB RAM (32bit) or 2GB RAM (64bit) for running the analysis.
  • Parasoft offers a separate product, C/C++test DTP Engine, which allows you to perform Static Analysis without integrating with an IDE, as well as run unit tests created in open-source unit testing tools, such as Google Test.

Limitations and Deprecated Functions 

...

Task Management with Project Center

The 9.x Project Center is deprecated.

Code Review Changes

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/.

Documentation Changes

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/.