Modern c++17 unit testing framework on Windows, macOS, Linux, iOS and android.

* Github repository : https://github.com/gammasoft71/tunit
* Homepage : https://gammasoft71.wixsite.com/tunit
* Reference guide : https://codedocs.xyz/gammasoft71/tunit/
* Wiki : https://github.com/gammasoft71/tunit/blob/master/docs/documentation.md
* Examples : https://github.com/gammasoft71/tunit/tree/master/examples

Features

  • An xUnit (https://en.wikipedia.org/wiki/XUnit) test framework.
  • Modern c++17.
  • 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 and your own assertion, validation and assume tests.
  • Gets duration for each test, and for each class test.
  • Multi-platform (Windows, macOS, linux, ...).
  • Formatted XML output of the test results (JUnit-compatible).
  • CMake build script.
  • Very easy to use.

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow tunit - xUnit test framework

tunit - xUnit test framework Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of tunit - xUnit test framework!

Additional Project Details

Operating Systems

Android, Apple iPhone, Linux, Mac, Windows

Intended Audience

Developers, Testers

Programming Language

C++

Related Categories

C++ Libraries, C++ Unit Testing Tool, C++ Test Frameworks

Registered

2017-08-31