Expand description

An alternate method of running async fn tests. Meant for use with async-std.

The only export in this crate is a procedural macro, async_test. It can be invoked as follows:

#[async_test]
async fn my_test() -> std::io::Result<()> {
    assert_eq!(2 * 2, 4);
    Ok(())
}

Attribute Macros

Enables this test to be run in an async fn.