pub struct ParityRunner { /* private fields */ }Expand description
Runner that executes tests across multiple backends
Implementations§
Source§impl ParityRunner
impl ParityRunner
Sourcepub fn new(
interpreter: Box<dyn BackendExecutor>,
vm: Box<dyn BackendExecutor>,
jit: Option<Box<dyn BackendExecutor>>,
) -> Self
pub fn new( interpreter: Box<dyn BackendExecutor>, vm: Box<dyn BackendExecutor>, jit: Option<Box<dyn BackendExecutor>>, ) -> Self
Create a new parity runner with all backends
Sourcepub fn with_defaults() -> Self
pub fn with_defaults() -> Self
Create a runner with default backends
Sourcepub fn run_test(&self, test: &FeatureTest) -> ParityResult
pub fn run_test(&self, test: &FeatureTest) -> ParityResult
Run a single test across all backends
Sourcepub fn run_all(&self, tests: &[&FeatureTest]) -> ParityReport
pub fn run_all(&self, tests: &[&FeatureTest]) -> ParityReport
Run all tests and collect results
Auto Trait Implementations§
impl !RefUnwindSafe for ParityRunner
impl !UnwindSafe for ParityRunner
impl Freeze for ParityRunner
impl Send for ParityRunner
impl Sync for ParityRunner
impl Unpin for ParityRunner
impl UnsafeUnpin for ParityRunner
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more