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

#1064 in Asynchronous

Download history 1373/week @ 2024-08-25 1594/week @ 2024-09-01 1525/week @ 2024-09-08 1599/week @ 2024-09-15 1582/week @ 2024-09-22 2282/week @ 2024-09-29 1497/week @ 2024-10-06 2135/week @ 2024-10-13 2051/week @ 2024-10-20 1945/week @ 2024-10-27 1480/week @ 2024-11-03 1081/week @ 2024-11-10 946/week @ 2024-11-17 1446/week @ 2024-11-24 1123/week @ 2024-12-01 1496/week @ 2024-12-08

5,058 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