littletest
A Rust testing library inspired by Ruby's minitest. Useful for when you're porting something from Ruby or need tests generated at runtime.
Installation
Add this to your Cargo.toml
:
[]
= "0.2"
and this to your crate root:
extern crate littletest;
Usage
Your tests needs to implement Runnable + Sync
- for example:
use
Once you have a list of tests, use a test runner to run them.
use
License
MIT, See LICENSE