• Home
  • Raw
  • Download

Lines Matching +full:pretty +full:- +full:format

9 /// `libtest-mimic` supports a subset of all args/flags supported by the
11 /// the main use cases should work exactly like with the built-in harness.
14 help_template = "USAGE: [OPTIONS] [FILTER]\n\n{all-args}\n\n\n{after-help}",
17 --test-threads flag when running tests (set it to 1).",
21 /// Run ignored and non-ignored tests.
22 #[arg(long = "include-ignored", help = "Run ignored tests")]
45 /// No-op, ignored (libtest-mimic always runs in no-capture mode)
46 #[arg(long = "nocapture", help = "No-op (libtest-mimic always runs in no-capture mode)")]
59 /// This is an alias for `--format=terse`. If this is set, `format` is
64 conflicts_with = "format",
65 help = "Display one character per test instead of one line. Alias to --format=terse",
72 long = "test-threads",
103 - auto = colorize if stdout is a tty and tests are run on serially (default)\n\
104 - always = always colorize output\n\
105 - never = never colorize output\n",
109 /// Specifies the format of the output.
111 long = "format",
113 value_name = "pretty|terse|json",
115 - pretty = Print verbose output\n\
116 - terse = Display one character per test\n",
118 pub format: Option<FormatSetting>, field
134 /// the application exits. If help is requested (`-h` or `--help`), a help
136 pub fn from_args() -> Self { in from_args()
142 pub fn from_iter<I>(iter: I) -> Self in from_iter()
152 /// Possible values for the `--color` option.
167 fn default() -> Self { in default()
172 /// Possible values for the `--format` option.
176 Pretty, enumerator
183 fn default() -> Self { in default()
184 FormatSetting::Pretty in default()