π¬This is a nightly-only experimental API. (
test
)Expand description
Module converting command-line arguments into test configuration.
MacrosΒ§
- unstable_
optflag πExperimental - unstable_
optopt πExperimental
StructsΒ§
- Test
Opts Experimental
FunctionsΒ§
- get_
allow_ πunstable Experimental - get_
color_ πconfig Experimental - get_
format πExperimental - get_
log_ πfile Experimental - get_
nocapture πExperimental - get_
run_ πignored Experimental - get_
shuffle πExperimental - get_
shuffle_ πseed Experimental - get_
test_ πthreads Experimental - get_
time_ πoptions Experimental - is_
nightly πExperimental - optgroups π
Experimental - parse_
opts Experimental - Parses command line arguments into test options.
Returns
None
if help was requested (since we only show help message and donβt run tests), returnsSome(Err(..))
if provided arguments are incorrect, otherwise creates aTestOpts
object and returns it. - parse_
opts_ πimpl Experimental - usage π
Experimental
Type AliasesΒ§
- OptPart
Res πExperimental - Result of parsing the option part.
- OptRes π
Experimental - Result of parsing the options.