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…
Hi, I am currently trying to run test cases with excel as datasource, in sum 3 rows (test cases). But the test fails at 1st row, the error log isn't helpfull. The datasource setup recognizes the input columns without any issue. In the result report it is showing "test execution problem". The test runs on the hardware,…
First off, I hope that this is the correct forum. I am referring to the static code analysis tool, which we just refer to as Parasoft in our team. I am following a How To guide, complete with screenshots, which shows the option to install a plug-in into VIsual studio. I do not see this option. Can anyone advise?
I want to proceed with the project static analysis in the built-in version of visual studio. IDE has been delivered to MLXIDE (based on eclipse) and compiler information to eclipse 4.3, and there is an error that does not currently receive #define content. As the header file containing #define content is #included and…
I've got a function with the following code: if (ext_test() == true) { ext_mod(); if (ext_test() == true) { ext_in(); } ext_out();} and I need to make a test that executes out_func() BUT NOT in_func() (the ext_test(), ext_mod(), ext_in() and ext_out() functions access data outside the function; I didn't design this BTW,…
Hello, I am using the CMake extension for creating C/C++ Test projects and what I noticed is, that the extension is also capturing commands which compile/link temporary files during a CMake build. This is especially, or maybe only, the case when the build has dependencies on other static libraries. These commands will also…
For example, class A has a public function foo(). class A { public: int Foo(); } I add the stub like this: void CppTest_Stub_Foo() { CPPTEST_STUB_CALLED("A::Foo"); int __return = 0; if (CPPTEST_STUB_HAS_CALLBACK()) { CPPTEST_STUB_CALLBACK(int __return, const A __this); CPPTEST_STUB_INVOKE_CALLBACK(&__return, this); } } But…
Hi, I have tested my code by various static tests of parasoft. My code had somthing like the following: uint8_t a; a = input_from_a _port(); // this function returns a signed char value if(a > 0) do_something1(); else do_somthing2(); This code has fault. when "a" is set to a negative value using input_from_a _port(), fault…
We are excited to announce the launch of C/C++test 2023.2, featuring an array of new functionalities and improvements. Notably, our latest release incorporates complete support for MISRA C++ 2023, the cutting-edge coding standard in C++ designed to address safety and security concerns. Industries prioritizing safety,…
In our test application, We have multiple test suits, We created stub for mq_timerecived function used in file many source file. When we executed test application, Stub is called only on 1 test suites and for other test suites even though we registered Stub callback function in test cases, Its not calling stub and stub…
It looks like you're new here. Sign in or register to get started.