We aggregate information from all open source repositories to provide the most of useful open source products, from Enterprise product to small libraries across all platforms. Please search and find what you want.

libunittest C++ library

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)
{
const bool value = true;
ASSERT_TRUE(value);
}

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.

Website http://libunittest.sourceforge.net
Tags
License
Platform
Features
  • unit testing framework for C++
  • great for test-driven-development (TDD) in C++
  • follows the xUnit test patterns plus extensions
  • formatted XML output of the test results (JUnit-compatible)
  • comes with rich assertions and is easily extendable
  • assertions capture call signature and assert location
  • support for deadly (default) and non-deadly assertions
  • tests can be run in parallel
  • supports templated tests
  • option to run specific tests without recompiling
  • option to turn off exception handling for debugging purposes
  • supports setting timeouts for specific tests or all tests
  • supports test contexts that are shared across multiple tests
  • tests can be skipped while leaving a message explaining the skip
  • functionality to easily produce random values and containers
  • portable across various operating systems and compilers
  • comes with tests and examples