[][src]Function ring::test::run

pub fn run<F>(test_file: File, f: F) where
    F: FnMut(&str, &mut TestCase) -> Result<(), Unspecified>, 

Parses test cases out of the given file, calling f on each vector until f fails or until all the test vectors have been read. f can indicate failure either by returning Err() or by panicking.

Requires the alloc default feature to be enabled