Module writer

Source
Expand description

Tools for outputting Cucumber events.

Modules§

basic
Default Writer implementation.
discard
Wrappers providing no-op implementations.
fail_on_skipped
Writer-wrapper for transforming Skipped Steps into Failed.
jsonoutput-json
Cucumber JSON format Writer implementation.
junitoutput-junit
JUnit XML report Writer implementation.
libtestlibtest
Rust libtest compatible Writer implementation.
normalize
Writer-wrapper for outputting events in a normalized readable order.
or
Passing events to one of two Writers based on a predicate.
out
Tools for writing output.
repeat
Writer-wrapper for re-outputting events at the end of an output.
summarize
Writer-wrapper for collecting a summary of execution.
tee
Passing events to multiple terminating Writers simultaneously.

Structs§

AssertNormalized
Wrapper for a Writer asserting it being Normalized.
Basic
Default Writer implementation outputting to an io::Write implementor (io::Stdout by default).
FailOnSkipped
Writer-wrapper for transforming Skipped Steps into Failed.
JUnitoutput-junit
JUnit XML report Writer implementation outputting XML to an io::Write implementor.
Jsonoutput-json
Cucumber JSON format Writer implementation outputting JSON to an io::Write implementor.
Libtestlibtest
libtest compatible Writer.
Normalize
Wrapper for a Writer implementation for outputting events corresponding to order guarantees from the Runner in a Normalized readable order.
Or
Wrapper for passing events to one of two Writers based on a predicate.
Repeat
Wrapper for a Writer implementation for re-outputting events at the end of an output, based on a filter predicated.
Summarize
Wrapper for a Writer for outputting an execution summary (number of executed features, scenarios, steps and parsing errors).
Tee
Wrapper for passing events to multiple terminating Writers simultaneously.

Enums§

Coloring
Possible policies of a console output coloring.
Verbosity
Standard verbosity levels of a Writer.

Traits§

Arbitrary
Writer that also can output an arbitrary Value in addition to regular Cucumber events.
Ext
Extension of Writer allowing its normalization and summarization.
NonTransforming
Marker indicating that a Writer doesn’t transform or rearrange events.
Normalized
Marker indicating that a Writer can accept events in a happened-before order.
Stats
Writer tracking a number of Passed, Skipped, Failed Steps and parsing errors.
Summarizable
Marker indicating that a Writer can be wrapped into a Summarize.
Writer
Writer of Cucumber events to some output.