Attribute Macro test_basic

Source
#[test_basic]
Expand description

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);
}