Crate for testing actix GET/POST/UPDATE/DELETE
toml
[dev-dependencies]
testax = "0.1"
```rust async fn index(info: web::Path<(u32, String)>) -> impl Responder { format!("Hello {}! id:{}", info.1, info.0) }
async fn testminimal() { let mut app = test::initservice(App::new().service(index)).await;
let resp = get(&mut app, "/32/Filip").await;
assert_eq!(resp.status.as_u16(), 200);
assert_eq!(resp.body, "Hello Filip! id:32");
} ```