You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core/project-sdk/msbuild-props.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1556,11 +1556,11 @@ When you use the [MSTest project SDK](../testing/unit-testing-mstest-sdk.md), th
1556
1556
|`None`| No extensions are enabled. |
1557
1557
|`AllMicrosoft`| Enable all extensions shipped by Microsoft (including extensions with a restrictive license). |
1558
1558
1559
-
For more information, see [MSTest runner profile](../testing/unit-testing-mstest-sdk.md#mstest-runner-profile).
1559
+
For more information, see [Microsoft.Testing.Platform profile](../testing/unit-testing-mstest-sdk.md#microsofttestingplatform-profile).
1560
1560
1561
1561
### UseVSTest
1562
1562
1563
-
Set the `UseVSTest` property to `true` to switch from the MSTest runner to the [VSTest](/visualstudio/test/vstest-console-options) runner when using the [MSTest project SDK](../testing/unit-testing-mstest-sdk.md).
1563
+
Set the `UseVSTest` property to `true` to switch from Microsoft.Testing.Platform to the [VSTest](/visualstudio/test/vstest-console-options) runner when using the [MSTest project SDK](../testing/unit-testing-mstest-sdk.md).
Copy file name to clipboardExpand all lines: docs/core/testing/microsoft-testing-platform-vs-vstest.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.date: 12/15/2023
8
8
9
9
# Microsoft.Testing.Platform and VSTest comparison
10
10
11
-
`Microsoft.Testing.Platform` is a lightweight and portable alternative to [VSTest](https://github.com/microsoft/vstest) for running tests in command line, in continuous integration (CI) pipelines, in Visual Studio Test Explorer, and in Visual Studio Code. In this article, you learn the key differences between the MSTest runner and VSTest.
11
+
`Microsoft.Testing.Platform` is a lightweight and portable alternative to [VSTest](https://github.com/microsoft/vstest) for running tests in command line, in continuous integration (CI) pipelines, in Visual Studio Test Explorer, and in Visual Studio Code. In this article, you learn the key differences between Microsoft.Testing.Platform and VSTest.
Copy file name to clipboardExpand all lines: docs/core/testing/unit-testing-fsharp-with-mstest.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ Make the *MathService.Tests* directory the current directory and create a new pr
56
56
</ItemGroup>
57
57
```
58
58
59
-
The test project requires other packages to create and run unit tests. `dotnet new` in the previous step added MSTest and the MSTest runner. Now, add the `MathService` class library as another dependency to the project. Use the `dotnet add reference` command:
59
+
The test project requires other packages to create and run unit tests. `dotnet new` in the previous step added MSTest. Now, add the `MathService` class library as another dependency to the project. Use the `dotnet add reference` command:
Copy file name to clipboardExpand all lines: docs/core/testing/unit-testing-mstest-runner-intro.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,11 @@ MSTest supports running tests with both VSTest and [Microsoft.Testing.Platform (
12
12
13
13
The MSTest runner is open source and builds on the [`Microsoft.Testing.Platform`](./microsoft-testing-platform-intro.md) library. You can find `Microsoft.Testing.Platform` code in the [microsoft/testfx](https://github.com/microsoft/testfx/tree/main/src/Platform/Microsoft.Testing.Platform) GitHub repository. The MSTest runner comes bundled with `MSTest in 3.2.0` or newer.
14
14
15
-
## Enable MSTest runner in an MSTest project
15
+
## Enable Microsoft.Testing.Platform in an MSTest project
16
16
17
-
It's recommended to use [MSTest SDK](./unit-testing-mstest-sdk.md) as it greatly simplifies your project configuration and updating the project, and it ensures a proper alignment of the versions of the platform (MSTest runner) and its extensions.
17
+
It's recommended to use [MSTest SDK](./unit-testing-mstest-sdk.md) as it greatly simplifies your project configuration and updating the project, and it ensures a proper alignment of the versions of the platform (Microsoft.Testing.Platform) and its extensions.
18
18
19
-
When you use `MSTest SDK`, by default you're opted in to using MSTest runner.
19
+
When you use `MSTest SDK`, by default you're opted in to using Microsoft.Testing.Platform.
20
20
21
21
```xml
22
22
<ProjectSdk="MSTest.Sdk/3.8.2">
@@ -38,7 +38,7 @@ Consider the following example project file:
38
38
<ProjectSdk="Microsoft.NET.Sdk">
39
39
40
40
<PropertyGroup>
41
-
<!-- Enable the MSTest runner, this is an opt-in feature -->
41
+
<!-- Enable Microsoft.Testing.Platform, this is an opt-in feature -->
@@ -89,7 +89,7 @@ Consider the following example project file:
89
89
90
90
### .runsettings
91
91
92
-
The MSTest runner supports the [runsettings](microsoft-testing-platform-extensions-vstest-bridge.md#runsettings-support) through the command-line option `--settings`. For the full list of supported MSTest entries, see [Configure MSTest: Runsettings](./unit-testing-mstest-configure.md#runsettings). The following commands show various usage examples.
92
+
Microsoft.Testing.Platform supports the [runsettings](microsoft-testing-platform-extensions-vstest-bridge.md#runsettings-support) through the command-line option `--settings`. For the full list of supported MSTest entries, see [Configure MSTest: Runsettings](./unit-testing-mstest-configure.md#runsettings). The following commands show various usage examples.
Copy file name to clipboardExpand all lines: docs/core/testing/unit-testing-mstest-sdk.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,16 +68,16 @@ You don't need anything else to build and run your tests and you can use the sam
68
68
69
69
## Select the runner
70
70
71
-
By default, MSTest SDK relies on [MSTest runner](./unit-testing-mstest-runner-intro.md), but you can switch to [VSTest](/visualstudio/test/vstest-console-options) by adding the property `<UseVSTest>true</UseVSTest>`.
71
+
By default, MSTest SDK relies on [Microsoft.Testing.Platform](./unit-testing-mstest-runner-intro.md), but you can switch to [VSTest](/visualstudio/test/vstest-console-options) by adding the property `<UseVSTest>true</UseVSTest>`.
72
72
73
-
## Extend MSTest runner
73
+
## Extend Microsoft.Testing.Platform
74
74
75
-
You can customize `MSTest runner` experience through a set of [NuGet package extensions](./microsoft-testing-platform-extensions.md). To simplify and improve this experience, MSTest SDK introduces two features:
75
+
You can customize `Microsoft.Testing.Platform` experience through a set of [NuGet package extensions](./microsoft-testing-platform-extensions.md). To simplify and improve this experience, MSTest SDK introduces two features:
-[Enable or disable extensions](#enable-or-disable-extensions)
79
79
80
-
### MSTest runner profile
80
+
### Microsoft.Testing.Platform profile
81
81
82
82
The concept of *profiles* allows you to select the default set of configurations and extensions that will be applied to your test project.
83
83
@@ -275,7 +275,7 @@ Finally, based on the extensions profile you're using, you can also remove some
275
275
276
276
### Update your CI
277
277
278
-
Once you've updated your projects, if you're using `MSTest runner` (default) and if you rely on `dotnet test` to run your tests, you must update your CI configuration. For more information and to guide your understanding of all the required changes, see [dotnet test integration](./microsoft-testing-platform-integration-dotnet-test.md#dotnet-test---microsofttestingplatform-mode).
278
+
Once you've updated your projects, if you're using `Microsoft.Testing.Platform` (default) and if you rely on `dotnet test` to run your tests, you must update your CI configuration. For more information and to guide your understanding of all the required changes, see [dotnet test integration](./microsoft-testing-platform-integration-dotnet-test.md#dotnet-test---microsofttestingplatform-mode).
279
279
280
280
Here's an example update when using the `DotNetCoreCLI` task in Azure DevOps:
Copy file name to clipboardExpand all lines: docs/core/testing/unit-testing-visual-basic-with-mstest.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ Make the *PrimeService.Tests* directory the current directory and create a new p
61
61
</ItemGroup>
62
62
```
63
63
64
-
The test project requires other packages to create and run unit tests. `dotnet new` in the previous step added MSTest and the MSTest runner. Now, add the `PrimeService` class library as another dependency to the project. Use the [`dotnet add reference`](../tools/dotnet-add-reference.md) command:
64
+
The test project requires other packages to create and run unit tests. `dotnet new` in the previous step added MSTest. Now, add the `PrimeService` class library as another dependency to the project. Use the [`dotnet add reference`](../tools/dotnet-add-reference.md) command:
0 commit comments