[][src]Attribute Macro tokio_macros::test_basic

#[test_basic]

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

Options:

Usage

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