test-better 0.2.1

Result-returning tests with `?`: composable matchers, rich failure output, no `.unwrap()`.
Documentation
1
2
3
4
5
6
7
8
9
//! The `scope` argument of `#[fixture]` accepts only "test" or "module".
use test_better::fixture;

#[fixture(scope = "global")]
fn db() -> Result<i32, ()> {
    Ok(0)
}

fn main() {}