[][src]Function test::test::parse_opts

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

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.