About
Macro to provide sample data to your test functions
Separate your tests from a testing data.
Use a simple sample file to drive your tests.
Concern yourself with providing a good sample data instead of writing a test itself.
Reuse testing data where it makes sense.
Example
Supported sample file formats
csv,toml,json,yaml,ron,list
How it works
Macro simply renames your test function with prefix _ and creates the same function
which calls your original function with the testing data supplied by the sample.
So there are no surprises and cargo test --test test_test_me_with_yaml
and running tests from your editor works as expected.
So instead of writing everywhere something like:
You focus on the testing data