Expand description
Utilities to make testing Future
s 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 withfutures_executor::block_on
.