In tried to preconfigure the eclipse Plugin settings with the parasoft.ini file. The documention https://docs.parasoft.com/display/CPPTESTPROVS20212/Configuring+Localsettings shows that i have to set the custom.compilers.dir=[Directory]. But it does not set anything in the Parasoft|Configuration|Customs Directories|Custom…
Hi, I'm trying to include some logging into test cases using the CPPTEST_REPORT_* macros and I can't seem to find a way to view those log messages. When I generate a report, I can see messages included in a failure message with CPPTEST_FAIL("my failure") but nothing regarding from the CPPTEST_REPORT_* logs. Ideally, I'd…
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.…
I have project with custom configurations for running and generation stubs/tests. My project contains autogenerated files that I want to exclude from coverage report as we are not interested in their coverage and it affects total coverage of the project. I use standalone version of C++ test and tried: * add them to…
We are using ParaSoft with GreenHills development environment. When we try to collect stub information we get the following error in the console: "Could not preprocess source file" (See the attached file for full error description) Can someone tell us what is wrong?
Hi, I've been trying to visually display code coverage results on Jenkins but can't seem to find a way to do it with the Parasoft Findings plugin. Currently I can only graph the number of tests that have passed/failed but I would like to have a visual of the coverage percentages. This is the plugin I've been trying to use…
Hi, Our company is focusing on analyzing software requirements due to Parasoft features. We would like to use Parasoft to do static code analysis for C, C++ and also assembler code. There is one requirement that we have to check if all assembler code is documented in the code but it seems that this check is not included in…
We have a linux OS running the parasoft cpptestcli, the version is "Parasoft C/C++ test Professional 2021.2.1" and the machineId is given to the license server. But sometimes the cpptestcli program failed with ERROR: License: Main feature "C++test" status: No more tokens available.ERROR: Error: No valid license (MachineId:…
I am creating a Parasoft rule for C/C++test using RuleWizard that flags whenever a type std::string is used as an argument within certain function calls. For example, this line should be a violation since it uses the variable 'mytestString' without a call to .c_str() LOG_TRACE(7, "ParasoftTestProj::main() Some TRACE…
I want to create a rule that checks if a filename contains the foldername at the beginning of the file, for example: I have a folder named "folder1" containing a folder named "folder2" which contains a c file. This file should be named: "folder1_folder2_myFile.c" Is it possible to create such a rule with the rule wizard?
It looks like you're new here. Sign in or register to get started.