This topic explains how to install the C++test plugin into a working copy of Eclipse or Application Developer on Windows.

The section includes:

Prerequisites

System Requirements

    1. Windows 7, Windows 8, Windows 10 (with an x86-compatible processor).
    2. Windows 7 x64,  Windows 8 x64, Windows 10 x64, Windows Server 2008 x64 (with an x86_64-compatible processor), Windows Server 2012, Windows Server 2016
  • Installation and initial run must be performed by a user with Administrator privileges.
  • When running C++test, you must have write access to the directory containing the testing workspace and project. Specifically, if you are using a non-Administrator account, you will need to copy C++test example projects from the 'Program Files' location into the user directory and run the tests on the copied projects.
  • The C++test CLI executable (cpptestcli.exe) should be executed from a directory with write access (because the working directory is the default location in which C++test generates the report after tests).
  • If your machine-id is WIN32-0, remove the file located in <DRIVE>:\Users\<USER_NAME>\.parasoft\C++test\9.x\license.

IDE Requirements

See IDE Support for details about supported versions.

  • 32-bit IDEs require 32-bit  C++test.
  • 64-bit IDEs require 64-bit  C++test.

Other Requirements

For details on performing a silent installation see Preconfiguration C++test During Installation.

For details on running multiple instances of Eclipse with C/C++test in parallel see Multi-user Installations.

Installation

To install the C++test plugin for Eclipse on Windows:

  1. In Windows Explorer, locate and double-click the self extracting archive.
  2. Choose the setup language.
  3. Click Yes when a dialog asks whether you want to install C++test.
  4. Click Yes after you have read and agreed with the license information.
  5. Choose the appropriate Eclipse/CDT target platform type, then click Next.
  6. Enter your Eclipse installation directory, then click OK.
  7. Enter the desired destination directory for the C++test Extension files, then click Next.
  8. Enter the desired destination directory for the C++test Extension files, then click Next.
  9. Close Eclipse if it is open, then click OK to close the dialog reminding you to close this program. C++test will then start copying files and installing the necessary files into the workbench. A dialog box with a progress indicator will open and indicate installation progress. When the installation is complete, a notification dialog box will open.
  10. Click the OK button to close the notification dialog box.

Startup

For C++test to autodetect compiler and makefile settings, the necessary executables (compiler/linker, makefile, etc.) must be correctly configured. "Correctly configured" means different things for different compilers, but it typically involves ensuring that the executable is on the PATH.

In most cases, C++test needs to invoke the compiler and linker in order to perform static analysis and runtime testing tasks, which commonly involve preprocessing, compiling, and linking programs.

To access C++test’s full functionality, the machine where C++test is run must have the complete development environment and compiler tool chain.

To launch the plugin:

Eclipse will automatically find the C++test plugin.

After Eclipse is launched, you should see a Parasoft menu added to the Eclipse menu bar. If you do not see this menu, choose Window> Open Perspective> Other, select C++test, then click OK.

If you suspect that C++test is not properly installed, see Troubleshooting and FAQs for help resolving some common installation problems.

Licensing

The license is configured through the centralized licensing framework (Parasoft> Preferences> Parasoft> Licenses). For details, see Licensing.