Skip to content

ribs_test_rill

Test matchers for ribs_rill streams.

Provides producesError, producesInOrder, producesNothing, producesOnly, producesSameAs, and producesUnordered matchers.

Functions

FunctionDescription
producesErrorMatches a Rill that fails with an error satisfying matcher.
producesInOrderMatches a Rill that emits elements in the exact order given by expected.
producesNothingMatches a Rill that succeeds without emitting any elements.
producesOnly<A>Matches a Rill that emits exactly the single element a.
producesSameAs<A>Matches a Rill that produces the same outcome (success, error, or cancelation) and the same elements as expected.
producesUnorderedMatches a Rill that emits the same elements as expected in any order.