1.6 CppUTest
CppUTest is another C++ unit testing framework that you might choose over Google Test/Google Mock. It offers many comparable features, plus provides a built-in memory leak detector. You can see more examples of CppUTest in Test Driven Development for Embedded C [Gre10] by James Grenning.
Installing CppUTest
(Note: These instructions apply to CppUTest version 3.3. The newest version, 3.4, incorporates a number of changes, but was released just prior to my final deadline for major changes, preventing me from incorporating use of it into this book.)
You can find the project home for CppUTest at http://www.cpputest.org/ , and you can find downloads at http://cpputest.github.io/cpputest/ . Download the appropriate file and unpack, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access