Working with Wind River Workbench in command line

fatmanur61fatmanur61 Posts: 70

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

  • MichaelCMichaelC 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"

Sign In or Register to comment.