Skip to content

Commit 25ddea4

Browse files
authored
Add --mainthread option to NUnitLite documentation
1 parent 4969d3e commit 25ddea4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/articles/nunit/running-tests/NUnitLite-Options.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The NUnitLite runner is invoked by executing the test program. If desired, any o
1212
| `--timeout=MILLISECONDS` | Set timeout for each test case in MILLISECONDS. |
1313
| `--seed=SEED` | Set the random SEED used to generate test cases. |
1414
| `--workers=NUMBER` | Specify the NUMBER of worker threads to be used in running tests. If not specified, defaults to 2 or the number of processors, whichever is greater. |
15+
| `--mainthread` | Causes tests to run in the main application thread. Will cause `--workers` to be ignored. (_NUnitLite 4.6+_) |
1516
| `--stoponerror` | Stop run immediately upon any test failure or error. |
1617
| `--wait` | Wait for input before closing console window. |
1718
| `--work=PATH` | PATH of the directory to use for output files. If not specified, defaults to the current directory. |

0 commit comments

Comments
 (0)