lit 1.0.1

Integrated testing tool, inspired by LLVM's 'lit' testing script
Documentation
use lit::run;

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

/// Runs all of the integration tests in the top-level directory
/// of the repository.
#[test]
fn integration_tests() {
    pretty_env_logger::init();

    run::tests(lit::event_handler::Default::default(), |config| {
        config.add_search_path(format!("{}/integration-tests", CRATE_PATH));
        for ext in lit::INTEGRATION_TEST_FILE_EXTENSIONS {
            config.add_extension(ext);
        }
    }).expect("unit test(s) failed");
}