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
Build AI Apps with Gemini 3 on Vertex AI Icon
Build AI Apps with Gemini 3 on Vertex AI

Access Google’s most capable multimodal models. Train, test, and deploy AI with 200+ foundation models on one platform.

Vertex AI gives developers access to Gemini 3—Google’s most advanced reasoning and coding model—plus 200+ foundation models including Claude, Llama, and Gemma. Build generative AI apps with Vertex AI Studio, customize with fine-tuning, and deploy to production with enterprise-grade MLOps. New customers get $300 in free credits.
Try Vertex AI 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