sourcetrait_testing 0.0.0-2

Structured testing with setup, teardown, and standardized fixture and temp directories
Documentation
fn main() {}

#[cfg(test)]
mod tests {
    use std::path::Path;
    use sourcetrait_testing::prelude::*;
    
    static TESTING: testing::Module = testing::module!(Example, {
        .using_fixture_dir()
    });
    
    #[tested]
    fn test_example() {
        const NAMEPATH: &'static str = "sourcetrait_testing/example/example_test/test_example";
        let test = testing::test!({
            .using_fixture_dir()
        });
        
        let expected = Path::new(NAMEPATH);
        let actual = test.namepath().full_path();
        assert_eq!(expected, actual);
    }
}