Attribute Macro tokio::test

source ·
#[test]
Expand description

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

§Usage

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