Macro test_guard
Source macro_rules! test_guard {
() => { ... };
}
Expand description
Create a TestGuard using the current function name.
This macro extracts the test function name automatically.
§Usage
ⓘuse rch_common::testing::test_guard;
#[test]
fn test_something() {
let _guard = test_guard!();
}