Skip to content

Commit

Permalink
Include OnOutputOnly and BeforeAndAfter labels. (#789)
Browse files Browse the repository at this point in the history
Note On and All as deprecated.
See nunit/nunit-console#721 and nunit/nunit-console#630 for relevant changes. 9919fa4
  • Loading branch information
SeanKilleen committed Sep 2, 2023
1 parent 109f1a8 commit 5ebd1ae
Show file tree
Hide file tree
Showing 3 changed files with 352 additions and 352 deletions.
2 changes: 1 addition & 1 deletion articles/nunit/running-tests/Console-Command-Line.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ <h2 id="options">Options</h2>
</tr>
<tr>
<td><code>--labels=VALUE</code></td>
<td>Specify whether to write test case names to the output. Values: Off, On, Before, After, or All. If not specified, defaults to Off. <strong>Off</strong>: No labeling is used. Both normal and immediate output appear in the order produced - i.e. immediate first. <strong>On</strong>: A label appears before each sequence of output lines from the same test. Since tests may be run in parallel, output from different tests may be intermixed. <strong>Before</strong>: A label appears at the start of every test, whether it produces output or not. Additional labels are produced as needed if interspersed output takes place, just as for <code>--labels=On</code>. Synonym for <code>--labels=All</code>. <strong>labels=After</strong>: A label appears at the end of every test, whether it produced output or not. This label includes the pass/fail status of the test in addition to its name. Additional labels are produced as needed if there is any output, just as for <code>--labels=On</code>. <strong>All</strong>: A label appears at the start of every test, whether it produces output or not. Additional labels are produced as needed if interspersed output takes place, just as for <code>--labels=On</code>. Synonym for <code>--labels=Before</code>.</td>
<td>Specify whether to write test case names to the output. Values: Off, OnOutputOnly, Before, After, BeforeAndAfter, On, or All. If not specified, defaults to Off. <strong>Off</strong>: No labeling is used. Both normal and immediate output appear in the order produced - i.e. immediate first. <strong>OnOutputOnly</strong>: A label appears before each sequence of output lines from the same test. Since tests may be run in parallel, output from different tests may be intermixed. <strong>Before</strong>: A label appears at the start of every test, whether it produces output or not. Additional labels are produced as needed if interspersed output takes place, just as for <code>--labels=OnOutputOnly</code>. <strong>labels=After</strong>: A label appears at the end of every test, whether it produced output or not. This label includes the pass/fail status of the test in addition to its name. Additional labels are produced as needed if there is any output, just as for <code>--labels=OnOutputOnly</code>. <strong>BeforeAndAfter</strong> A label appears at the start and end of every test, whether it produced output or not. The label at the end of the test includes the pass/fail status of the test in addition to its name. Additional labels are produced as needed if interspersed output takes place, just as for <code>--labels=OnOutputOnly</code>. <strong>On</strong>. Synonym for <code>--labels=OnOutputOnly</code>, now deprecated (will be removed in a future release). <strong>All</strong>: Synonym for <code>--labels=Before</code>, now deprecated (will be removed in a future release).</td>
</tr>
<tr>
<td><code>--test-name-format=VALUE</code></td>
Expand Down
Loading

0 comments on commit 5ebd1ae

Please sign in to comment.