Companinon crate to ‘bintest' and 'testcall’, implements facilities for running tests in directories.
Allows creating of (temporary) test directories, optionally with a custom callback for cleanup. Populating these with content for testing and provide assertion to validate the content.
```rust
fn testsomething() { let tmpdir = TempDir::new().expect("TempDir created"); tmpdir.createfile("path/to/testfile", "Hello File!".asbytes()); tmpdir .subpath("path/to/testfile") .assert_utf8("Hello File!"); } ```
New features will be added as needed, PR’s are welcome. This is work in progress.