I am into a project where we have a large codebase and currently it has no unit tests framework at all.The code we are working on would be finally run on a box which acts as a switch/router/firewall.
...

I have a solution full of C++ projects. I want to stop building and running the projects once the first project fails (aka bad exit status). In a GNU Makefile I could easily accomplish this. How do I ...

I am currently working on a class that uses another class which has only static functions.
Everything worked fine until I tried testing my class.
Here is a simple code example of the problem:
class ...

I work with a team that develops MPI-based C++ numerical applications. The group uses cxxtest for constructing individual unit tests or small suites, but 1) there are some complications aggregating ...

I wish to dynamically extend my CxxTest Suite with additional test items, but am finding that all the testing scenerios must be available (hard-coded) at compile time.
My scenario is that I've got a ...

I have a testing script that checks what version of java the user is using and then executes some commands. But we are trying to convert all of our testing into cxxtests. I would like to know how to ...

I'm just starting to use CxxTest and would like to test whether a std::vector has been sorted correctly. Here's my test so far:
void testSort() {
std::sort(vec.begin(), vec.end()); // This could be ...

I have never used unit testing before, so I'm giving CxxTest a go. I wrote a test to check if a function correctly sorts a std::vector. First I made sure the test failed when the vector wasn't sorted, ...

How effective is the CXX test framework, given that you are writing unit test cases around the code that you have written. Any bug in the code might as well get translated into a bug in the unit test ...