MSTest 4.4.1
MSTest
MSTest is Microsoft supported Test Framework.
This package is a meta package that simplifies referencing all recommended MSTest packages.
Getting started
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 test authoring guidance, see https://learn.microsoft.com/dotnet/core/testing/unit-testing-mstest-writing-tests.
No packages depend on MSTest.
See the release notes at https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#4.4.1.
.NET Framework 4.6.2
- MSTest.TestAdapter (>= 4.4.1)
- Microsoft.Testing.Extensions.CodeCoverage (>= 18.11.0)
- Microsoft.NET.Test.Sdk (>= 18.9.0)
- MSTest.TestFramework (>= 4.4.1)
- Microsoft.Testing.Extensions.TrxReport (>= 2.4.1)
UAP 10.0.16299
- Microsoft.Testing.Extensions.CodeCoverage (>= 18.11.0)
- MSTest.TestFramework (>= 4.4.1)
- MSTest.TestAdapter (>= 4.4.1)
.NET 9.0
- Microsoft.Testing.Extensions.CodeCoverage (>= 18.11.0)
- Microsoft.NET.Test.Sdk (>= 18.9.0)
- MSTest.TestFramework (>= 4.4.1)
- MSTest.TestAdapter (>= 4.4.1)
- Microsoft.Testing.Extensions.TrxReport (>= 2.4.1)
.NET 8.0
- Microsoft.Testing.Extensions.CodeCoverage (>= 18.11.0)
- MSTest.TestFramework (>= 4.4.1)
- Microsoft.Testing.Extensions.TrxReport (>= 2.4.1)
- MSTest.TestAdapter (>= 4.4.1)
- Microsoft.NET.Test.Sdk (>= 18.9.0)
| Version | Downloads | Last updated |
|---|---|---|
| 4.4.1 | 1 | 09/24/2026 |
| 4.4.0 | 3 | 09/15/2026 |
| 4.3.3 | 5 | 07/31/2026 |
| 4.3.2 | 7 | 07/26/2026 |
| 4.3.0 | 6 | 07/26/2026 |
| 4.2.3 | 6 | 05/30/2026 |
| 4.2.2 | 6 | 05/30/2026 |
| 4.2.1 | 7 | 04/09/2026 |
| 4.1.0 | 8 | 02/14/2026 |
| 4.0.2 | 3 | 12/16/2025 |
| 4.0.1 | 3 | 12/16/2025 |
| 4.0.0 | 3 | 12/16/2025 |
| 4.0.0-preview.25480.4 | 0 | 12/11/2025 |
| 4.0.0-preview.25465.3 | 0 | 12/11/2025 |
| 4.0.0-preview.25454.2 | 1 | 12/11/2025 |
| 4.0.0-preview.25452.10 | 1 | 12/10/2025 |
| 4.0.0-preview.25415.9 | 0 | 12/11/2025 |
| 4.0.0-preview.25372.6 | 0 | 12/11/2025 |
| 4.0.0-preview.25358.7 | 0 | 12/11/2025 |
| 3.11.1 | 4 | 12/14/2025 |
| 3.11.0 | 4 | 12/14/2025 |
| 3.10.5 | 3 | 12/16/2025 |
| 3.10.4 | 3 | 12/16/2025 |
| 3.10.3 | 4 | 12/14/2025 |
| 3.10.2 | 3 | 12/16/2025 |
| 3.10.1 | 4 | 12/14/2025 |
| 3.10.0 | 4 | 12/14/2025 |
| 3.9.3 | 3 | 12/16/2025 |
| 3.9.2 | 3 | 12/16/2025 |
| 3.9.1 | 3 | 12/16/2025 |
| 3.9.0 | 3 | 12/16/2025 |
| 3.9.0-preview.25167.10 | 1 | 12/10/2025 |
| 3.8.3 | 3 | 12/16/2025 |
| 3.8.2 | 3 | 12/16/2025 |
| 3.8.1 | 3 | 12/16/2025 |
| 3.8.0 | 3 | 12/16/2025 |
| 3.7.3 | 3 | 12/16/2025 |
| 3.7.2 | 3 | 12/16/2025 |
| 3.7.1 | 3 | 12/16/2025 |
| 3.7.0 | 3 | 12/16/2025 |
| 3.6.4 | 3 | 12/16/2025 |
| 3.6.3 | 3 | 12/16/2025 |
| 3.6.2 | 3 | 12/16/2025 |
| 3.6.1 | 3 | 12/16/2025 |
| 3.6.0 | 2 | 12/16/2025 |
| 3.5.2 | 3 | 12/16/2025 |
| 3.5.1 | 3 | 12/16/2025 |
| 3.5.0 | 3 | 12/16/2025 |
| 3.5.0-preview.24325.7 | 0 | 12/11/2025 |
| 3.4.3 | 3 | 12/16/2025 |
| 3.4.2 | 3 | 12/16/2025 |
| 3.4.1 | 3 | 12/16/2025 |
| 3.4.0 | 3 | 12/16/2025 |
| 3.3.1 | 3 | 12/16/2025 |
| 3.3.0 | 3 | 12/16/2025 |
| 3.3.0-preview.24164.4 | 0 | 12/11/2025 |
| 3.2.2 | 3 | 12/16/2025 |
| 3.2.1 | 3 | 12/16/2025 |
| 3.2.0 | 3 | 12/16/2025 |
| 3.2.0-preview.24069.3 | 0 | 12/11/2025 |
| 3.2.0-preview.23623.1 | 1 | 12/11/2025 |
| 3.2.0-preview.23622.1 | 1 | 12/17/2025 |
| 3.1.1 | 10 | 12/16/2025 |
| 3.0.4 | 10 | 12/16/2025 |
| 3.0.3 | 11 | 12/16/2025 |
| 3.0.2 | 12 | 12/16/2025 |
| 3.0.1 | 14 | 12/16/2025 |
| 3.0.0 | 12 | 12/16/2025 |
| 3.0.0-preview-20221122-01 | 8 | 12/10/2025 |
| 3.0.0-preview-20221110-04 | 9 | 12/10/2025 |
| 2.3.0-preview-20220810-02 | 11 | 12/10/2025 |
| 2.2.10 | 14 | 12/16/2025 |