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 maxLevel 1
...
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:
- 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.
- In the left pane, select Team> [your_team_Test_Configuration].
- Modify the settings as needed.
- 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:
- Choose Parasoft> Explore> Team Server. The Browsing dialog will open.
- Open the Configurations tab of the Browsing dialog.
- Select the Test Configuration that you want to serve as the Team Favorite Test Configuration.
- 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:
- Launch C++test from a machine from which you can access the
rulemap.xml
file that you want to share. - Choose Parasoft> Explore> Team Server. The Browsing dialog will open.
- Open the Rules tab of the Browsing dialog.
- Click the Upload button. A file chooser will open.
- Select the
rulemap.xml
file that you created, then click Open. Therulemap.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. - Click Done, click Apply, and then close the Parasoft Preferences dialog.
- Restart the program. You do not have to stop the server first.
- 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.
- 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:
- Choose Parasoft> Explore> Team Server. The Browsing dialog will open.
- Open the Rules tab of the Browsing dialog.
- Select the rule you want to remove.
- Click Delete.
- 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.
...
- 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.
- Select the DTP category to view Test Configurations that are available in your DTP and click the configuration you want to configure.
- Click the Configure in DTP link to open the Test Configuration page in your DTP interface.
See the Test Configurations section in the Parasoft DTP Documentation for details.