pub trait StatsWriter<World>: Writer<World> {
// Required methods
fn passed_steps(&self) -> usize;
fn skipped_steps(&self) -> usize;
fn failed_steps(&self) -> usize;
fn retried_steps(&self) -> usize;
fn parsing_errors(&self) -> usize;
fn hook_errors(&self) -> usize;
// Provided method
fn execution_has_failed(&self) -> bool { ... }
}Required Methods§
Sourcefn passed_steps(&self) -> usize
fn passed_steps(&self) -> usize
Sourcefn skipped_steps(&self) -> usize
fn skipped_steps(&self) -> usize
Sourcefn failed_steps(&self) -> usize
fn failed_steps(&self) -> usize
Sourcefn retried_steps(&self) -> usize
fn retried_steps(&self) -> usize
Returns number of retried Steps.
Sourcefn parsing_errors(&self) -> usize
fn parsing_errors(&self) -> usize
Returns number of parsing errors.
Sourcefn hook_errors(&self) -> usize
fn hook_errors(&self) -> usize
Returns number of failed Scenario hooks.
Provided Methods§
Sourcefn execution_has_failed(&self) -> bool
fn execution_has_failed(&self) -> bool
Indicates whether there were failures/errors during execution.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<W, L, R, F> Stats<W> for Or<L, R, F>
impl<W, L, R> Stats<W> for Tee<L, R>
impl<W, O> Stats<W> for Libtest<W, O>
Available on crate feature
libtest only.