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