2 releases

Uses old Rust 2015

0.1.1 Jan 2, 2019
0.1.0 Aug 16, 2018
Download history 32/week @ 2023-05-15 31/week @ 2023-05-22 38/week @ 2023-05-29 36/week @ 2023-06-05 43/week @ 2023-06-12 91/week @ 2023-06-19 58/week @ 2023-06-26 76/week @ 2023-07-03 73/week @ 2023-07-10 53/week @ 2023-07-17 64/week @ 2023-07-24 41/week @ 2023-07-31 56/week @ 2023-08-07 64/week @ 2023-08-14 36/week @ 2023-08-21 46/week @ 2023-08-28

211 downloads per month
Used in fewer than 6 crates

MIT license

6KB
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

~52KB