tiny-test
tiny-test is collection of functions simplifying test assertions in rust.
Usage
collect_fails!
Basic usage:
Custom assertion:
report_fails
Usually used in combination with collect_fails!
Basic usage:
report_fails
// One or more assertions failed:
// test case 1: assertion failed for input `"input string"`
// expected `"expected string"`
// result `""`
// test case 2: assertion failed for input `"hello world!"`
// expected `"hello papa!"`
//