GitHub - Snaipe/Criterion: A cross-platform C and C++ unit testing framework for the 21st century

This page summarizes the projects mentioned and recommended in the original post on /r/C_Programming

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. Criterion

    A cross-platform C and C++ unit testing framework for the 21st century

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. utest.h

    🧪 single header unit testing framework for C and C++

    Doesn't really have CMake integration, which is a big downer. You could try utest.h, which is a pretty minimal (as the name suggests), but featureful testing library. It still needs you to declare the main, but is that really such a problem?

  4. utest.h

    🧪 single header unit testing framework for C and C++ (by friendlyanon)

    This fork of it has proper CMake integration and provides a module for automatic test discovery with the unique ability to handle DLL finding for you on Windows, which is documented here.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • What is the best Unit testing framework for VS code for C?

    2 projects | /r/cprogramming | 23 Mar 2023
  • Recursive macros in C, demystified (once the ugly crying stops)

    3 projects | news.ycombinator.com | 5 Nov 2025
  • Show HN: RK Test, a Google Test style library written in C99

    3 projects | news.ycombinator.com | 11 Dec 2023
  • Criterion: A cross-platform C/C++ unit testing framework for the 21st century

    1 project | news.ycombinator.com | 21 Jun 2023
  • Basic CMake question regarding subdirectories

    2 projects | /r/cpp_questions | 19 Apr 2023

Did you know that C is
the 6th most popular programming language
based on number of references?