Skip to content


Repository files navigation

µTest - A small C testing library

What is µTest

µTest aims to be a small unit testing library for C projects, with an API heavily modelled on high level Behavior-Driver Development frameworks like Jasmine or Mocha.

µTest is written in C99, and can be used on multiple platforms.


  • Small API footprint
  • Easy to use
  • Portable
  • Zero dependencies
  • Supports TAP


µTest on Linux

µTest on Windows, using MSYS2

WARNING: µTest's API is still in flux!

Getting Started

Building µTest

Simply clone this repository, and use Meson to generate the appropriate build instructions:

$ git clone
$ cd mutest
$ meson _build .
$ cd _build
$ ninja
$ meson test
$ sudo ninja install

Using µTest

The documentation of µTest is available online.


See the Contribution guide.


µTest is released under the terms of the MIT license.