Page tree

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

This topic explains how to create and share custom Test Configurations (and any rule files or rule mapping files that they depend on) across the team.

Sections include:

Table of Contents
maxLevel1

...

If C++test is connected to Development Testing PlatformDTP, you can perform analysis with Test Configurations that are created and stored in your DTP server. Such configurations cannot be modified in your IDE, but they are configurable in DTP.

...

To share a Team Test Configuration team-wide, the architect or manager performs the following procedure on a C++test installation (Architect or Server Edition) that is already connected to Team Server:

...

Team Test Configurations can be directly edited from C++test Architect Edition or Server Edition.

To directly modify a Team Test Configuration from an Architect or Server Edition:

  1. Open the Test Configurations dialog by choosing Parasoft> Test Configurations or by choosing Test Configurations in the drop-down menu on the Test toolbar button.
  2. In the left pane, select Team> [your_team_Test_Configuration].
  3. Modify the settings as needed.
  4. Click either Apply or Close to commit the modified settings.

...

To set the Team Favorite Test Configuration, perform the following steps from a C++test Architect or Server edition:

  1. Choose Parasoft> Explore> Team Server. The Browsing dialog will open.
  2. Open the Configurations tab of the Browsing dialog.
  3. Select the Test Configuration that you want to serve as the Team Favorite Test Configuration.
  4. Click the Set as Team Favorite button.

...

To upload a rulemap.xml file to the Team Server, perform the following steps from C++test licensed for Architect Edition or Server Edition:

  1. Launch C++test from a machine from which you can access the rulemap.xml file that you want to share.
  2. Choose Parasoft> Explore> Team Server. The Browsing dialog will open.
  3. Open the Rules tab of the Browsing dialog.
  4. Click the Upload button. A file chooser will open.
  5. Select the rulemap.xml file that you created, then click Open. The rulemap.xml file that you just uploaded should now be listed in the Browsing dialog’s Rules tab. The rule configurations specified in this file will be available on all C++test installations connected to Team Server.
  6. Click Done, click Apply, and then close the Parasoft Preferences dialog.
  7. Restart the program. You do not have to stop the server first.
  8. Open the Test Configurations dialog by choosing Parasoft> Test Configurations or by choosing Test Configurations in the drop-down menu on the Test Using toolbar button.
  9. Select any Test Configuration and open the Static tab. The new rule settings should be applied.

...

The architect (or other designated team member) performs the following procedure on one C++test Architect or Server Edition that is already connected to Team Server:

...

To remove a rule from Team Server, the architect (or another designated team member) performs the following procedure from C++test Architect Edition or Server Edition:

  1. Choose Parasoft> Explore> Team Server. The Browsing dialog will open.
  2. Open the Rules tab of the Browsing dialog.
  3. Select the rule you want to remove.
  4. Click Delete.
  5. Click Done.

...

If C++test is connected to Development Testing PlatformDTP, you can analyze your code according to Test Configurations that are stored on the DTP server you have specified (see Connecting to Development Testing PlatformDTP). Test Configurations in DTP cannot be modified in the IDE, but they can be configured in DTP. 

...

  1. Open the Test Configurations dialog by choosing Parasoft> Test Configurations or by choosing Test Configurations in the drop-down menu on the Run Tests toolbar button.
  2. Select the DTP category to view Test Configurations that are available in your DTP and click the configuration you want to configure.
  3. Click the Configure in DTP link to open the Test Configuration page in your DTP interface.
    Image RemovedImage Added

See the Test Configurations section in the Parasoft DTP Documentation for details.