I am trying to write unit tests for a STM32CubeIDE project. I have build the .bdf file and imported it to Parasoft C/C++Test (Standalone). I was able to generate some unit tests, however if I try to run the unit tests or collect stub information I get the following error: "C/C++test analysis errors in /project_folder 1.…
In my project,there is one cpp file used two .h files.The files are like attachment.When I execute Generate Unit Tests command,it shows an error like this: "/tools/Kepler8.2/kepler/kepler-sdk/0.2.16202.0/kndk/platforms/0.2/x86_64/usr/i [C/C++test] [tuner.cpp] nclude/apmf/dso.h", line 35: error: incomplete type is not…
I'm encountering errors when attempting to perform unit tests on an STM32 project![] . The issue seems to stem from xHarness not recognizing .obj files, resulting in an error message stating "line 1: error: unrecognized token." I've included the error details for reference. help me with this
In my code there is a function like this: static void vhal_log(const char *file, int line, const char *tag, int level, const char *fmt, va_list args) the last param args is a va_list type.But when I use builtin rules:Generate Unit Tests to auto generate unit test case for this function, the result like this: struct…
I am using Parasoft 2020.1 and in my project I am using a .BDF file. The compiler family is the GNU GCC 4.9.x. The problem I am having is when I put in a linker option it is not being recognized. My current state of my project the Static Code analysis is working and so is Stub Generation. But when I run a unit test during…
We are thrilled to announce the launch of Parasoft C/C++test CT, a revolutionary Continuous Testing and Compliance Toolchain designed to transform the development landscape for safety- and security-critical C and C++ software. Tailored for large teams navigating the complexities of stringent standards and compliance…
I get misra2012 errors from code that is not suppose to be compiled. for example - returns it is a fact that only 1 line can be in the compiled code. thus parasoft test shall return only 1 error. but for some reason I get 5 errors, no matter what is the defined value. how to disable this behavior?
I tried to use the vscode extension version 2023.2.0. The documentation says i have to use c/c++test standard. But I am using the professional version (2023.2.0). It is works partly. But when i am trying to open the rule documention i get "Cannot find rule documentation for C..." Does this feature only works with the…
I run the parasoft tool in CubeIDE. i Run IAR EW Tests. When i load the test results(files) it gives me this setup problem : Test execution: error reading test log for Test unit for selected sources.
I have used Ubuntu OS and tried to create bdf file with command cpptesttrace. But it turns out like cpptesttrace: command not found. (I have already added PATH in .bashrc as well) Here is the command I executed. $ projectName=test1234 $ bdfOutPath=$gitHubWork/$projectName.bdf $ rm -rf $bdfOutPath $ cpptesttrace…
It looks like you're new here. Sign in or register to get started.