Documentation
1
2
3
4
5
6
7
#[test]
fn ui_tests() {
    let t = trybuild::TestCases::new();

    t.pass("ui-tests/pass/pass_*.rs");
    t.compile_fail("ui-tests/fail/fail_*.rs");
}