Attribute Macro test_with::runtime_cpu_core
source · #[runtime_cpu_core]Expand description
Run test case when cpu core enough
// write as example in examples/*rs
test_with::runner!(resource);
#[test_with::module]
mod resource {
// Only works with enough cpu core
#[test_with::runtime_cpu_core(32)]
fn test_ignored_core_not_enough() {
panic!("should be ignored")
}
}