[−][src]Attribute Macro tokio_macros::test
#[test]
Marks async function to be executed by runtime, suitable to test enviornment
Uses current_thread
runtime.
Examples
#![feature(async_await)] #[tokio::test] async fn my_test() { assert!(true); }