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
10
//! A `#[fixture]` function takes no parameters: a fixture is resolved by name,
//! not called with arguments.
use test_better::fixture;

#[fixture]
fn db(_url: &str) -> Result<i32, ()> {
    Ok(0)
}

fn main() {}