MCPcopy Create free account
hub / github.com/Migorithm/rustiful-backend / run_test

Function run_test

library/src/utils/test_components.rs:17–24  ·  view source on GitHub ↗
(test: T)

Source from the content-addressed store, hash-verified

15 }
16
17 pub async fn run_test<T>(test: T)
18 where
19 T: Future<Output = ()>,
20 {
21 dotenv().unwrap();
22 Box::pin(test).await;
23 tear_down().await;
24 }
25}

Calls 1

tear_downFunction · 0.70

Tested by

no test coverage detected