pub struct TestRunner { /* private fields */ }Expand description
TestRunner is the main way you’ll interact with TAP tests.
Implementations§
Source§impl TestRunner
impl TestRunner
Sourcepub const fn new(desc: Option<String>) -> Self
pub const fn new(desc: Option<String>) -> Self
Create a new TestRunner
Sourcepub const fn get_tap_lines(&self) -> &Vec<String>
pub const fn get_tap_lines(&self) -> &Vec<String>
Get the TAP output.
Sourcepub fn num_failed(&self) -> u32
pub fn num_failed(&self) -> u32
Get the number of failed tests.
Trait Implementations§
Source§impl Debug for TestRunner
impl Debug for TestRunner
Source§impl Default for TestRunner
impl Default for TestRunner
Source§fn default() -> TestRunner
fn default() -> TestRunner
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TestRunner
impl !RefUnwindSafe for TestRunner
impl Send for TestRunner
impl Sync for TestRunner
impl Unpin for TestRunner
impl !UnwindSafe for TestRunner
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