#[test]Available on crate feature
macros only.Expand description
Marks async test functions to use the Actix Web system entry-point.
ยงExamples
#[tokio::test(flavor = "local")]
async fn test() {
assert_eq!(async { "Hello world" }.await, "Hello world");
}