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() {}