nextest_runner::partition

Trait Partitioner

source
pub trait Partitioner: Debug {
    // Required method
    fn test_matches(&mut self, test_name: &str) -> bool;
}
Expand description

Represents an individual partitioner, typically scoped to a test binary.

Required Methods§

source

fn test_matches(&mut self, test_name: &str) -> bool

Returns true if the given test name matches the partition.

Implementors§