[][src]Crate futures_test

Utilities to make testing Futures easier

Modules

future

Additional combinators for testing futures.

io

Additional combinators for testing async IO.

stream

Additional combinators for testing streams.

task

Task related testing utilities.

Macros

assert_stream_done

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

assert_stream_next

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

assert_stream_pending

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