diff --git a/docs/core/testing/unit-testing-with-dotnet-test.md b/docs/core/testing/unit-testing-with-dotnet-test.md index 64505d8d07fcf..4f7c73feb2965 100644 --- a/docs/core/testing/unit-testing-with-dotnet-test.md +++ b/docs/core/testing/unit-testing-with-dotnet-test.md @@ -90,12 +90,12 @@ To address the issues encountered when running `dotnet test` with MTP in VSTest To enable this mode, add a `dotnet.config` file to the root of the repository or solution. ```ini -[dotnet.test:runner] +[dotnet.test.runner] name = "Microsoft.Testing.Platform" ``` -> [!NOTE] -> The format will change from `dotnet.test:runner` to `dotnet.test.runner` in .NET 10 SDK Preview 4. +> [!IMPORTANT] +> The `dotnet test` experience for MTP is only supported in Microsoft.Testing.Platform version 1.7 and later. Since this mode is specifically designed for Microsoft.Testing.Platform, neither `TestingPlatformDotnetTestSupport` nor the additional `--` are required. diff --git a/docs/core/tools/dotnet-test.md b/docs/core/tools/dotnet-test.md index 2e9a5afbf0ab9..a3b929ad47a59 100644 --- a/docs/core/tools/dotnet-test.md +++ b/docs/core/tools/dotnet-test.md @@ -16,17 +16,17 @@ The `dotnet test` command builds the solution and runs the tests with either VST Some examples of the `dotnet.config` file: ```ini - [dotnet.test:runner] + [dotnet.test.runner] name = "Microsoft.Testing.Platform" ``` ```ini - [dotnet.test:runner] + [dotnet.test.runner] name = "VSTest" ``` -> [!NOTE] -> The format will change from `dotnet.test:runner` to `dotnet.test.runner` in .NET 10 SDK Preview 4. +> [!IMPORTANT] +> The `dotnet test` experience for MTP is only supported in Microsoft.Testing.Platform version 1.7 and later. > [!TIP] > For conceptual documentation about `dotnet test`, see [Testing with dotnet test](../testing/unit-testing-with-dotnet-test.md).