Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 06-Apr-2021 | - | ||||
.appveyor/ | H | 06-Apr-2021 | - | 83 | 57 | |
.travis-ci/ | H | 06-Apr-2021 | - | 93 | 61 | |
docs/ | H | 03-May-2022 | - | 196 | 169 | |
include/ | H | 06-Apr-2021 | - | 903 | 238 | |
src/ | H | 06-Apr-2021 | - | 3,314 | 2,548 | |
tests/ | H | 06-Apr-2021 | - | 285 | 250 | |
.appveyor.yml | H A D | 06-Apr-2021 | 1.2 KiB | 48 | 39 | |
.coveralls.yml | H A D | 06-Apr-2021 | 46 | 2 | 1 | |
.travis.yml | H A D | 06-Apr-2021 | 952 | 38 | 31 | |
CONTRIBUTING.md | H A D | 06-Apr-2021 | 430 | 13 | 9 | |
README.md | H A D | 06-Apr-2021 | 1.7 KiB | 65 | 42 | |
TODO.md | H A D | 06-Apr-2021 | 268 | 8 | 6 | |
meson.build | H A D | 06-Apr-2021 | 3 KiB | 123 | 109 |
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