[][src]Attribute Macro tokio_async_attributes::test_basic

#[test_basic]

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

Options:

  • max_threads=n - Sets max threads to n.

Usage

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