In DTP 2023.1, Team Server has been removed. If your C/C++test team configurations, rules and rule mappings are still stored in DTP Team Server and you want to keep them available to your team, follow the procedure below.

  1. Select one of the following, depending on your DTP version:
    • If your DTP version is 2023.1 or later:
      1. Go to the server where DTP is installed, and navigate to the DTP_DATA_DIR/tcm/storage/root/usr/TEAM_SERVER_USER/c++test directory.
      2. Locate the folders containing: 
        • your custom test configurations
        • your custom rules and the rulemap.xml file with rule mappings 
      3. Copy the test configurations and rules files from the Team Server folders to the corresponding folders in your source control repository. Commit the folders to the source control repository.
    • If your DTP version is 2022.2 or earlier, you can use the same procedure as for the 2023.1 version or use the available Team Server web page:
      1. Navigate to the Team Server page, then go to data storage and drill down to the c++test node.

      2. Download your custom test configurations, custom rules and the rulemap.xml file.
      3. Copy the downloaded files to the corresponding folders in your source control repository. Commit the folders to the source control repository.
  2. On the machine where C/C++test is installed, check out these folders from the source control repository and specify their new locations in C/C++test settings for Custom directories:

    Parasoft variables are resolved in paths defining custom configurations and rules.

    • From the GUI: Go to Parasoft > Preferences... > Configuration and configure the locations to User configurations and User rules.

    • From the command line: Configure the following properties:

      cpptest.custom.configs.dir=C\:\\workspace\\c++test\\configs 
      cpptest.custom.rules.dir=C:\\workspace\\c++test\\rules

      You can also use environment variables:

      cpptest.custom.configs.dir=${project_loc:ATM}/configs
      cpptest.custom.rules.dir=${project_loc:ATM}/rules
  • No labels