[][src]Attribute Macro tokio::test

#[test]

Marks async function to be executed by runtime, suitable to test environment

Options:

Usage

#[tokio::test]
async fn my_test() {
    assert!(true);
}