Looking for unittest libraries in pure C

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

Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Mergify - Updating dependencies is time-consuming.
  • SonarQube - Static code analysis for 29 languages.
  • Criterion

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

    My school uses Criterion (doc). source code

  • build

    Sample project showing a minimalist multiplatform build (by thradams)

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • greatest

    A C testing library in 1 file. No dependencies, no dynamic allocation. ISC licensed.

    Greatest is 1 header file. https://github.com/silentbicycle/greatest

  • mite

    Minimalist test framework for C language.

    I once wrote my own: https://github.com/maxim2266/mite

  • I have written this one: https://gitlab.com/Alexgaard/software-for-fun/-/tree/main/Utilities/testlib

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

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