Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space CPPTDESKDEV and version 10.3.3

Anchor
config_cross_code
config_cross_code
This topic explains how to configure code review You can create a Test Configuration for triggering code reviews that can be used across multiple Parasoft Test products. For example, this would allow a team working on C, C++, and Managed C++ to  use a single code review Test Configuration with C++test as well as dotTEST. Section includecode analysis and test execution tools. In this section:

Table of Contents
maxLevel1

Overview

Parasoft products support code review for any language—from Java, to .NET languages, to C/C++, to PHP, Cobol, and more. 

Teams who are performing code reviews for multiple languages can set this up in two different ways:

Separate Code Review Process for Each Language

If you want to maintain a separate code review process for each language (separate reporting, reviewer configurations, etc.), use separate Parasoft Test products for each language. In other words, if you want to maintain separate processes for C and Java, code reviews, use Jtest for Java code review and C++test for C code review.

This option is covered in the previous code review topics. 

Centralized Code Review Process for All Language

If you want to establish a centralized product-independent code review process for all language (e.g., with centralized reporting, reviewer configurations, etc.), create a Parasoft Test (product-independent) code review Test Configuration, then configure your Parasoft Test products to use that Test Configuration. 

This option is discussed below. 

Configuration

Enabling Parasoft Test (Product-Independent) Test Configurations

On all team Parasoft Test installations that you want to configure or access the product-independent code review Test Configuration(s):

  1. In the top-level preferences page, enable Show Parasoft Test configurations.

    Image Modified

  2. Restart the product.

Creating a Parasoft Test (Product-Independent) Test Configuration

You can then create and share a cross-product Test Configuration as follows:

  1. On a Parasoft Test installation that is connected to Team Server, go to the Parasoft Test category of Test Configurations.

    Image Modified

  2. Configure the code review Test Configuration (see Configuring a Test Configuration for Pre-Commit Code Reviews or Configuring a Test Configuration for Post-Commit Code Reviews for details).
  3. Upload it to Team Server (seeDeploying Test Configurations Across the Team for details).

Usage

GUI

To use this test configuration from the GUI:

  • Choose it from the Parasoft Test category of Test Configurations.

Command Line

To use this test configuration from the command line:

...