MSTest.TestFramework 4.4.1

MSTest.TestFramework

MSTest is Microsoft supported Test Framework.

This package includes the libraries for writing tests with MSTest. To ensure discovery and execution of your tests, install the MSTest.TestAdapter package.

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+ (WinUI)
  • .NET 6.0 Windows.18362+
  • 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.

Showing the top 20 packages that depend on MSTest.TestFramework.

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 5.0 - .NET 5.0 Windows.18362+ - ASP.NET Core 1.0+
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 8.0+ - .NET 8.0 Windows.18362+ (WinUI) - UWP 10.0.16299 - UWP 10.0.17763 with .NET 9+
23
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
22
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
23
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. 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
22
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. 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
23
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. 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
24
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. 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
26
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. 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
27
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. 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
29
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. 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
32
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. 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
33

See the release notes at https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#4.4.1.

.NET Framework 4.6.2

.NET 8.0

.NET 8.0

.NET 9.0

.NET 9.0

.NET Standard 2.0

UAP 10.0.16299

Version Downloads Last updated
4.4.1 12 09/19/2026
4.4.0 21 09/04/2026
4.3.3 28 07/30/2026
4.3.2 29 07/25/2026
4.3.0 19 07/26/2026
4.2.3 27 07/26/2026
4.2.2 21 07/26/2026
4.2.1 17 07/26/2026
4.1.0 22 07/26/2026
4.0.2 26 07/26/2026
4.0.1 20 07/26/2026
4.0.0 21 07/26/2026
4.0.0-preview.25480.4 22 07/26/2026
4.0.0-preview.25465.3 25 07/26/2026
4.0.0-preview.25454.2 23 07/26/2026
4.0.0-preview.25452.10 21 07/26/2026
4.0.0-preview.25415.9 21 07/26/2026
4.0.0-preview.25372.6 20 07/26/2026
4.0.0-preview.25358.7 27 07/26/2026
3.11.1 27 07/26/2026
3.11.0 24 07/26/2026
3.10.5 21 07/26/2026
3.10.4 21 07/26/2026
3.10.3 22 07/26/2026
3.10.2 31 07/26/2026
3.10.1 23 07/26/2026
3.10.0 25 07/26/2026
3.9.3 23 07/26/2026
3.9.2 25 07/26/2026
3.9.1 28 07/26/2026
3.9.0 24 07/26/2026
3.9.0-preview.25167.10 22 07/26/2026
3.8.3 25 07/26/2026
3.8.2 23 07/26/2026
3.8.1 25 07/26/2026
3.8.0 22 07/26/2026
3.7.3 30 07/26/2026
3.7.2 21 07/26/2026
3.7.1 20 07/26/2026
3.7.0 20 07/26/2026
3.6.4 25 07/26/2026
3.6.3 22 07/26/2026
3.6.2 24 07/26/2026
3.6.1 24 07/26/2026
3.6.0 30 07/26/2026
3.5.2 29 07/26/2026
3.5.1 18 07/26/2026
3.5.0 27 07/26/2026
3.5.0-preview.24325.7 23 07/26/2026
3.4.3 24 07/26/2026
3.4.2 25 07/26/2026
3.4.1 25 07/26/2026
3.4.0 21 07/26/2026
3.3.1 28 07/26/2026
3.3.0 24 07/26/2026
3.3.0-preview.24164.4 28 07/26/2026
3.2.2 28 07/26/2026
3.2.1 22 07/26/2026
3.2.0 25 07/26/2026
3.2.0-preview.24069.3 22 07/26/2026
3.2.0-preview.23623.1 20 07/26/2026
3.2.0-preview.23622.1 24 07/26/2026
3.1.1 18 07/26/2026
3.0.4 19 07/26/2026
3.0.3 18 07/26/2026
3.0.2 23 07/26/2026
3.0.1 23 07/26/2026
3.0.0 20 07/26/2026
3.0.0-preview-20221122-01 21 07/26/2026
3.0.0-preview-20221110-04 20 07/26/2026
2.3.0-preview-20220810-02 27 07/26/2026
2.2.10 26 07/26/2026
2.2.10-preview-20220414-01 27 07/26/2026
2.2.9 20 07/26/2026
2.2.9-preview-20220210-07 18 07/26/2026
2.2.8 21 07/26/2026
2.2.7 25 07/26/2026
2.2.6 22 07/26/2026
2.2.5 25 07/26/2026
2.2.5-preview-20210605-01 21 07/26/2026
2.2.5-preview-20210604-01 19 07/26/2026
2.2.5-preview-20210531-02 18 07/26/2026
2.2.4 20 07/26/2026
2.2.4-preview-20210513-02 18 07/26/2026
2.2.4-preview-20210331-02 22 07/26/2026
2.2.3 26 07/26/2026
2.2.2 25 07/26/2026
2.2.1 22 07/26/2026
2.2.0-preview-20210115-03 18 07/26/2026
2.2.0-preview-20201126-03 21 07/26/2026
2.1.2 27 07/26/2026
2.1.1 22 07/26/2026
2.1.0 22 07/26/2026
2.1.0-beta2 26 07/26/2026
2.1.0-beta 24 07/26/2026
2.0.0 22 07/26/2026
2.0.0-beta4 26 07/26/2026
2.0.0-beta2 22 07/26/2026
1.4.0 22 07/26/2026
1.4.0-beta 17 07/26/2026
1.3.2 22 07/26/2026
1.3.1 21 07/26/2026
1.3.0 28 07/26/2026
1.3.0-beta2 19 07/26/2026
1.2.1 26 07/26/2026
1.2.0 24 07/26/2026
1.2.0-beta3 23 07/26/2026
1.2.0-beta 21 07/26/2026
1.1.18 23 07/26/2026
1.1.17 22 07/26/2026
1.1.14 21 07/26/2026
1.1.13 22 07/26/2026
1.1.11 20 07/26/2026
1.0.8-rc2 20 07/26/2026
1.0.8-rc 21 07/26/2026
1.0.7-preview 17 07/26/2026
1.0.6-preview 24 07/26/2026
1.0.5-preview 24 07/26/2026
1.0.4-preview 21 07/26/2026
1.0.3-preview 24 07/26/2026
1.0.1-preview 21 07/26/2026
1.0.0-preview 18 07/26/2026