Trait cucumber::StatsWriter
source · 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 Step
s.
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.
Implementors§
impl<W, L, R> Stats<W> for Tee<L, R>
impl<W, L, R, F> Stats<W> for Or<L, R, F>
impl<W, O> Stats<W> for Libtest<W, O>
Available on crate feature
libtest
only.