Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ebassi/mutest
A BDD testing framework for C, inspired by Mocha
https://github.com/ebassi/mutest
bdd-framework bdd-style-testing-framework c c99 jasmine mocha test-framework testing
Last synced: 3 months ago
JSON representation
A BDD testing framework for C, inspired by Mocha
- Host: GitHub
- URL: https://github.com/ebassi/mutest
- Owner: ebassi
- License: mit
- Created: 2019-02-21T17:17:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-24T19:25:06.000Z (almost 2 years ago)
- Last Synced: 2024-10-01T09:42:59.988Z (4 months ago)
- Topics: bdd-framework, bdd-style-testing-framework, c, c99, jasmine, mocha, test-framework, testing
- Language: C
- Homepage: https://ebassi.github.io/mutest/mutest.md.html
- Size: 440 KB
- Stars: 26
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## µ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][bdd] frameworks
like [Jasmine][jasminejs] or [Mocha][mochajs].µTest is written in C99, and can be used on multiple platforms.
### Features
- Small API footprint
- Easy to use
- Portable
- Zero dependencies
- Supports [TAP](https://testanything.org)### Screenshot
![µTest on Linux](./mutest-mocha-format.png)
![µTest on Windows, using MSYS2](./mutest-msys2.png)
[bdd]: https://en.wikipedia.org/wiki/Behavior-driven_development
[jasminejs]: https://jasmine.github.io/
[mochajs]: https://mochajs.org/**WARNING**: µTest's API is still in flux!
---
## Getting Started
### Building µTest
Simply clone this repository, and use [Meson](http://mesonbuild.com) to
generate the appropriate build instructions:```sh
$ 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](https://ebassi.github.io/mutest/mutest.md.html).
### Contributing
See the [Contribution guide](./CONTRIBUTING.md).
## License
µTest is released under the terms of the [MIT](./LICENSE.txt) license.