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-04-08 38/week @ 2024-04-15 44/week @ 2024-04-22 42/week @ 2024-04-29 78/week @ 2024-05-06 46/week @ 2024-05-13 33/week @ 2024-05-20 53/week @ 2024-05-27 47/week @ 2024-06-03 53/week @ 2024-06-10 47/week @ 2024-06-17 58/week @ 2024-06-24 27/week @ 2024-07-01 38/week @ 2024-07-08 87/week @ 2024-07-15 44/week @ 2024-07-22

206 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