Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space CPPTDESKDEV and version 10.4.2

...

  1. 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



  2. 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



  3. When the test finishes, generate a test report, e.g.:
    cd /tmp/cpptest/reports
    elinks ./report.html

...

  1. 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



  2. List available test configurations
    cd /tmp/cpptest
    ./parasoft/cpptest/9.4/cpptestcli -data ./workspace -list-configs -localsettings ./settings



  3. 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



  4. When the test finishes, generate a test report, e.g.:
    cd /tmp/cpptest/reports2
    elinks ./report.html

...