Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 4 additions & 13 deletions docs/core/tools/dotnet-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ The `dotnet test` command builds the solution and runs the tests with either VST

### Choosing a test runner

To enable MTP, you need to specify the test runner in the [`global.json`](global-json.md) file. Here are examples of how to configure the test runner:

**Microsoft Testing Platform:**
To enable Microsoft.Testing.Platform, you need to specify the test runner in the [`global.json`](global-json.md) file:

```json
{
Expand All @@ -30,16 +28,9 @@ To enable MTP, you need to specify the test runner in the [`global.json`](global
}
```

**VSTest:**

```json
{
"test": {
"runner": "VSTest"
}
}
```

> [!NOTE]
> `VSTest` is a valid value for test runner. It is the current default and can be omitted.
>
> [!IMPORTANT]
> The `dotnet test` experience for MTP is only supported in `Microsoft.Testing.Platform` version 1.7 and later.

Expand Down