pub struct Runner { /* private fields */ }Implementations§
Source§impl Runner
impl Runner
Sourcepub fn all_tests_random_order(args: &RunnerArgs) -> Runner
pub fn all_tests_random_order(args: &RunnerArgs) -> Runner
Create a Runner containing all test kinds in random order
Sourcepub fn from_test_kinds(args: &RunnerArgs, test_kinds: Vec<TestKind>) -> Runner
pub fn from_test_kinds(args: &RunnerArgs, test_kinds: Vec<TestKind>) -> Runner
Create a Runner with specified test kinds
Sourcepub fn run(&self, memory: &mut [usize]) -> Result<TestReportList, RunnerError>
pub fn run(&self, memory: &mut [usize]) -> Result<TestReportList, RunnerError>
Run the tests, possibly after locking the memory
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Runner
impl RefUnwindSafe for Runner
impl Send for Runner
impl Sync for Runner
impl Unpin for Runner
impl UnwindSafe for Runner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more