2 releases

Uses old Rust 2015

0.1.1 Jan 2, 2019
0.1.0 Aug 16, 2018

#17 in #able

Download history 44/week @ 2024-03-24 112/week @ 2024-03-31 37/week @ 2024-04-07 39/week @ 2024-04-14 46/week @ 2024-04-21 42/week @ 2024-04-28 74/week @ 2024-05-05 48/week @ 2024-05-12 38/week @ 2024-05-19 53/week @ 2024-05-26 46/week @ 2024-06-02 44/week @ 2024-06-09 55/week @ 2024-06-16 52/week @ 2024-06-23 34/week @ 2024-06-30 35/week @ 2024-07-07

181 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

~53KB