MSTest.TestAdapter 4.5.1
MSTest.TestAdapter
MSTest is Microsoft supported Test Framework.
This package includes the adapter logic to discover and run tests. For access to the testing framework, install the MSTest.TestFramework package.
Getting started
After referencing both MSTest.TestAdapter and MSTest.TestFramework, define tests with [TestClass] and [TestMethod]:
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class CalculatorTests
{
[TestMethod]
public void AddReturnsExpectedResult()
=> Assert.AreEqual(4, 2 + 2);
}
Supported platforms:
- .NET 4.6.2+
- .NET 8.0+
- .NET 8.0 Windows.18362+ (WinUI)
- UWP 10.0.16299
- UWP 10.0.17763 with .NET 9+
Runsettings on Microsoft.Testing.Platform
When using the MSTest runner on Microsoft.Testing.Platform, .runsettings files can
configure MSTest through the MSTest section (or its MSTestV2 alias), test parameters
through TestRunParameters, and supported settings through RunConfiguration.
VSTest ISettingsProvider extensions are not invoked. Other top-level sections, such
as Playwright, produce a warning and are not applied by MSTest. Use the extension's
native Microsoft.Testing.Platform configuration when available. VSTest loggers,
data collectors, and unsupported RunConfiguration entries retain their own warnings.
Documentation
For installation and configuration guidance, see https://learn.microsoft.com/dotnet/core/testing/unit-testing-mstest-getting-started.
For information about running tests, see https://learn.microsoft.com/dotnet/core/testing/unit-testing-mstest-running-tests.
Showing the top 20 packages that depend on MSTest.TestAdapter.
| Packages | Downloads |
|---|---|
|
MSTest
A meta package to simplify test projects.
Supported platforms:
- .NET 4.6.2+
- .NET Core 3.1+ (Universal Windows Apps 10+)
- .NET 6.0
- .NET 6.0 Windows.18362+
- ASP.NET Core 1.0+
|
24 |
|
MSTest
A meta package to simplify test projects.
Supported platforms:
- .NET 4.6.2+
- .NET Core 3.1+ (Universal Windows Apps 10+)
- .NET 6.0
- .NET 6.0 Windows.18362+
- ASP.NET Core 1.0+
|
25 |
|
MSTest
A meta package to simplify test projects.
Supported platforms:
- .NET 4.6.2+
- .NET Core 3.1+ (Universal Windows Apps 10+)
- .NET 6.0
- .NET 6.0 Windows.18362+
- ASP.NET Core 1.0+
|
27 |
|
MSTest
MSTest is Microsoft supported Test Framework.
This package is a meta package to simplify test projects. It includes MSTest.TestFramework and MSTest.TestAdapter.
Supported platforms:
- .NET 4.6.2+
- .NET Core 3.1+
- .NET 6.0
- .NET 6.0 Windows.18362+
- UWP 10.0.16299
|
24 |
|
MSTest
MSTest is Microsoft supported Test Framework.
This package is a meta package to simplify test projects. It includes MSTest.TestFramework and MSTest.TestAdapter.
Supported platforms:
- .NET 4.6.2+
- .NET Core 3.1+
- .NET 6.0+
- .NET 6.0 Windows.18362+
- UWP 10.0.16299
|
25 |
|
MSTest
MSTest is Microsoft supported Test Framework.
This package is a meta package to simplify test projects. It includes MSTest.TestFramework and MSTest.TestAdapter.
Supported platforms:
- .NET 4.6.2+
- .NET Core 3.1+
- .NET 6.0+
- .NET 6.0 Windows.18362+
- UWP 10.0.16299
|
26 |
|
MSTest
MSTest is Microsoft supported Test Framework.
This package is a meta package to simplify test projects. It includes MSTest.TestFramework and MSTest.TestAdapter.
Supported platforms:
- .NET 4.6.2+
- .NET Core 3.1+
- .NET 6.0+
- .NET 6.0 Windows.18362+
- UWP 10.0.16299
|
28 |
|
MSTest
MSTest is Microsoft supported Test Framework.
This package is a meta package to simplify test projects. It includes MSTest.TestFramework and MSTest.TestAdapter.
Supported platforms:
- .NET 4.6.2+
- .NET Core 3.1+
- .NET 6.0+
- .NET 6.0 Windows.18362+
- UWP 10.0.16299
- UWP 10.0.17763 with .NET 9+
|
25 |
|
MSTest
MSTest is Microsoft supported Test Framework.
This package is a meta package to simplify test projects. It includes MSTest.TestFramework and MSTest.TestAdapter.
Supported platforms:
- .NET 4.6.2+
- .NET Core 3.1+
- .NET 6.0+
- .NET 6.0 Windows.18362+
- UWP 10.0.16299
- UWP 10.0.17763 with .NET 9+
|
26 |
|
MSTest
MSTest is Microsoft supported Test Framework.
This package is a meta package to simplify test projects. It includes MSTest.TestFramework and MSTest.TestAdapter.
Supported platforms:
- .NET 4.6.2+
- .NET Core 3.1+
- .NET 6.0+
- .NET 6.0 Windows.18362+
- UWP 10.0.16299
- UWP 10.0.17763 with .NET 9+
|
27 |
.NET Framework 4.6.2
- Microsoft.Testing.Extensions.Telemetry (>= 2.5.1)
- Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.5.1)
- Microsoft.Testing.Platform.MSBuild (>= 2.5.1)
- MSTest.TestFramework (>= 4.5.1)
- Microsoft.TestPlatform.ObjectModel (>= 18.10.1)
- System.Memory (>= 4.6.3)
- System.Threading.Tasks.Extensions (>= 4.5.4)
.NET 9.0
- MSTest.TestFramework (>= 4.5.1)
- Microsoft.TestPlatform.ObjectModel (>= 18.10.1)
- Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.5.1)
- Microsoft.Testing.Extensions.Telemetry (>= 2.5.1)
- Microsoft.Testing.Platform.MSBuild (>= 2.5.1)
.NET 9.0
- Microsoft.Testing.Extensions.Telemetry (>= 2.5.1)
- Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.5.1)
- Microsoft.Testing.Platform.MSBuild (>= 2.5.1)
- MSTest.TestFramework (>= 4.5.1)
- Microsoft.TestPlatform.ObjectModel (>= 18.10.1)
UAP 10.0.16299
- Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.5.1)
- Microsoft.Testing.Platform.MSBuild (>= 2.5.1)
- MSTest.TestFramework (>= 4.5.1)
- Microsoft.TestPlatform.ObjectModel (>= 18.10.1)
- System.Memory (>= 4.6.3)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- Microsoft.Testing.Extensions.Telemetry (>= 2.5.1)
.NET 8.0
- MSTest.TestFramework (>= 4.5.1)
- Microsoft.TestPlatform.ObjectModel (>= 18.10.1)
- Microsoft.Testing.Extensions.Telemetry (>= 2.5.1)
- Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.5.1)
- Microsoft.Testing.Platform.MSBuild (>= 2.5.1)
.NET 8.0
- Microsoft.Testing.Extensions.Telemetry (>= 2.5.1)
- Microsoft.Testing.Platform.MSBuild (>= 2.5.1)
- MSTest.TestFramework (>= 4.5.1)
- Microsoft.TestPlatform.ObjectModel (>= 18.10.1)
- Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.5.1)
| Version | Downloads | Last updated |
|---|---|---|
| 4.5.1 | 1 | 10/09/2026 |
| 4.4.1 | 2 | 09/17/2026 |
| 4.4.0 | 3 | 09/06/2026 |
| 4.3.3 | 3 | 08/15/2026 |
| 4.3.2 | 13 | 07/19/2026 |
| 4.3.0 | 9 | 07/23/2026 |
| 4.2.3 | 9 | 05/19/2026 |
| 4.2.2 | 10 | 05/04/2026 |
| 4.2.1 | 8 | 04/09/2026 |
| 4.1.0 | 13 | 02/11/2026 |
| 4.0.2 | 21 | 11/14/2025 |
| 4.0.1 | 19 | 10/14/2025 |
| 4.0.0 | 18 | 10/08/2025 |
| 4.0.0-preview.25480.4 | 17 | 10/05/2025 |
| 4.0.0-preview.25465.3 | 13 | 09/23/2025 |
| 4.0.0-preview.25454.2 | 21 | 09/05/2025 |
| 4.0.0-preview.25452.10 | 16 | 09/07/2025 |
| 4.0.0-preview.25415.9 | 22 | 08/21/2025 |
| 4.0.0-preview.25372.6 | 16 | 08/09/2025 |
| 4.0.0-preview.25358.7 | 23 | 07/18/2025 |
| 3.11.1 | 16 | 11/14/2025 |
| 3.11.0 | 18 | 10/06/2025 |
| 3.10.5 | 21 | 10/06/2025 |
| 3.10.4 | 17 | 09/06/2025 |
| 3.10.3 | 23 | 09/06/2025 |
| 3.10.2 | 18 | 08/13/2025 |
| 3.10.1 | 21 | 08/08/2025 |
| 3.10.0 | 20 | 08/07/2025 |
| 3.9.3 | 22 | 06/22/2025 |
| 3.9.2 | 22 | 06/22/2025 |
| 3.9.1 | 19 | 06/06/2025 |
| 3.9.0 | 24 | 06/07/2025 |
| 3.9.0-preview.25167.10 | 16 | 04/05/2025 |
| 3.8.3 | 23 | 04/05/2025 |
| 3.8.2 | 20 | 02/26/2025 |
| 3.8.1 | 25 | 02/18/2025 |
| 3.8.0 | 29 | 02/19/2025 |
| 3.7.3 | 27 | 01/31/2025 |
| 3.7.2 | 22 | 01/31/2025 |
| 3.7.1 | 25 | 01/19/2025 |
| 3.7.0 | 30 | 01/19/2025 |
| 3.6.4 | 22 | 01/19/2025 |
| 3.6.3 | 25 | 01/19/2025 |
| 3.6.2 | 25 | 01/19/2025 |
| 3.6.1 | 29 | 01/19/2025 |
| 3.6.0 | 21 | 02/19/2025 |
| 3.5.2 | 33 | 01/19/2025 |
| 3.5.1 | 28 | 01/19/2025 |
| 3.5.0 | 25 | 01/19/2025 |
| 3.5.0-preview.24325.7 | 18 | 01/19/2025 |
| 3.4.3 | 27 | 01/19/2025 |
| 3.4.2 | 27 | 01/19/2025 |
| 3.4.1 | 33 | 01/19/2025 |
| 3.4.0 | 26 | 01/19/2025 |
| 3.3.1 | 29 | 01/19/2025 |
| 3.3.0 | 31 | 01/19/2025 |
| 3.3.0-preview.24164.4 | 17 | 01/19/2025 |
| 3.2.2 | 27 | 01/19/2025 |
| 3.2.1 | 26 | 03/21/2024 |
| 3.2.0 | 25 | 03/21/2024 |
| 3.2.0-preview.24069.3 | 23 | 03/05/2024 |
| 3.2.0-preview.23623.1 | 26 | 03/21/2024 |
| 3.2.0-preview.23622.1 | 31 | 03/21/2024 |
| 3.1.1 | 31 | 03/04/2024 |
| 3.0.4 | 28 | 03/21/2024 |
| 3.0.3 | 23 | 03/22/2024 |
| 3.0.2 | 27 | 01/19/2025 |
| 3.0.1 | 31 | 03/18/2024 |
| 3.0.0 | 36 | 08/18/2023 |
| 3.0.0-preview-20221122-01 | 23 | 03/02/2024 |
| 3.0.0-preview-20221110-04 | 22 | 01/19/2025 |
| 2.3.0-preview-20220810-02 | 22 | 01/19/2025 |
| 2.2.10 | 55 | 08/18/2023 |
| 2.2.10-preview-20220414-01 | 21 | 03/03/2024 |
| 2.2.9 | 33 | 03/21/2024 |
| 2.2.9-preview-20220210-07 | 22 | 03/21/2024 |
| 2.2.8 | 26 | 03/21/2024 |
| 2.2.7 | 26 | 03/21/2024 |
| 2.2.6 | 27 | 03/21/2024 |
| 2.2.5 | 29 | 03/21/2024 |
| 2.2.5-preview-20210605-01 | 24 | 03/03/2024 |
| 2.2.5-preview-20210604-01 | 21 | 03/03/2024 |
| 2.2.5-preview-20210531-02 | 30 | 03/03/2024 |
| 2.2.4 | 28 | 03/21/2024 |
| 2.2.4-preview-20210513-02 | 24 | 03/21/2024 |
| 2.2.4-preview-20210331-02 | 25 | 03/02/2024 |
| 2.2.3 | 26 | 03/21/2024 |
| 2.2.2 | 23 | 03/21/2024 |
| 2.2.1 | 27 | 03/22/2024 |
| 2.2.0-preview-20210115-03 | 23 | 03/04/2024 |
| 2.2.0-preview-20201126-03 | 22 | 03/21/2024 |
| 2.1.2 | 28 | 03/21/2024 |
| 2.1.1 | 21 | 01/19/2025 |
| 2.1.0 | 28 | 03/21/2024 |
| 2.1.0-beta2 | 23 | 03/21/2024 |
| 2.1.0-beta | 29 | 03/02/2024 |
| 2.0.0 | 24 | 03/21/2024 |
| 2.0.0-beta4 | 23 | 03/21/2024 |
| 2.0.0-beta2 | 27 | 03/21/2024 |
| 1.4.0 | 30 | 03/21/2024 |
| 1.4.0-beta | 27 | 03/02/2024 |
| 1.3.2 | 26 | 03/03/2024 |
| 1.3.1 | 30 | 03/21/2024 |
| 1.3.0 | 31 | 03/21/2024 |
| 1.3.0-beta2 | 24 | 03/21/2024 |
| 1.2.1 | 27 | 03/21/2024 |
| 1.2.0 | 23 | 01/19/2025 |
| 1.2.0-beta3 | 32 | 03/03/2024 |
| 1.2.0-beta | 25 | 03/03/2024 |
| 1.1.18 | 25 | 03/21/2024 |
| 1.1.17 | 23 | 03/21/2024 |
| 1.1.14 | 27 | 03/21/2024 |
| 1.1.13 | 27 | 03/21/2024 |
| 1.1.12 | 26 | 03/19/2024 |
| 1.1.11 | 22 | 01/19/2025 |
| 1.1.10-rc2 | 26 | 03/21/2024 |
| 1.1.9-rc2 | 22 | 03/21/2024 |
| 1.1.8-rc | 22 | 01/19/2025 |
| 1.1.6-preview | 26 | 03/21/2024 |
| 1.1.5-preview | 28 | 01/19/2025 |
| 1.1.4-preview | 22 | 03/18/2024 |
| 1.1.3-preview | 25 | 03/21/2024 |
| 1.1.1-preview | 23 | 02/28/2024 |
| 1.0.3-preview | 25 | 03/03/2024 |
| 1.0.2-preview | 31 | 03/03/2024 |
| 1.0.0-preview | 22 | 03/21/2024 |