Attribute Macro test_with::runtime_no_env
source ยท #[runtime_no_env]Expand description
Ignore test case when the example running and the environment variable is set.
// write as example in examples/*rs
test_with::runner!(env);
#[test_with::module]
mod env {
#[test_with::runtime_no_env(NOT_EXIST)]
fn test_works() {
assert!(true);
}
}