Attribute Macro test_with::cpu_core

source ยท
#[cpu_core]
Expand description

Run test case when cpu core enough

#[cfg(test)]
mod tests {

    // Only works with enough cpu core
    #[test_with::cpu_core(32)]
    #[test]
    fn test_ignored() {
        panic!("should be ignored")
    }
}