Attribute Macro test_async

Source
#[test_async]
Expand description

Run a test function asynchronously.

This macro is powered by the futures crate and is not bound to a particular executor or context.

ยงExample

use commonware_macros::test_async;

#[test_async]
async fn test_async_fn() {
   assert_eq!(2 + 2, 4);
}