[−][src]Function lit::run::tests
pub fn tests<F>(config_fn: F) -> Result<(), ()> where
F: Fn(&mut Config),
Runs all tests according to a given config.
Return Ok
if all tests pass, and Err
otherwise.
Parameters
config_fn
is a function which sets up the test config.