This topic explains how to preconfigure C/C++test during installation.

Preconfiguring C/C++test Settings

Preconfiguring C/C++test allows you ensure consistency of basic configuration settings across multiple machines before C/C++test is launched. See C/C++test Configuration Overview for details about sharing C/C++test preferences after installation.

To preconfigure C/C++test during installation:

  1. Create a settings file that includes the options you want to use for C/C++test preconfiguration. See Configuring Settings for details on how to create a settings file and the list of available settings.
  2. Pass the path to the settings file with the /configure parameter when running the C/C++test installer:

    /configure=<path-to-settings-file>

    The settings file renamed as parasofttest.ini will be copied to the root directory of Parasoft Test (a component of C/C++test).1  2

The settings specified in the file are used to initialize a clean workspace when you launch the C/C++test GUI. To apply the settings to an existing workspace, add the following setting to your file:

enforce.configure=true

As a result, the settings specified in parasofttest.ini override existing settings during the first startup after C/C++test installation or reinstallation.

1 C/C++test x86_64 (64-bit) for Visual Studio 2022 or newer: Parasoft Test root directory is the ptest directory inside the C/C++test installation directory, for example: C:\Program Files\Parasoft\C++test for Visual Studio (x86_64)\<version>\ptest.

2 C/C++test x86 (32-bit) for Visual Studio 2019 or older: If the same or newer version of Parasoft Test is already installed on the machine, the settings file will not be copied during installation or reinstallation.

Example

The following settings file configures the network license:

parasofttest.ini
cpptest.license.use_network=true
dtp.enabled=true
dtp.url=https://onya.mycompany.com:8443
dtp.user=user1
dtp.password=mypassword

See Licensing for details about setting a Parasoft license.

  • No labels