2 releases

0.1.1 Jan 2, 2019
0.1.0 Aug 16, 2018
Download history 1420/week @ 2018-12-20 1727/week @ 2018-12-27 3085/week @ 2019-01-03 3513/week @ 2019-01-10 3643/week @ 2019-01-17 3660/week @ 2019-01-24 3998/week @ 2019-01-31 3770/week @ 2019-02-07 4776/week @ 2019-02-14 5158/week @ 2019-02-21 5007/week @ 2019-02-28 4701/week @ 2019-03-07 5212/week @ 2019-03-14 4449/week @ 2019-03-21 4723/week @ 2019-03-28

8,381 downloads per month
Used in 6 crates

MIT license

5KB
80 lines

Tokio Mock Task

Mock a task for testing.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in tokio-mock-task by you, shall be licensed as MIT, without any additional terms or conditions.


lib.rs:

Wrap Tokio based code with a mock task.

This allows writing tests that are able to assert that a task is notified on an event.

Dependencies

~455KB