#[runtime_ignore_if]Expand description
Ignore test case when function return some reason
The function should be fn() -> Option<String>
test_with::runner!(custom_mod);
fn something_happened() -> Option<String> {
Some("because something happened".to_string())
}
#[test_with::module]
mod custom_mod {
#[test_with::runtime_ignore_if(something_happened)]
fn test_ignored() {
assert!(false);
}
}