Skip to main content

run_tests

Function run_tests 

Source
pub fn run_tests(source: &str, config: &TestConfig) -> Result<RunReport, String>
Expand description

Discover and execute every ## Test in source. Each test runs in a fresh interpreter world; the report is deterministic and name-ordered.

Returns Err only for program-level problems (parse errors); an individual test failing is a Failed outcome, never an Err.