This is the Linux app named libunittest C++ library whose latest release can be downloaded as libunittest-9.3.5.tar.gz. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named libunittest C++ library with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
libunittest C++ library
Ad
DESCRIPTION
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 <libunittest/all.hpp>
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.
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
Audience
Developers
Programming Language
C++
This is an application that can also be fetched from https://sourceforge.net/projects/libunittest/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.