Skip to main content

run_test_app

Function run_test_app 

Source
pub fn run_test_app<AppShape, WorkerShape, Test>(
    modules: &[Module],
    app: impl AppWiring<AppShape>,
    worker: impl WorkerWiring<WorkerShape>,
    test: impl FnOnce(TestApp) -> Test,
)
where Test: Future<Output = ()>,
Expand description

The runtime is shut down before the database is dropped, so no app connection holds the drop up.