#testing #async #proc-macro #async-test #async-await #procedural #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

#1134 in Asynchronous

Download history 1428/week @ 2024-01-23 1338/week @ 2024-01-30 905/week @ 2024-02-06 762/week @ 2024-02-13 652/week @ 2024-02-20 1140/week @ 2024-02-27 1158/week @ 2024-03-05 718/week @ 2024-03-12 764/week @ 2024-03-19 691/week @ 2024-03-26 1068/week @ 2024-04-02 1047/week @ 2024-04-09 945/week @ 2024-04-16 1148/week @ 2024-04-23 1069/week @ 2024-04-30 1042/week @ 2024-05-07

4,461 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
~48K SLoC