#testing #proc-macro #async-test #async-await #async #attributes

dev futures-await-test

Async test support for Rust through a procedural macro. This crate defines the #[async_test] attribute to make writing tests that use async/await easier.

9 releases

0.3.0 Nov 7, 2019
0.2.1 Jun 26, 2018
0.2.0 Apr 19, 2018
0.1.7 Dec 20, 2018
0.1.0 Dec 16, 2017

#990 in Asynchronous

Download history 1441/week @ 2024-11-29 1477/week @ 2024-12-06 906/week @ 2024-12-13 186/week @ 2024-12-20 196/week @ 2024-12-27 1323/week @ 2025-01-03 1813/week @ 2025-01-10 1202/week @ 2025-01-17 1804/week @ 2025-01-24 1666/week @ 2025-01-31 2083/week @ 2025-02-07 1411/week @ 2025-02-14 2161/week @ 2025-02-21 2336/week @ 2025-02-28 1780/week @ 2025-03-07 2079/week @ 2025-03-14

8,879 downloads per month
Used in 26 crates (19 directly)

MIT license

3KB

futures-await-test

Build Status Latest Version

Async test support for Rust through a procedural macro. This crate defines the #[async_test] attribute to make writing tests that use async/await easier.

See the tests for examples.

Dependencies

~2.5MB
~52K SLoC