top of page
Modern C++17 unit testing library on Windows, macOS, Linux, iOS and android.
tunit
-
An xUnit test framework.
-
A unit-testing framework for modern C++17. Initially ported from Microsoft.VisualStudio.TestTools.Cpp.
-
Auto registration of class and method based tests.
-
Rich set of assertions.
-
std::ostream output event listener.
-
Extendable :
-
you can create your own event listener (see create_your_own_event_listener example).
-
you can create your own assertion, validation and assume tests (see create_your_own_event_assertion_class example).
-
-
Gets duration for each test, and for each class test.
-
Formatted XML output of the test results (JUnit-compatible).
-
CMake build script.
-
Very easy to use.
bottom of page