Looking for unittest libraries in pure C

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

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Zigi - Workflow assistant built for devs & their teams
  • Scout APM - Truly a developer’s best friend
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • 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)

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • 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

  • Zigi

    Workflow assistant built for devs & their teams. Automate the mundane part of your day, with live actionable messages for your GitHub & Jira tasks.

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