lit 0.4.0

Integrated testing tool, inspired by LLVM's 'lit' testing script
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::run;

const CRATE_PATH: &'static str = env!("CARGO_MANIFEST_DIR");

#[test]
fn thing() {
    run::tests(|config| {
        config.add_search_path(format!("{}/tests", CRATE_PATH));
        config.add_extension("txt");
    }).expect("unit test(s) failed");
}