0.3.1 |
|
---|---|
0.3.0 |
|
0.2.9 |
|
0.1.1 |
|
0.0.5 |
|
#99 in #better
141 downloads per month
6KB
Testy
The testy
macro prints the status of the test function execution when running cargo test, in a much less verbose fashion. This allows for better looking unit testing.
Usage
To use the testy
macro, add it as an attribute to any Rust test function you wish to monitor:
use testy::testy;
testy! {
fn my_test() {
// Do your test here
}
};
When you run your tests using cargo test
, the testy macro will print the status of the test function execution. If the test passes, you will see a green checkmark next to the test name. If the test fails, you will see a red "X" next to the test name.
License
testy
is distributed under the terms of the MIT license. See the LICENSE file for details.
Dependencies
~2.4–9MB
~79K SLoC