Versions Compared

Key

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

...

Using -data to Specify Your Eclipse Workspace

If you are not in the same directory as the Eclipse workspace that you want to test, you need to use cpptestcli with the -data option. For Use cpptestcli with the -data option to specify your workspace. For example, this Windows command tests the C/C++test Example project by applying the "My Configuration" Test Configuration, generates a report of results, and saves that report in the c:\reports\Report1 directory:

cpptestcli -data "c:\Documents and Settings\cynthia\ApplicationData\Parasoft\C++test\workspace" -resource "C++test Example" -config user://"My Configuration" -report c:\reports\Report1For example, this Windows command tests the C++test Example project by applying the My Configuration Test Configuration, generates a report of results, and saves that report in the c:\reports\Report1 directory:
cpptestcli -resource "C++test Example" -config user://"My Configuration" -report c:\reports\Report1

...