pub fn run_tests_with_session<'a>(
path: &'a Path,
options: &'a RunOptions,
session: &'a TestRunSession,
) -> Pin<Box<dyn Future<Output = TestSummary> + 'a>>Expand description
Run tests while retaining immutable prepared-module artifacts in session.
Callers that execute only once should use run_tests_with_options. Watch
mode and long-lived hosts should retain one session for their desired cache
lifetime and inspect TestRunSession::stats for reuse receipts.