MSTest 4.4.0
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.0.
.NET Framework 4.6.2
- MSTest.TestAdapter (>= 4.4.0)
- Microsoft.Testing.Extensions.CodeCoverage (>= 18.11.0)
- Microsoft.NET.Test.Sdk (>= 18.9.0)
- MSTest.TestFramework (>= 4.4.0)
- Microsoft.Testing.Extensions.TrxReport (>= 2.4.0)
UAP 10.0.16299
- Microsoft.Testing.Extensions.CodeCoverage (>= 18.11.0)
- MSTest.TestFramework (>= 4.4.0)
- MSTest.TestAdapter (>= 4.4.0)
.NET 9.0
- Microsoft.Testing.Extensions.CodeCoverage (>= 18.11.0)
- Microsoft.NET.Test.Sdk (>= 18.9.0)
- MSTest.TestFramework (>= 4.4.0)
- MSTest.TestAdapter (>= 4.4.0)
- Microsoft.Testing.Extensions.TrxReport (>= 2.4.0)
.NET 8.0
- Microsoft.Testing.Extensions.CodeCoverage (>= 18.11.0)
- MSTest.TestFramework (>= 4.4.0)
- Microsoft.Testing.Extensions.TrxReport (>= 2.4.0)
- MSTest.TestAdapter (>= 4.4.0)
- Microsoft.NET.Test.Sdk (>= 18.9.0)
| Version | Downloads | Last updated |
|---|---|---|
| 4.4.0 | 5 | 09/04/2026 |
| 4.3.3 | 17 | 07/30/2026 |
| 4.3.2 | 17 | 07/25/2026 |
| 4.3.0 | 13 | 07/26/2026 |
| 4.2.3 | 13 | 07/26/2026 |
| 4.2.2 | 14 | 07/26/2026 |
| 4.2.1 | 18 | 07/26/2026 |
| 4.1.0 | 16 | 07/26/2026 |
| 4.0.2 | 18 | 07/26/2026 |
| 4.0.1 | 15 | 07/26/2026 |
| 4.0.0 | 16 | 07/26/2026 |
| 4.0.0-preview.25480.4 | 12 | 07/26/2026 |
| 4.0.0-preview.25465.3 | 16 | 07/26/2026 |
| 4.0.0-preview.25454.2 | 14 | 07/26/2026 |
| 4.0.0-preview.25452.10 | 14 | 07/26/2026 |
| 4.0.0-preview.25415.9 | 15 | 07/26/2026 |
| 4.0.0-preview.25372.6 | 17 | 07/26/2026 |
| 4.0.0-preview.25358.7 | 12 | 07/26/2026 |
| 3.11.1 | 14 | 07/26/2026 |
| 3.11.0 | 17 | 07/26/2026 |
| 3.10.5 | 14 | 07/26/2026 |
| 3.10.4 | 14 | 07/26/2026 |
| 3.10.3 | 16 | 07/26/2026 |
| 3.10.2 | 16 | 07/26/2026 |
| 3.10.1 | 13 | 07/26/2026 |
| 3.10.0 | 15 | 07/26/2026 |
| 3.9.3 | 14 | 07/26/2026 |
| 3.9.2 | 14 | 07/26/2026 |
| 3.9.1 | 15 | 07/26/2026 |
| 3.9.0 | 15 | 07/26/2026 |
| 3.9.0-preview.25167.10 | 16 | 07/26/2026 |
| 3.8.3 | 16 | 07/26/2026 |
| 3.8.2 | 15 | 07/26/2026 |
| 3.8.1 | 16 | 07/26/2026 |
| 3.8.0 | 15 | 07/26/2026 |
| 3.7.3 | 16 | 07/26/2026 |
| 3.7.2 | 16 | 07/26/2026 |
| 3.7.1 | 16 | 07/26/2026 |
| 3.7.0 | 13 | 07/26/2026 |
| 3.6.4 | 15 | 07/26/2026 |
| 3.6.3 | 17 | 07/26/2026 |
| 3.6.2 | 17 | 07/26/2026 |
| 3.6.1 | 17 | 07/26/2026 |
| 3.6.0 | 13 | 07/26/2026 |
| 3.5.2 | 18 | 07/26/2026 |
| 3.5.1 | 14 | 07/26/2026 |
| 3.5.0 | 16 | 07/26/2026 |
| 3.5.0-preview.24325.7 | 16 | 07/26/2026 |
| 3.4.3 | 12 | 07/26/2026 |
| 3.4.2 | 16 | 07/26/2026 |
| 3.4.1 | 13 | 07/26/2026 |
| 3.4.0 | 13 | 07/26/2026 |
| 3.3.1 | 16 | 07/26/2026 |
| 3.3.0 | 14 | 07/26/2026 |
| 3.3.0-preview.24164.4 | 12 | 07/26/2026 |
| 3.2.2 | 14 | 07/26/2026 |
| 3.2.1 | 13 | 07/26/2026 |
| 3.2.0 | 18 | 07/26/2026 |
| 3.2.0-preview.24069.3 | 15 | 07/26/2026 |
| 3.2.0-preview.23623.1 | 15 | 07/26/2026 |
| 3.2.0-preview.23622.1 | 19 | 07/26/2026 |
| 3.1.1 | 15 | 07/26/2026 |
| 3.0.4 | 16 | 07/26/2026 |
| 3.0.3 | 13 | 07/26/2026 |
| 3.0.2 | 15 | 07/26/2026 |
| 3.0.1 | 15 | 07/26/2026 |
| 3.0.0 | 17 | 07/26/2026 |
| 3.0.0-preview-20221122-01 | 14 | 07/26/2026 |
| 3.0.0-preview-20221110-04 | 17 | 07/26/2026 |
| 2.3.0-preview-20220810-02 | 19 | 07/26/2026 |
| 2.2.10 | 12 | 07/26/2026 |