test-env-helpers 0.1.0

A few helper macros that adds some functionality to the Rust test runner that I missed from Jest.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
## Description
A set of helpers that add some functionality to the default rust test runner that I missed from Jest.

### Currently implemented:
* `#[before_each]`: Only valid on a `mod`. Requires a single function named `before_each`. Copies the body contents of the `before_each` function into the beginning of the function body of any functions in the same `mod` that have an attribute with the word "test" in it.

### To do:
* `#[after_all]`:
* `#[after_each]`:
* `#[before_all]`:
* `#[only]`:
* `#[skip]`: