Attribute Macro actix_rt::test

source ·
#[test]
Expand description

Marks async test function to be executed in an Actix system.

§Examples

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