The most recent content from our members.
I have the following code coverage report snippet and want to understand what do "Stat" and "Off" values represent and how to interpret them? <CvgData cvgType="SC"> <Stat val="0;3;0;3;0;3;0"/> <Off val="0;76;115;120;146;153;198"/> </CvgData>undefined</File>undefined<File…
Setup I've copied the cpptest-coverage.cmake to my project and included it into my CMake project. Inside the cpptest-coverage.cmake I modified the following line: set(CPPTEST_COVERAGE_WORKSPACE ${CPPTEST_BINARY_DIR}/cpptest-coverage/${CMAKE_PROJECT_NAME}) to have all temporary files in my build folder. I see in the make…
Hi all, I am trying to understand the behaviour and relationship of cpptestcli with Microsoft Visual C++ (MSVC) compiler. My question is: * How does Parasoft choose the default MSVC compiler to use? When specifying the compiler configuration using the -compiler property, specifying vc_14_2-64 (64 bit version of compiler)…
I'm trying to use cpptestcli for Unit Testing and I need to add the -DCPPTEST_THREADS=1 option during compilation. The documentation only describes how to add this option inside the IDE and for a single project, but by exporting its build settings and by locating the property to modify I managed to use it on the CLI by…
Hi We are running cpptestcli to scan our code inside a docker container. Since we start with clean workspace every time, the scan takes too much time. To try to resolve it, we copied ".cpptest" folder to a shared location, then, on the next run, downloaded it to the workspace. the problem is that we still see long scans…
Using the Parasoft plugin for Eclipse, I am able to run Parasoft test configurations successfully. Trying to run the same test configuration using cpptestcli results in a error message and a stack trace in the error log. The Parasoft version is C++test Professional 2020.2.0 (10.5.0.20201022B1126). The error output is…
When we analyze our code from Eclipse we use the compile_commands.json file as input. Then we click on the project name and start the analyzation. When we use cpptestcli on terminal the build_commands.json file is also used as input. We set the -workspace argument and the ruleset which should be used. The result is…
Hello, I created bdf from Makefile and ran cpptestcli. I'm running this from an ssh console connected to a virtual Centos 7.2 host. All I need is a report. But for some reason, cpptestcli is trying to open a display and fails. Can you please advise ? Thank you, Zvika
We are using cpptestcli from eclipse Plugin and on the terminal. Using from eclipse and the cpptestcli based on eclipse is working too. But we want to use cpptestcli in standard version for automation purpose. The cpptestcli is not working. Our Project is a makefile project with a lot of software modules.…
Hi, I have parasoft professional version. I have imported a project using a bdf file. However, I have changed the project and would like to update the bdf file for the imported project. I can update the bdf file easily. But how do I update the already imported project? If I type: cpptestcli -bdf "cpptestscan.bdf" -data…
It looks like you're new here. Sign in or register to get started.