This topic explains how to install C/C++test Professional.
C/C++test is available as an Eclipse-based standalone version, as well as a plugin for Eclipse, which can be installed in any of the supported IDEs using the standard Eclipse plugin installation mechanism.
To install C/C++test:
INSTALL_DIR>
.<INSTALL_DIR>
and <INSTALL_DIR>/bin
to $PATH
to enable convenient access to the cpptest and cpptestcli executables, and the utility tools shipped with C/C++test.To launch the C/C++test GUI, run <INSTALL_DIR>/cpptest
.
To use C/C++test in the command line mode, run <INSTALL_DIR>/cpptestcli
.
To uninstall C/C++test, close the C/C++test GUI and remove <INSTALL_DIR>
from disk.
If you migrate from version 2020.2 or older and the C/C++test plugin is already installed in your IDE, it must be uninstalled before you install a new version of C/C++test. See Migration Guide for details. |
To install C/C++test:
INSTALL_DIR>
.<INSTALL_DIR>
and <INSTALL_DIR>/bin
to $PATH
to enable convenient access to the cpptestcli executable and the utility tools shipped with C/C++test.INSTALL_DIR>/integration/eclipse/parasoft_cpptest_professional-eclipse-<version>-p2-<os_arch>.zip
.To launch the C/C++test GUI, open the IDE where the Parasoft C/C++test plugin is installed.
To use C/C++test in the command line mode, run <INSTALL_DIR>/cpptestcli
.
To uninstall C/C++test:
INSTALL_DIR>
from disk.When you install C/C++test as a plugin, the C/C++test installation directory <INSTALL_DIR>
must be specified in your IDE. In typical scenarios, the location of <INSTALL_DIR>
is automatically configured on the first startup of Eclipse after the plugin is installed.
To manually configure the C/C++test installation location:
<INSTALL_DIR>
in the Installation directory field.You can click Autodetect to automatically detect and configure the location of <INSTALL_DIR>
. This may be useful when you're upgrading to a new version of C/C++test and you extracted the installation package to a new location, which requires updating the path to <INSTALL_DIR>
in your IDE.
When you install C/C++test as a plugin, the location of Eclipse to be used with cppptestcli must be configured to enable using C/C++test in the command line mode. In typical scenarios, the Eclipse location is is automatically configured on the first startup of Eclipse after the plugin is installed.
You can manually specify the Eclipse location in one of the following ways:
Create (or modify if already exists) a .pathtoeclipse file that includes the absolute path to Eclipse and save it in the C/C++test installation directory <INSTALL_DIR>
.
D:\eclipses\eclipse_2020-06 |
cpptestcli
by adding the -path-to-eclipse=</absolute/path/to/eclipse>
option to your command line.You can install C/C++test silently - in a non-interactive mode using the command line or a script. For example, this allows you to to adjust the installation process to your organization's infrastructure and policies or to remotely install C/C++test on multiple machines in the headless mode.
To install C/C++test silently:
Run the Eclipse executable from the command line with the -application org.eclipse.equinox.p2.director
argument to run the p2 director application. The application is a command line tool provided by Eclipse for installing and uninstalling additional software from Eclipse-based products. Your full command line may resemble the following:
On Windows:
eclipsec.exe -consolelog -nosplash -application org.eclipse.equinox.p2.director -repository "jar:file:/D:/tools/cpptest/integration/eclipse/parasoft_cpptest_professional-eclipse-2020.2.0.20201019B1123-p2-win32.x86_64.zip!/" -installIU com.parasoft.xtest.cpptest.all.feature.group -profileProperties org.eclipse.update.install.features=true |
On Linux:
./eclipse -consolelog -nosplash -application org.eclipse.equinox.p2.director -repository 'jar:file:/home/user/tools/cpptest/integration/eclipse/parasoft_cpptest_professional-eclipse-2020.2.0.20201019B1123-p2-linux.x86_64.zip!/' -installIU com.parasoft.xtest.cpptest.all.feature.group -profileProperties org.eclipse.update.install.features=true |
Refer to the Eclipse documentation for details about the p2 director application.
You can use the helper scripts shipped with C/C++test in [INSTALL_DIR]/integration/eclipse/tools
to help you get started with silent installation.
If you want to pre-configure C/C++test after installation, see Preconfiguring C/C++test During Installation.
To install C/C++test for running multiple instances of Eclipse with C/C++test in parallel; see Multi-user Installations.
The installation process described on this page relies on the new generation of Parasoft installers. Should you install C/C++test with legacy installers, please refer to installation section in the Parasoft C/C++test Professional User Guide 2020.2.