Function spawn_test_thread

Source
fn spawn_test_thread(
    id: TestId,
    test: &CollectedTest,
    completion_tx: Sender<TestCompletion>,
) -> Option<JoinHandle<()>>
Expand description

Spawns a thread to run a single test, and returns the thread’s join handle.

Returns None if the test was ignored, so no thread was spawned.