rust-passert
Pretty/Power assertion macros for rust
Overview
A assert in the spirit of Spock which evaluates and prints subexpressions, simplifying failure analysis
Example
extern crate passert;
Output
running 1 test
Assertion failed:
a + 2 + 3 == -b
| | | | ||
3 5 8 | |4
| -4
false
thread 'it_works' panicked at 'Assertion failed: a + 2 + 3 == -b', src/lib.rs:11