From e829929976584ed9d0ead6e461c9a5eb9171c9c0 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Thu, 12 Jun 2025 12:11:45 +0200 Subject: [PATCH 1/3] Document launchSettings support in dotnet test --- docs/core/tools/dotnet-test.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/core/tools/dotnet-test.md b/docs/core/tools/dotnet-test.md index fc85473800974..1776f3851757a 100644 --- a/docs/core/tools/dotnet-test.md +++ b/docs/core/tools/dotnet-test.md @@ -436,6 +436,8 @@ dotnet test [--no-restore] [--no-ansi] [--no-progress] + [--no-launch-profile] + [--no-launch-profile-arguments] [--output ] [...] @@ -519,6 +521,14 @@ With Microsoft Testing Platform, `dotnet test` operates faster than with VSTest. Disables reporting progress to screen. +- **`--no-launch-profile`** + + 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. + +- **`--no-launch-profile-arguments`** + + Do not use arguments specified by `commandLineArgs` in launch profile to run the application. + - **`--output `** Specifies the output verbosity when reporting tests. Valid values are `Normal` and `Detailed`. The default is `Normal`. From cc10dc84400d0489bfb5da9e7196cc453eb4b149 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Thu, 12 Jun 2025 12:15:06 +0200 Subject: [PATCH 2/3] Move to end --- docs/core/tools/dotnet-test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/tools/dotnet-test.md b/docs/core/tools/dotnet-test.md index 1776f3851757a..6b48f8e7cced4 100644 --- a/docs/core/tools/dotnet-test.md +++ b/docs/core/tools/dotnet-test.md @@ -436,9 +436,9 @@ dotnet test [--no-restore] [--no-ansi] [--no-progress] + [--output ] [--no-launch-profile] [--no-launch-profile-arguments] - [--output ] [...] dotnet test -h|--help From eef56f9fa70e7669c248b51b1a36fef4f9731769 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Thu, 12 Jun 2025 12:15:32 +0200 Subject: [PATCH 3/3] Move --- docs/core/tools/dotnet-test.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/core/tools/dotnet-test.md b/docs/core/tools/dotnet-test.md index 6b48f8e7cced4..a5f765d6f3b59 100644 --- a/docs/core/tools/dotnet-test.md +++ b/docs/core/tools/dotnet-test.md @@ -521,6 +521,10 @@ With Microsoft Testing Platform, `dotnet test` operates faster than with VSTest. Disables reporting progress to screen. +- **`--output `** + + Specifies the output verbosity when reporting tests. Valid values are `Normal` and `Detailed`. The default is `Normal`. + - **`--no-launch-profile`** 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. @@ -529,10 +533,6 @@ With Microsoft Testing Platform, `dotnet test` operates faster than with VSTest. Do not use arguments specified by `commandLineArgs` in launch profile to run the application. -- **`--output `** - - Specifies the output verbosity when reporting tests. Valid values are `Normal` and `Detailed`. The default is `Normal`. - - **`--property:=`** Sets one or more MSBuild properties. Specify multiple properties by repeating the option: