• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..06-Apr-2021-

.appveyor/H06-Apr-2021-8357

.travis-ci/H06-Apr-2021-9361

docs/H03-May-2022-196169

include/H06-Apr-2021-903238

src/H06-Apr-2021-3,3142,548

tests/H06-Apr-2021-285250

.appveyor.ymlH A D06-Apr-20211.2 KiB4839

.coveralls.ymlH A D06-Apr-202146 21

.travis.ymlH A D06-Apr-2021952 3831

CONTRIBUTING.mdH A D06-Apr-2021430 139

README.mdH A D06-Apr-20211.7 KiB6542

TODO.mdH A D06-Apr-2021268 86

meson.buildH A D06-Apr-20213 KiB123109

README.md

1## µTest - A small C testing library
2
3 - **Linux**: [![Build Status](https://travis-ci.org/ebassi/mutest.svg?branch=master)](https://travis-ci.org/ebassi/mutest)
4 - **Windows**: [![Build status](https://ci.appveyor.com/api/projects/status/1ghtdpt42u3vy8s9/branch/master?svg=true)](https://ci.appveyor.com/project/ebassi/mutest/branch/master)
5 - [![Coverage Status](https://coveralls.io/repos/github/ebassi/mutest/badge.svg?branch=master)](https://coveralls.io/github/ebassi/mutest?branch=master)
6
7## What is µTest
8
9µTest aims to be a small unit testing library for C projects, with an API
10heavily modelled on high level [Behavior-Driver Development][bdd] frameworks
11like [Jasmine][jasminejs] or [Mocha][mochajs].
12
13µTest is written in C99, and can be used on multiple platforms.
14
15### Features
16
17 - Small API footprint
18 - Easy to use
19 - Portable
20 - Zero dependencies
21 - Supports [TAP](https://testanything.org)
22
23### Screenshot
24
25![µTest on Linux](./mutest-mocha-format.png)
26
27![µTest on Windows, using MSYS2](./mutest-msys2.png)
28
29[bdd]: https://en.wikipedia.org/wiki/Behavior-driven_development
30[jasminejs]: https://jasmine.github.io/
31[mochajs]: https://mochajs.org/
32
33**WARNING**: µTest's API is still in flux!
34
35---
36
37## Getting Started
38
39### Building µTest
40
41Simply clone this repository, and use [Meson](http://mesonbuild.com) to
42generate the appropriate build instructions:
43
44```sh
45$ git clone https://github.com/ebassi/mutest.git
46$ cd mutest
47$ meson _build .
48$ cd _build
49$ ninja
50$ meson test
51$ sudo ninja install
52```
53
54### Using µTest
55
56The documentation of µTest is [available online](https://ebassi.github.io/mutest/mutest.md.html).
57
58### Contributing
59
60See the [Contribution guide](./CONTRIBUTING.md).
61
62## License
63
64µTest is released under the terms of the [MIT](./LICENSE.txt) license.
65