Skip to content

ebassi/mutest

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.

Features

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

Screenshot

µ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 https://github.com/ebassi/mutest.git
$ cd mutest
$ meson _build .
$ cd _build
$ ninja
$ meson test
$ sudo ninja install

Using µTest

The documentation of µTest is available online.

Contributing

See the Contribution guide.

License

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