The most recent content from our members.
My Goal: My project consists of three C++ libraries and a set of existing CppUTest tests that unit test the classes in those libraries. My goal is to see the code coverage, in the libraries that is caused by running the CppUTest tests. The libraries and test are built by CMake. This is in a CentOS-7.2 Linux environment.…
Hello, I have run into a problem using the embedded unit testing with c++ test. The sequence of events is; * Write some unit tests * Run TI CCS v4+ tests [C/C++ test console output] Target running... Interrupt to abort . . . * ~50 seconds after starting [C/C++ test console output] SUCCESS: Halted at correct location * All…
When we run a Unit Test by selecting our project in Eclipse it generate different result for each run cycle. e.g. sometime ‘Function A’ is reported to be failed and sometimes ‘Function B’. We have fairly large codebase and it's all C/C++ code for ARM platform.
Is there any way to stub a class member function which has been defined in CPP files completely. The code is very old and we cannot modify the structure of code for the sake of unit testing.
How to generate and run unit tests outside the project folder (in MS visual studio) ? Currently I am not able generate test cases using parasoft ,in a folder which is outside the CPP project. what are settings that needs to be done ? Please suggest.
It looks like you're new here. Sign in or register to get started.