[][src]Attribute Macro tokio::test

#[test]

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

Uses current_thread runtime.

Examples

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