2 releases

Uses old Rust 2015

0.1.1 Jan 2, 2019
0.1.0 Aug 16, 2018

#18 in #able

Download history 24/week @ 2023-12-22 8/week @ 2023-12-29 17/week @ 2024-01-05 25/week @ 2024-01-12 20/week @ 2024-01-19 11/week @ 2024-01-26 9/week @ 2024-02-02 26/week @ 2024-02-09 56/week @ 2024-02-16 73/week @ 2024-02-23 69/week @ 2024-03-01 52/week @ 2024-03-08 45/week @ 2024-03-15 48/week @ 2024-03-22 96/week @ 2024-03-29 43/week @ 2024-04-05

239 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