Function tester::test::parse_opts

source ·
pub fn parse_opts(args: &[String]) -> Option<Result<TestOpts, String>>
Expand description

Parses command line arguments into test options. Returns None if help was requested (since we only show help message and don’t run tests), returns Some(Err(..)) if provided arguments are incorrect, otherwise creates a TestOpts object and returns it.