top of page
Modern C++17 unit testing library on Windows, macOS, Linux, iOS and android.
![Windows-11-Icon-Logo.png](https://static.wixstatic.com/media/24b851_63efcf8eee6c420e9a72a0f17fd6409a~mv2.png/v1/fit/w_128,h_128,q_90/24b851_63efcf8eee6c420e9a72a0f17fd6409a~mv2.png)
![macos.png](https://static.wixstatic.com/media/24b851_bd624ea6d39e4909a3666d849a08cd2c~mv2.png/v1/fit/w_128,h_128,q_90/24b851_bd624ea6d39e4909a3666d849a08cd2c~mv2.png)
![](https://static.wixstatic.com/media/24b851_28e5839d23cf41e9a7d9e741d4d3defb~mv2.png/v1/fit/w_100,h_110,q_90/24b851_28e5839d23cf41e9a7d9e741d4d3defb~mv2.png)
![ios.png](https://static.wixstatic.com/media/24b851_08dbb38e5d3e4fdbbd32f06f07b9e0f9~mv2.png/v1/fit/w_128,h_128,q_90/24b851_08dbb38e5d3e4fdbbd32f06f07b9e0f9~mv2.png)
![](https://static.wixstatic.com/media/24b851_2fe9e426f389421fad1b211855d4fb38~mv2.png/v1/fit/w_100,h_117,q_90/24b851_2fe9e426f389421fad1b211855d4fb38~mv2.png)
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