Google Unit Test Framework for C++

https://github.com/google/googletest/blob/master/googletest/docs/primer.md

googletest is a testing framework developed by the Testing Technology team with Google’s specific requirements and constraints in mind. No matter whether you work on Linux, Windows, or a Mac, if you write C++ code, googletest can help you. And it supports¬†any¬†kind of tests, not just unit tests.