#[async_test]
Expand description

Enables this test to be run in an async fn.

Requires that the test return Result with the error type implementing Display.

Examples

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