testdir 0.10.0

Semi-persistent, scoped test directories
Documentation
1
2
3
4
5
6
7
8
//! Tests which do not import the module.

#[test]
fn test_simple() {
    let path = testdir::testdir!();
    println!("{}", path.display());
    assert!(path.ends_with("no_import/test_simple"));
}