Assembly Line

Utest.h

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

Utest.h is an open-source test frameworks project on GitHub under the Unlicense license (public domain), with 998 stars. It is built with LLVM project and GCC. Its last push was yesterday.

Stars
998
License
Unlicense
Activity
Active
Latest release
pre-ai

Code on GitHub

Judgement

What it is
Developer tool
What it does
A single-header unit testing library for C and C++ with googletest-style output, test filtering and xunit XML output.
Adopt it when
You need unit tests in a plain C project, or want a test framework you can drop in as one header.
Watch out
It is a one-person project with a basic feature set.
Ready for
Usable
Runs as
Library
Built with
C and C++
How established
Established: started 11 years ago, latest release pre-ai.
What the license allows
You can take the code into anything, including a product you sell, with no conditions.

Judged on 2026-11-06 from the project's README and GitHub data. The license and age lines are worked out directly.

Built from

Follow it down: Utest.h → LLVM project → runs on a microchip

How compilers were built, back to punched paper tape

Open-source alternatives to Utest.h

  1. 1
    Playwright microsoft

    Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

    Developer tool Production-ready You need reliable end-to-end tests across all major browser engines, or browser automation for scripts and AI agents.

    ★ 99k Apache-2.0 TypeScript Active, pushed today
  2. 2
    Cypress cypress-io

    Fast, easy and reliable testing for anything that runs in a browser.

    Developer tool Production-ready Your front-end team wants an easy-to-debug browser test tool with an interactive runner, mainly for Chromium-family browsers.

    ★ 51k MIT TypeScript Active, pushed today
  3. 3
    Jest jestjs

    Delightful JavaScript Testing.

    Developer tool Production-ready You maintain a React or Node.js codebase already built around Jest, or want the most widely documented JavaScript test runner.

    ★ 45k MIT TypeScript Active, pushed 3 days ago
  4. 4
    Mocha mochajs

    ☕️ Classic, reliable, trusted test framework for Node.js and the browser

    Developer tool Production-ready You maintain an existing Node.js suite written for Mocha, or want a minimal runner where you pick each piece yourself.

    ★ 23k MIT JavaScript Active, pushed yesterday
  5. 5
    AVA avajs

    Node.js test runner that lets you develop with confidence 🚀

    Developer tool Production-ready You test Node.js libraries and prefer a minimal runner without global functions.

    ★ 21k MIT JavaScript Active, pushed 5 days ago
  6. 6
    Vitest vitest-dev

    Next generation testing framework powered by Vite.

    Developer tool Production-ready The project already builds with Vite, or you want native ES module and TypeScript support without the transform setup Jest needs.

    ★ 17k MIT TypeScript Active, pushed today
  7. 7
    Karate karatelabs

    Test Automation Made Simple

    Developer tool Production-ready Testers who are not strong Java programmers need to write API tests and mocks for microservices in a readable format.

    ★ 9k MIT Java Active, pushed today
  8. 8
    Doctest doctest

    The fastest feature-rich C++11/14/17/20/23 single-header testing framework

    Developer tool Production-ready You want C++ unit tests with very low compile-time cost or tests written inside the source files themselves.

    ★ 6.9k MIT C++ Active, pushed 18 days ago

Stars, license and activity come from GitHub and refresh on a rolling hourly schedule. The project's own description is quoted as written.