glob_test 0.2.0

Generate tests from a glob pattern
Documentation
1
2
3
4
5
6
7
8
use std::path::Path;

#[glob_test::glob("../usage/inputs/**/*.txt")]
fn test((path, _): (&Path, i32)) {
    let _ = std::fs::read_to_string(path).unwrap();
}

fn main() {}