Attribute Macro actix_macros::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);
}
#[test]
Marks async test function to be executed in an Actix system.
#[actix_rt::test]
async fn my_test() {
assert!(true);
}