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-07-22 80/week @ 2024-07-29 58/week @ 2024-08-05 42/week @ 2024-08-12 48/week @ 2024-08-19 67/week @ 2024-08-26 40/week @ 2024-09-02 39/week @ 2024-09-09 39/week @ 2024-09-16 72/week @ 2024-09-23 51/week @ 2024-09-30 37/week @ 2024-10-07 46/week @ 2024-10-14 46/week @ 2024-10-21 43/week @ 2024-10-28 34/week @ 2024-11-04

173 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