Skip to content

Commit 68d7eed

Browse files
Update dotnet-test to reflect latest preview behavior (#46279)
* Update dotnet-test to reflect latest preview behavior * Update unit-testing-with-dotnet-test.md * Apply suggestions from code review Co-authored-by: David Pine <[email protected]> --------- Co-authored-by: David Pine <[email protected]>
1 parent fef25bc commit 68d7eed

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/core/testing/unit-testing-with-dotnet-test.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ To address the issues encountered when running `dotnet test` with MTP in VSTest
9090
To enable this mode, add a `dotnet.config` file to the root of the repository or solution.
9191
9292
```ini
93-
[dotnet.test:runner]
93+
[dotnet.test.runner]
9494
name = "Microsoft.Testing.Platform"
9595
```
9696
97-
> [!NOTE]
98-
> The format will change from `dotnet.test:runner` to `dotnet.test.runner` in .NET 10 SDK Preview 4.
97+
> [!IMPORTANT]
98+
> The `dotnet test` experience for MTP is only supported in `Microsoft.Testing.Platform` version 1.7 and later.
9999
100100
Since this mode is specifically designed for Microsoft.Testing.Platform, neither `TestingPlatformDotnetTestSupport` nor the additional `--` are required.
101101

docs/core/tools/dotnet-test.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ The `dotnet test` command builds the solution and runs the tests with either VST
1616
Some examples of the `dotnet.config` file:
1717

1818
```ini
19-
[dotnet.test:runner]
19+
[dotnet.test.runner]
2020
name = "Microsoft.Testing.Platform"
2121
```
2222

2323
```ini
24-
[dotnet.test:runner]
24+
[dotnet.test.runner]
2525
name = "VSTest"
2626
```
2727

28-
> [!NOTE]
29-
> The format will change from `dotnet.test:runner` to `dotnet.test.runner` in .NET 10 SDK Preview 4.
28+
> [!IMPORTANT]
29+
> The `dotnet test` experience for MTP is only supported in `Microsoft.Testing.Platform` version 1.7 and later.
3030
3131
> [!TIP]
3232
> For conceptual documentation about `dotnet test`, see [Testing with dotnet test](../testing/unit-testing-with-dotnet-test.md).

0 commit comments

Comments
 (0)