#async #test-macro #proc-macro-attributes

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

#1101 in Asynchronous

Download history 3699/week @ 2025-10-18 4011/week @ 2025-10-25 4015/week @ 2025-11-01 3171/week @ 2025-11-08 3393/week @ 2025-11-15 3337/week @ 2025-11-22 4040/week @ 2025-11-29 4000/week @ 2025-12-06 2439/week @ 2025-12-13 951/week @ 2025-12-20 772/week @ 2025-12-27 2768/week @ 2026-01-03 4295/week @ 2026-01-10 3251/week @ 2026-01-17 3016/week @ 2026-01-24 4462/week @ 2026-01-31

15,384 downloads per month
Used in 28 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
~53K SLoC