@@ -25,15 +25,15 @@ final ArgParser _parser = (() {
2525 if (! Platform .isWindows) allRuntimes.remove (Runtime .internetExplorer);
2626
2727 parser.addFlag ('help' ,
28- abbr: 'h' , negatable: false , help: 'Shows this usage information.' );
28+ abbr: 'h' , negatable: false , help: 'Show this usage information.' );
2929 parser.addFlag ('version' ,
30- negatable: false , help: "Shows the package's version." );
30+ negatable: false , help: 'Show the package:test version.' );
3131
3232 // Note that defaultsTo declarations here are only for documentation purposes.
3333 // We pass null instead of the default so that it merges properly with the
3434 // config file.
3535
36- parser.addSeparator ('======== Selecting Tests' );
36+ parser.addSeparator ('Selecting Tests: ' );
3737 parser.addMultiOption ('name' ,
3838 abbr: 'n' ,
3939 help: 'A substring of the name of the test to run.\n '
@@ -58,7 +58,7 @@ final ArgParser _parser = (() {
5858 parser.addFlag ('run-skipped' ,
5959 help: 'Run skipped tests instead of skipping them.' );
6060
61- parser.addSeparator ('======== Running Tests' );
61+ parser.addSeparator ('Running Tests: ' );
6262
6363 // The UI term "platform" corresponds with the implementation term "runtime".
6464 // The [Runtime] class used to be called [TestPlatform], but it was changed to
@@ -87,28 +87,29 @@ final ArgParser _parser = (() {
8787 help: 'The default test timeout. For example: 15s, 2x, none' ,
8888 defaultsTo: '30s' );
8989 parser.addFlag ('pause-after-load' ,
90- help: 'Pauses for debugging before any tests execute.\n '
90+ help: 'Pause for debugging before any tests execute.\n '
9191 'Implies --concurrency=1, --debug, and --timeout=none.\n '
9292 'Currently only supported for browser tests.' ,
9393 negatable: false );
9494 parser.addFlag ('debug' ,
95- help: 'Runs the VM and Chrome tests in debug mode.' , negatable: false );
95+ help: 'Run the VM and Chrome tests in debug mode.' , negatable: false );
9696 parser.addOption ('coverage' ,
97- help: 'Gathers coverage and outputs it to the specified directory.\n '
97+ help: 'Gather coverage and output it to the specified directory.\n '
9898 'Implies --debug.' ,
9999 valueHelp: 'directory' );
100100 parser.addFlag ('chain-stack-traces' ,
101- help: 'Chained stack traces to provide greater exception details\n '
101+ help: 'Use chained stack traces to provide greater exception details\n '
102102 'especially for asynchronous code. It may be useful to disable\n '
103103 'to provide improved test performance but at the cost of\n '
104104 'debuggability.' ,
105105 defaultsTo: true );
106106 parser.addFlag ('no-retry' ,
107- help: "Don't re-run tests that have retry set." ,
107+ help: "Don't rerun tests that have retry set." ,
108108 defaultsTo: false ,
109109 negatable: false );
110110 parser.addOption ('test-randomize-ordering-seed' ,
111- help: 'The seed to randomize the execution order of test cases.\n '
111+ help: 'Use the specified seed to randomize the execution order of test'
112+ ' cases.\n '
112113 'Must be a 32bit unsigned integer or "random".\n '
113114 'If "random", pick a random seed to use.\n '
114115 'If not passed, do not randomize test case execution order.' );
@@ -118,25 +119,24 @@ final ArgParser _parser = (() {
118119 reporterDescriptions[reporter] = allReporters[reporter]! .description;
119120 }
120121
121- parser.addSeparator ('======== Output' );
122+ parser.addSeparator ('Output: ' );
122123 parser.addOption ('reporter' ,
123124 abbr: 'r' ,
124- help: 'The runner used to print test results.' ,
125+ help: 'Set how to print test results.' ,
125126 defaultsTo: defaultReporter,
126127 allowed: reporterDescriptions.keys.toList (),
127128 allowedHelp: reporterDescriptions);
128129 parser.addOption ('file-reporter' ,
129- help: 'The reporter used to write test results to a file.\n '
130+ help: 'Set the reporter used to write test results to a file.\n '
130131 'Should be in the form <reporter>:<filepath>, '
131- 'e.g. "json:reports/tests.json"' );
132+ 'Example: "json:reports/tests.json"' );
132133 parser.addFlag ('verbose-trace' ,
133- negatable: false ,
134- help: 'Whether to emit stack traces with core library frames.' );
134+ negatable: false , help: 'Emit stack traces with core library frames.' );
135135 parser.addFlag ('js-trace' ,
136136 negatable: false ,
137- help: 'Whether to emit raw JavaScript stack traces for browser tests.' );
137+ help: 'Emit raw JavaScript stack traces for browser tests.' );
138138 parser.addFlag ('color' ,
139- help: 'Whether to use terminal colors.\n (auto-detected by default)' );
139+ help: 'Use terminal colors.\n (auto-detected by default)' );
140140
141141 /// The following options are used only by the internal Google test runner.
142142 /// They're hidden and not supported as stable API surface outside Google.
0 commit comments