You can preconfigure the Parasoft Test component during installation. Parasoft Test is a framework shipped with Parasoft products that enables many common functionalities, such as code analysis and test execution.
- Create a settings localsettings file that includes the options you want to preconfigure the installation with. See Settings Localsettings for details on available options.
Pass that settings localsettings file to the installer using the
/configure
or--configure
parameter.
For example:Windows:
/configure=<path-to-settingslocalsettings-file
>
Unix:
--configure <path-to-settingslocalsettings-file>
The settings localsettings file will be copied into the root directory of Parasoft Test as parasofttest.ini
. Settings from that file are used to initialize a clean workspace during startup.
Tip | ||
---|---|---|
| ||
You can also configure licensing upon command line startup using -settingslocalsettings. For details, see Licensing. |
If you want to apply settings to an existing workspace, you need to add an additional property to the settings localsettings file: enforce.configure=true
. This overrides existing settings during the first startup after the installation/reinstallation.
...
Option | Description |
---|---|
/SILENT /VERYSILENT | Run installer in silent mode. The wizard and the background window are not displayed. |
/DIR=<location> | Destination location for installed product's files. |
/Configure=<settings <localsettings file> | Pre-configure product during installation step. |
...
Option | Description |
---|---|
--non-interactive | Run the installer in non-interactive mode. |
--install-dir <location> | Destination location for installed product's files. |
--configure <settings <localsettings file> | Pre-configure product during installation step. |
--help | Prints the available command line options. |
...
Code Block | ||||
---|---|---|---|---|
| ||||
parasoft_soavirt_<version_arch>.exe /SILENT /DIR=<soavirt dir> /configure=<settings<localsettings file> |
Code Block | ||||
---|---|---|---|---|
| ||||
parasoft_soavirt_<version>_linux.sh --non-interactive --install-dir <soavirt dir> --configure=<settings<localsettings file> |
Sample
...
localsettings File
Here is a sample settings localsettings file that configures Team Server (deprecated) and License.
Code Block |
---|
soatest.license.use_network=true soatest.license.network.host=main1.parasoft.com.pl soatest.license.network.port=2222 soatest.license.network.edition=server_edition virtualize.license.use_network=true virtualize.license.network.host=main1.parasoft.com.pl virtualize.license.network.port=2222 virtualize.license.network.edition=server_edition tcm.server.accountLogin=true tcm.server.enabled=true tcm.server.name=main1.parasoft.com.pl tcm.server.password=test tcm.server.port=18888 tcm.server.username=test enforce.configure=true |