Power assert
Power assert generates better error messages for assertions;
For example, the code:
test("Try power-assert") {
check("foo".length == 5)
}
generates the error message:
Assertion failed
check("foo".length == 5)
| |
| false
3
which makes understanding why test fail much easier.
Closes #33 (closed)
Edited by Ivan “CLOVIS” Canet