Expand description

Utilities to make testing Futures easier

Modules

Additional combinators for testing futures.

Additional combinators for testing async IO.

Additional combinators for testing sinks.

Additional combinators for testing streams.

Task related testing utilities.

Macros

Assert that the next poll to the provided stream will return an empty Poll::Ready signalling the completion of the stream.

Assert that the next poll to the provided stream will return Poll::Ready with the provided item.

Assert that the next poll to the provided stream will return Poll::Pending.

Attribute Macros

Enables an async test function. The generated future will be run to completion with futures_executor::block_on.