MSTest.TestAdapter 4.4.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+
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
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
|
1 |
See the release notes at https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#4.4.1.
.NET Framework 4.6.2
- Microsoft.Testing.Extensions.Telemetry (>= 2.4.1)
- Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.4.1)
- Microsoft.Testing.Platform.MSBuild (>= 2.4.1)
- MSTest.TestFramework (>= 4.4.1)
- Microsoft.TestPlatform.ObjectModel (>= 18.9.0)
- System.Memory (>= 4.6.3)
- System.Threading.Tasks.Extensions (>= 4.5.4)
.NET 8.0
- Microsoft.Testing.Extensions.Telemetry (>= 2.4.1)
- Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.4.1)
- Microsoft.Testing.Platform.MSBuild (>= 2.4.1)
- MSTest.TestFramework (>= 4.4.1)
- Microsoft.TestPlatform.ObjectModel (>= 18.9.0)
.NET 8.0
- Microsoft.Testing.Extensions.Telemetry (>= 2.4.1)
- Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.4.1)
- Microsoft.Testing.Platform.MSBuild (>= 2.4.1)
- MSTest.TestFramework (>= 4.4.1)
- Microsoft.TestPlatform.ObjectModel (>= 18.9.0)
.NET 9.0
- Microsoft.Testing.Extensions.Telemetry (>= 2.4.1)
- Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.4.1)
- Microsoft.Testing.Platform.MSBuild (>= 2.4.1)
- MSTest.TestFramework (>= 4.4.1)
- Microsoft.TestPlatform.ObjectModel (>= 18.9.0)
.NET 9.0
- Microsoft.Testing.Extensions.Telemetry (>= 2.4.1)
- Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.4.1)
- Microsoft.Testing.Platform.MSBuild (>= 2.4.1)
- MSTest.TestFramework (>= 4.4.1)
- Microsoft.TestPlatform.ObjectModel (>= 18.9.0)
UAP 10.0.16299
- MSTest.TestFramework (>= 4.4.1)
- Microsoft.TestPlatform.ObjectModel (>= 18.9.0)
- System.Memory (>= 4.6.3)
- System.Threading.Tasks.Extensions (>= 4.5.4)
| Version | Downloads | Last updated |
|---|---|---|
| 4.5.3 | 0 | 2026-11-11 |
| 4.5.2 | 0 | 2026-10-27 |
| 4.5.1 | 52 | 2026-10-13 |
| 4.4.1 | 5 | 2026-09-21 |
| 4.4.0 | 0 | 2026-09-02 |
| 4.3.3 | 0 | 2026-07-28 |
| 4.3.2 | 0 | 2026-07-13 |
| 4.3.0 | 0 | 2026-07-08 |
| 4.2.3 | 152 | 2026-05-21 |
| 4.2.2 | 0 | 2026-04-30 |
| 4.2.1 | 0 | 2026-04-07 |
| 4.1.0 | 101 | 2026-02-09 |
| 4.0.2 | 0 | 2025-11-11 |
| 4.0.1 | 208 | 2025-10-29 |
| 4.0.0 | 0 | 2025-10-07 |
| 4.0.0-preview.25480.4 | 0 | 2025-09-30 |
| 4.0.0-preview.25465.3 | 0 | 2025-09-15 |
| 4.0.0-preview.25454.2 | 0 | 2025-09-04 |
| 4.0.0-preview.25452.10 | 0 | 2025-09-02 |
| 4.0.0-preview.25415.9 | 0 | 2025-08-15 |
| 4.0.0-preview.25372.6 | 0 | 2025-07-22 |
| 4.0.0-preview.25358.7 | 0 | 2025-07-08 |
| 3.11.1 | 0 | 2025-11-11 |
| 3.11.0 | 0 | 2025-10-01 |
| 3.10.5 | 0 | 2025-09-30 |
| 3.10.4 | 206 | 2025-09-10 |
| 3.10.3 | 0 | 2025-08-26 |
| 3.10.2 | 0 | 2025-08-12 |
| 3.10.1 | 0 | 2025-08-05 |
| 3.10.0 | 0 | 2025-07-29 |
| 3.9.3 | 0 | 2025-06-17 |
| 3.9.2 | 0 | 2025-06-10 |
| 3.9.1 | 0 | 2025-05-27 |
| 3.9.0 | 0 | 2025-05-20 |
| 3.9.0-preview.25167.10 | 0 | 2025-03-18 |
| 3.8.3 | 183 | 2025-04-04 |
| 3.8.2 | 0 | 2025-02-19 |
| 3.8.1 | 0 | 2025-02-18 |
| 3.8.0 | 0 | 2025-02-12 |
| 3.7.3 | 0 | 2025-01-27 |
| 3.7.2 | 0 | 2025-01-21 |
| 3.7.1 | 0 | 2025-01-13 |
| 3.7.0 | 0 | 2024-12-20 |
| 3.6.4 | 1 | 2025-04-04 |
| 3.6.3 | 1 | 2025-03-04 |
| 3.6.2 | 0 | 2024-10-31 |
| 3.6.1 | 452 | 2025-05-06 |
| 3.6.0 | 0 | 2024-09-11 |
| 3.5.2 | 0 | 2024-08-13 |
| 3.5.1 | 0 | 2024-08-05 |
| 3.5.0 | 0 | 2024-07-16 |
| 3.5.0-preview.24325.7 | 0 | 2024-06-25 |
| 3.4.3 | 0 | 2024-05-30 |
| 3.4.2 | 0 | 2024-05-30 |
| 3.4.1 | 0 | 2024-05-27 |
| 3.4.0 | 0 | 2024-05-23 |
| 3.3.1 | 0 | 2024-04-04 |
| 3.3.0 | 0 | 2024-04-03 |
| 3.3.0-preview.24164.4 | 0 | 2024-03-14 |
| 3.2.2 | 0 | 2024-02-22 |
| 3.2.1 | 0 | 2024-02-13 |
| 3.2.0 | 0 | 2024-01-24 |
| 3.2.0-preview.24069.3 | 0 | 2024-01-19 |
| 3.2.0-preview.23623.1 | 0 | 2023-12-23 |
| 3.2.0-preview.23622.1 | 0 | 2023-12-22 |
| 3.1.1 | 11 | 2025-10-08 |
| 3.0.4 | 0 | 2023-06-01 |
| 3.0.3 | 0 | 2023-05-25 |
| 3.0.2 | 0 | 2022-12-27 |
| 3.0.1 | 0 | 2022-12-20 |
| 3.0.0 | 0 | 2022-12-06 |
| 3.0.0-preview-20221122-01 | 0 | 2022-11-23 |
| 3.0.0-preview-20221110-04 | 0 | 2022-11-11 |
| 2.3.0-preview-20220810-02 | 0 | 2022-08-10 |
| 2.2.10 | 2 | 2025-04-09 |
| 2.2.10-preview-20220414-01 | 0 | 2022-04-14 |
| 2.2.9 | 0 | 2022-04-08 |
| 2.2.9-preview-20220210-07 | 0 | 2022-02-10 |
| 2.2.8 | 0 | 2021-11-23 |
| 2.2.7 | 0 | 2021-09-03 |
| 2.2.6 | 0 | 2021-08-25 |
| 2.2.5 | 0 | 2021-06-28 |
| 2.2.5-preview-20210605-01 | 0 | 2021-06-05 |
| 2.2.5-preview-20210604-01 | 0 | 2021-06-04 |
| 2.2.5-preview-20210531-02 | 0 | 2021-05-31 |
| 2.2.4 | 0 | 2021-05-25 |
| 2.2.4-preview-20210513-02 | 0 | 2021-05-17 |
| 2.2.4-preview-20210331-02 | 0 | 2021-04-02 |
| 2.2.3 | 0 | 2021-03-16 |
| 2.2.2 | 0 | 2021-03-15 |
| 2.2.1 | 0 | 2021-03-01 |
| 2.2.0-preview-20210115-03 | 0 | 2021-01-20 |
| 2.2.0-preview-20201126-03 | 0 | 2020-11-26 |
| 2.1.2 | 2 | 2025-04-29 |
| 2.1.1 | 2 | 2025-04-08 |
| 2.1.0 | 0 | 2020-02-03 |
| 2.1.0-beta2 | 0 | 2019-12-18 |
| 2.1.0-beta | 0 | 2019-11-28 |
| 2.0.0 | 0 | 2019-09-03 |
| 2.0.0-beta4 | 0 | 2019-04-10 |
| 2.0.0-beta2 | 0 | 2019-02-15 |
| 1.4.0 | 0 | 2018-11-26 |
| 1.4.0-beta | 0 | 2018-10-17 |
| 1.3.2 | 0 | 2018-06-06 |
| 1.3.1 | 0 | 2018-05-25 |
| 1.3.0 | 0 | 2018-05-11 |
| 1.3.0-beta2 | 0 | 2018-01-15 |
| 1.2.1 | 0 | 2018-04-05 |
| 1.2.0 | 0 | 2017-10-11 |
| 1.2.0-beta3 | 0 | 2017-08-09 |
| 1.2.0-beta | 0 | 2017-06-29 |
| 1.1.18 | 0 | 2017-06-01 |
| 1.1.17 | 0 | 2017-04-21 |
| 1.1.14 | 0 | 2017-03-31 |
| 1.1.13 | 0 | 2017-03-10 |
| 1.1.12 | 0 | 2017-02-22 |
| 1.1.11 | 0 | 2017-02-17 |
| 1.1.10-rc2 | 0 | 2017-01-13 |
| 1.1.9-rc2 | 0 | 2017-01-11 |
| 1.1.8-rc | 0 | 2016-12-20 |
| 1.1.6-preview | 0 | 2016-11-25 |
| 1.1.5-preview | 0 | 2016-11-08 |
| 1.1.4-preview | 0 | 2016-10-11 |
| 1.1.3-preview | 0 | 2016-09-30 |
| 1.1.1-preview | 0 | 2016-09-16 |
| 1.0.3-preview | 0 | 2016-08-05 |
| 1.0.2-preview | 0 | 2016-07-22 |
| 1.0.0-preview | 0 | 2016-05-27 |