[−][src]Function lit::run::tests
pub fn tests<F>(
event_handler: impl EventHandler,
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.event_handler
is an object which presents the user interface to the user.