#async-test #testing #proc-macro #async-await #test-macro #procedural #easier

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

#629 in Asynchronous

Download history 945/week @ 2023-11-18 1330/week @ 2023-11-25 1077/week @ 2023-12-02 1466/week @ 2023-12-09 433/week @ 2023-12-16 260/week @ 2023-12-23 301/week @ 2023-12-30 1199/week @ 2024-01-06 915/week @ 2024-01-13 1406/week @ 2024-01-20 1176/week @ 2024-01-27 1005/week @ 2024-02-03 741/week @ 2024-02-10 761/week @ 2024-02-17 881/week @ 2024-02-24 1325/week @ 2024-03-02

3,751 downloads per month
Used in 23 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

~2MB
~49K SLoC