Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Working with Wind River Workbench in command line

fatmanur61
fatmanur61 Posts: 82

Hi,

We use. Parasoft with jenkins therefore we work in command line. For working with Wind River Workbench project how should we proceed?

Tagged:

Comments

  • MichaelC
    MichaelC Posts: 28 admin

    Hi @fatmanur61,

    Are you planning to use static analysis or dynamic analysis (Unit Testing, Application monitoring, etc...)? There is an example Speed sensor project that you can for testing purpose. It can be found within ${CPPTEST_HOME}/examples/Embedded/WindRiver/Workbench {VERSION}.X/SpeedSensor. This directory contains some simple example Unit Tests and Stubs for your convenience. Attached is a README that contains information on some of the C++test test configuration that can be used on the project.

    WindRiver 4.X Documentation:
    https://docs.parasoft.com/display/CPPDESKE1042/Wind+River+Workbench+4.x+Plugin

    WindRiver 3.X Documentation:
    https://docs.parasoft.com/display/CPPDESKE1042/Wind+River+Workbench+3.x+Plugin

    Example cpptestcli command line:

    Static Analysis via cpptestcli:

    cpptestcli -data /PATH/TO/WORKSPACE -resource /SpeedSensor/SpeedSensor.c -config "builtin://Recommended Rules"

    Unit Testing via Cpptestcli:

    cpptestcli -data /PATH/TO/WORKSPACE -resource /SpeedSensor/tests/TestSuite_SpeedSensor.c -config "builtin://Run Unit Tests"