libunittest is a portable C++ library for unit testing. By relying on the C++11 standard and heavy use of templates, a portable, feature-rich, and easy-to-use library has been developed. A minimal example:
#include TEST(test_value_is_true) libunittest compiles with g++ (≥4.6), clang++ (≥3.2), icc (≥14), Visual C++ (≥2013), and other C++11 compliant compilers. It is successfully tested on Linux, MacOSX, FreeBSD, Solaris, Cygwin, and MS Visual Studio. If you are like the rest of our user community, your IT team is busy. With pressure to deliver on-time projects, you don’t have a lot of time to spend making your management tools work. You need network monitoring tools that work for you. You want tools that makes it easy to find performance issues before your users do and resolve them before they impact the business. That’s why tens of thousands of customers around the world love WhatsUp Gold.
{
const bool value = true;
ASSERT_TRUE(value);
}
Website
http://libunittest.sourceforge.net
Tags
Quality AssuranceTesting
License
MIT License
Platform
BSD
Linux
Mac
Solaris
Windows
Features