Skip to content

Commit 791eabd

Browse files
authored
Document launchSettings support in dotnet test (#46795)
* Document launchSettings support in dotnet test * Move to end * Move
1 parent 58b0f3e commit 791eabd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/core/tools/dotnet-test.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,8 @@ dotnet test
437437
[--no-ansi]
438438
[--no-progress]
439439
[--output <VERBOSITY_LEVEL>]
440+
[--no-launch-profile]
441+
[--no-launch-profile-arguments]
440442
[<args>...]
441443
442444
dotnet test -h|--help
@@ -523,6 +525,14 @@ With Microsoft Testing Platform, `dotnet test` operates faster than with VSTest.
523525

524526
Specifies the output verbosity when reporting tests. Valid values are `Normal` and `Detailed`. The default is `Normal`.
525527

528+
- **`--no-launch-profile`**
529+
530+
Do not attempt to use launchSettings.json to configure the application. By default, `launchSettings.json` is used, which can apply environment variables and command-line arguments to the test executable.
531+
532+
- **`--no-launch-profile-arguments`**
533+
534+
Do not use arguments specified by `commandLineArgs` in launch profile to run the application.
535+
526536
- **`--property:<NAME>=<VALUE>`**
527537

528538
Sets one or more MSBuild properties. Specify multiple properties by repeating the option:

0 commit comments

Comments
 (0)