CPP unit test
Discussion List
-
Display code coverage for CppUTests
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.…
-
Code composer studio unit tests fail to re-run
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…
-
Different result outputs while running Unit Test on full project
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.
-
Stubbing functions which are not declared in header file
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) ?
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.
Popular Tags
- SOAtest 454
- legacy 440
- Virtualize 204
- C/C++test 179
- scripting 106
- .parasoft 82
- unit testing 64
- Parasoft Virtualize 61
- Announcement 61
- static analysis 58
- jtest 57
- dotTEST 48
- assertions 47
- C++ test 43
- API Testing 39
- cli 38
- automation 37
- data source 37
- xpath 34
- reporting 33
- java 33
- SOAtest Virtualize 32
- LoadTest 32
- ctp 30
- JSON 29