#unit-testing #string #development #json-text #approve #stage #unit-tests

approvals

A simple library allowing to compare strings in unit-tests. Currently in development stage and not usable.

7 releases

Uses old Rust 2015

0.0.7 Apr 11, 2016
0.0.6 Feb 25, 2016
0.0.5 Apr 3, 2015
0.0.3 Mar 28, 2015

#653 in Testing

MIT license

8KB
180 lines

approvals

Library that allows to write simple text related tests like producing JSON.

Usage: approvals::approve("actual string received from test");

TODO

* Make instructions to follow on failure
* Launch diff tool on failure
* configure folder where to keep approved files

Dependencies

~305KB