#[test]Expand description
Marks a test, as #[tokio::test] does, and tells Encore about it 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.