...
- Prepare sample project for testing, e.g.:
cd /tmp/cpptest/parasoft/cpptest/9.4/Examplesexamples/ATM
make CC=”../../cpptestscan g++”
cd /tmp/cpptest/parasoft/cpptest/9.4
./cpptestcli -data /tmp/cpptest/workspace -bdf ./Examplesexamples/ATM/
cpptestscan.bdf -localsettings /tmp/cpptest/settings
- Execute Coding Standards run of C++test CLI, e.g.:
cd /tmp/cpptest/parasoft/cpptest/9.4
./cpptestcli -data /tmp/cpptest/workspace -config "builtin://Effective C++" -report /tmp/cpptest/reports -localsettings
/tmp/cpptest/settings
- When the test finishes, generate a test report, e.g.:
cd /tmp/cpptest/reports
elinks ./report.html
...
- Configure team server connection via local settings file. You can alternatively change license settings to use local license. E.g.:
cd /tmp/cpptest
vim ./settings
- List available test configurations
cd /tmp/cpptest
./parasoft/cpptest/9.4/cpptestcli -data ./workspace -list-configs -localsettings ./settings
- Choose and run an available team test, e.g.:
cd /tmp/cpptest
./parasoft/cpptest/9.4/cpptestcli -data ./workspace -config “team://Coding Standards Nightly” -localsettings ./settings -report./reports2
- When the test finishes, generate a test report, e.g.:
cd /tmp/cpptest/reports2
elinks ./report.html
...