2 releases

Uses old Rust 2015

0.1.1 Jan 2, 2019
0.1.0 Aug 16, 2018

#19 in #able

Download history 39/week @ 2024-11-13 42/week @ 2024-11-20 51/week @ 2024-11-27 58/week @ 2024-12-04 63/week @ 2024-12-11 37/week @ 2024-12-18 9/week @ 2024-12-25 25/week @ 2025-01-01 32/week @ 2025-01-08 46/week @ 2025-01-15 40/week @ 2025-01-22 30/week @ 2025-01-29 33/week @ 2025-02-05 48/week @ 2025-02-12 51/week @ 2025-02-19 60/week @ 2025-02-26

198 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

~54KB