From 420c7684f13f91b23740cee30fdeb27ab7192c86 Mon Sep 17 00:00:00 2001 From: Petr Kulikov Date: Mon, 20 Apr 2020 12:52:01 +0200 Subject: [PATCH] dotnet test: fix options --- docs/core/tools/dotnet-test.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/core/tools/dotnet-test.md b/docs/core/tools/dotnet-test.md index f19e9892a4bce..d5af8ae658b15 100644 --- a/docs/core/tools/dotnet-test.md +++ b/docs/core/tools/dotnet-test.md @@ -45,7 +45,7 @@ Test projects specify the test runner using an ordinary `` ele ## Options -- **`a|--test-adapter-path `** +- **`-a|--test-adapter-path `** Use the custom test adapters from the specified path in the test run. @@ -53,19 +53,19 @@ Test projects specify the test runner using an ordinary `` ele Runs the tests in blame mode. This option is helpful in isolating problematic tests that cause the test host to crash. It creates an output file in the current directory as *Sequence.xml* that captures the order of tests execution before the crash. -- **`c|--configuration `** +- **`-c|--configuration `** Defines the build configuration. The default value is `Debug`, but your project's configuration could override this default SDK setting. -- **`-collect `** +- **`--collect `** Enables data collector for the test run. For more information, see [Monitor and analyze test run](https://aka.ms/vstest-collect). -- **`d|--diag `** +- **`-d|--diag `** Enables diagnostic mode for the test platform and write diagnostic messages to the specified file. -- **`f|--framework `** +- **`-f|--framework `** Looks for test binaries for a specific [framework](../../standard/frameworks.md). @@ -73,7 +73,7 @@ Test projects specify the test runner using an ordinary `` ele Filters out tests in the current project using the given expression. For more information, see the [Filter option details](#filter-option-details) section. For more information and examples on how to use selective unit test filtering, see [Running selective unit tests](../testing/selective-unit-tests.md). -- **`h|--help`** +- **`-h|--help`** Prints out a short help for the command. @@ -81,7 +81,7 @@ Test projects specify the test runner using an ordinary `` ele Allows the command to stop and wait for user input or action. For example, to complete authentication. Available since .NET Core 3.0 SDK. -- **`l|--logger `** +- **`-l|--logger `** Specifies a logger for test results. Unlike MSBuild, dotnet test doesn't accept abbreviations: instead of `-l "console;v=d"` use `-l "console;verbosity=detailed"`.