2 releases

0.1.1 Jan 2, 2019
0.1.0 Aug 16, 2018

#6 in Testing

Download history 1228/week @ 2018-10-06 1063/week @ 2018-10-13 1107/week @ 2018-10-20 1551/week @ 2018-10-27 1516/week @ 2018-11-03 1740/week @ 2018-11-10 1423/week @ 2018-11-17 1786/week @ 2018-11-24 1862/week @ 2018-12-01 1909/week @ 2018-12-08 1836/week @ 2018-12-15 1541/week @ 2018-12-22 2229/week @ 2018-12-29 2940/week @ 2019-01-05 3634/week @ 2019-01-12

8,381 downloads per month
Used in 3 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

~459KB