#[test]Expand description
Marks a test function (like #[tokio::test]) and registers it with Encore
before it runs. See testing.
ⓘ
#[encore::test]
async fn creates_a_user() -> Result<(), encore::Error> {
// …
}
#[encore::test(flavor = "multi_thread", worker_threads = 2)]
async fn handles_concurrent_requests() {
// …
}See encore::test.