test_with

Attribute Macro mem

source
#[mem]
Expand description

Run test case when memory size enough

#[cfg(test)]
mod tests {

    // Only works with enough memory size
    #[test_with::mem(100GB)]
    #[test]
    fn test_ignored() {
        panic!("should be ignored")
    }
}