I use Google C++ Testing Framework for unit testing of my code. I use Eclipse CDT with C++ Unit testing module for output analysis.
Previously I used CppUnit it ha
The gtest macros return a stream for outputting diagnostic messages when a test fails.
EXPECT_TRUE(false) << "diagnostic message";