Versions Compared

Key

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

...

  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 your .test folder on Team Server.

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

      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 server where dotTESTmachine where dotTEST is installed, check out these folders from the source control repository and specify their new locations in dotTEST settings for Custom directories:

    Info

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

    • From the GUI: Go to Parasoft > Preferences > Configurations and Options... > Configuration and configure the locations to User configurations and User rule map.

    • From the command line: Configure the following properties:

      Code Block
      dottest
      configuration.
      custom
      dir.
      configs.dir
      user=C\:\\team_settings\
      workspace
      \dottest\\configs
      dottest.custom.rules.dir=C:\workspace
      \\user
      rule.dir.user=C\:\\team_settings\\dottest\\rules\\user

      You can also use environment variables:

      Code Block
      dottest
      configuration.
      custom
      dir.
      configs.dir
      user=${
      project
      env_
      loc
      var:
      ATM
      HOME}/configs
      
      dottest
      rule.
      custom
      dir.
      rules.dir
      user=${
      project
      env_
      loc
      var:
      ATM
      HOME}/rules