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

Function run_test

tests/helpers.rs:45–52  ·  view source on GitHub ↗
(test: T)

Source from the content-addressed store, hash-verified

43 }
44
45 pub async fn run_test<T>(test: T)
46 where
47 T: Future<Output = ()>,
48 {
49 dotenv().unwrap();
50 Box::pin(test).await;
51 tear_down().await;
52 }
53}

Callers 15

test_add_boardFunction · 0.70
test_get_boardFunction · 0.70
test_delete_boardFunction · 0.70
test_update_boardFunction · 0.70
test_create_commentFunction · 0.70
test_create_boardFunction · 0.70
test_edit_boardFunction · 0.70
test_add_commentFunction · 0.70
test_connectionFunction · 0.70
test_transaction_commitFunction · 0.70

Calls 1

tear_downFunction · 0.70

Tested by 15

test_add_boardFunction · 0.56
test_get_boardFunction · 0.56
test_delete_boardFunction · 0.56
test_update_boardFunction · 0.56
test_create_commentFunction · 0.56
test_create_boardFunction · 0.56
test_edit_boardFunction · 0.56
test_add_commentFunction · 0.56
test_connectionFunction · 0.56
test_transaction_commitFunction · 0.56