MSTest.TestFramework 4.4.0
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.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
|
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.
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
|
2 |
|
MSTest.TestAdapter
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
MSTest is Microsoft supported Test Framework.
|
1 |
See the release notes at https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#4.4.0.
.NET Framework 4.6.2
- MSTest.Analyzers (>= 4.4.0)
.NET 8.0
- MSTest.Analyzers (>= 4.4.0)
.NET 8.0
- MSTest.Analyzers (>= 4.4.0)
.NET 9.0
- MSTest.Analyzers (>= 4.4.0)
.NET 9.0
- MSTest.Analyzers (>= 4.4.0)
.NET Standard 2.0
- MSTest.Analyzers (>= 4.4.0)
UAP 10.0.16299
- MSTest.Analyzers (>= 4.4.0)
| Version | Downloads | Last updated |
|---|---|---|
| 4.4.0 | 2 | 9/10/2026 |
| 4.3.3 | 0 | 7/28/2026 |
| 4.3.2 | 0 | 7/13/2026 |
| 4.3.0 | 0 | 7/8/2026 |
| 4.2.3 | 1 | 6/21/2026 |
| 4.2.2 | 2 | 6/21/2026 |
| 4.2.1 | 2 | 6/22/2026 |
| 4.1.0 | 2 | 6/22/2026 |
| 4.0.2 | 1 | 6/21/2026 |
| 4.0.1 | 2 | 6/22/2026 |
| 4.0.0 | 1 | 6/23/2026 |
| 4.0.0-preview.25480.4 | 2 | 6/22/2026 |
| 4.0.0-preview.25465.3 | 0 | 9/15/2025 |
| 4.0.0-preview.25454.2 | 2 | 6/22/2026 |
| 4.0.0-preview.25452.10 | 2 | 6/21/2026 |
| 4.0.0-preview.25415.9 | 0 | 8/15/2025 |
| 4.0.0-preview.25372.6 | 2 | 6/22/2026 |
| 4.0.0-preview.25358.7 | 1 | 6/22/2026 |
| 3.11.1 | 0 | 11/11/2025 |
| 3.11.0 | 2 | 6/22/2026 |
| 3.10.5 | 0 | 9/30/2025 |
| 3.10.4 | 2 | 6/22/2026 |
| 3.10.3 | 1 | 6/23/2026 |
| 3.10.2 | 1 | 6/22/2026 |
| 3.10.1 | 0 | 8/5/2025 |
| 3.10.0 | 0 | 7/29/2025 |
| 3.9.3 | 1 | 6/22/2026 |
| 3.9.2 | 2 | 6/22/2026 |
| 3.9.1 | 2 | 6/22/2026 |
| 3.9.0 | 1 | 6/22/2026 |
| 3.9.0-preview.25167.10 | 2 | 6/22/2026 |
| 3.8.3 | 1 | 6/23/2026 |
| 3.8.2 | 1 | 6/22/2026 |
| 3.8.1 | 2 | 6/22/2026 |
| 3.8.0 | 0 | 2/12/2025 |
| 3.7.3 | 1 | 6/22/2026 |
| 3.7.2 | 0 | 1/21/2025 |
| 3.7.1 | 1 | 6/22/2026 |
| 3.7.0 | 0 | 12/20/2024 |
| 3.6.4 | 0 | 12/3/2024 |
| 3.6.3 | 2 | 6/22/2026 |
| 3.6.2 | 2 | 6/23/2026 |
| 3.6.1 | 2 | 6/22/2026 |
| 3.6.0 | 2 | 6/23/2026 |
| 3.5.2 | 1 | 6/22/2026 |
| 3.5.1 | 2 | 6/22/2026 |
| 3.5.0 | 1 | 6/23/2026 |
| 3.5.0-preview.24325.7 | 3 | 6/22/2026 |
| 3.4.3 | 1 | 6/21/2026 |
| 3.4.2 | 1 | 6/22/2026 |
| 3.4.1 | 1 | 6/22/2026 |
| 3.4.0 | 1 | 6/21/2026 |
| 3.3.1 | 1 | 6/22/2026 |
| 3.3.0 | 0 | 4/3/2024 |
| 3.3.0-preview.24164.4 | 0 | 3/14/2024 |
| 3.2.2 | 0 | 2/22/2024 |
| 3.2.1 | 1 | 6/21/2026 |
| 3.2.0 | 0 | 1/24/2024 |
| 3.2.0-preview.24069.3 | 2 | 6/23/2026 |
| 3.2.0-preview.23623.1 | 1 | 6/22/2026 |
| 3.2.0-preview.23622.1 | 2 | 6/22/2026 |
| 3.1.1 | 0 | 7/14/2023 |
| 3.0.4 | 1 | 6/22/2026 |
| 3.0.3 | 2 | 6/21/2026 |
| 3.0.2 | 1 | 6/22/2026 |
| 3.0.1 | 1 | 6/22/2026 |
| 3.0.0 | 2 | 6/22/2026 |
| 3.0.0-preview-20221122-01 | 0 | 11/23/2022 |
| 3.0.0-preview-20221110-04 | 1 | 6/22/2026 |
| 2.3.0-preview-20220810-02 | 0 | 8/10/2022 |
| 2.2.10 | 0 | 4/26/2022 |
| 2.2.10-preview-20220414-01 | 1 | 6/22/2026 |
| 2.2.9 | 1 | 6/22/2026 |
| 2.2.9-preview-20220210-07 | 0 | 2/10/2022 |
| 2.2.8 | 2 | 6/21/2026 |
| 2.2.7 | 0 | 5/21/2025 |
| 2.2.6 | 0 | 8/25/2021 |
| 2.2.5 | 1 | 6/21/2026 |
| 2.2.5-preview-20210605-01 | 1 | 6/21/2026 |
| 2.2.5-preview-20210604-01 | 0 | 6/4/2021 |
| 2.2.5-preview-20210531-02 | 0 | 5/31/2021 |
| 2.2.4 | 1 | 6/21/2026 |
| 2.2.4-preview-20210513-02 | 1 | 6/22/2026 |
| 2.2.4-preview-20210331-02 | 2 | 6/22/2026 |
| 2.2.3 | 1 | 6/22/2026 |
| 2.2.2 | 1 | 6/22/2026 |
| 2.2.1 | 1 | 6/22/2026 |
| 2.2.0-preview-20210115-03 | 1 | 6/22/2026 |
| 2.2.0-preview-20201126-03 | 1 | 6/22/2026 |
| 2.1.2 | 1 | 6/22/2026 |
| 2.1.1 | 0 | 4/1/2020 |
| 2.1.0 | 1 | 6/22/2026 |
| 2.1.0-beta2 | 1 | 6/22/2026 |
| 2.1.0-beta | 1 | 6/22/2026 |
| 2.0.0 | 1 | 6/22/2026 |
| 2.0.0-beta4 | 2 | 6/21/2026 |
| 2.0.0-beta2 | 2 | 6/22/2026 |
| 1.4.0 | 1 | 6/22/2026 |
| 1.4.0-beta | 1 | 6/22/2026 |
| 1.3.2 | 1 | 6/21/2026 |
| 1.3.1 | 1 | 6/22/2026 |
| 1.3.0 | 0 | 5/11/2018 |
| 1.3.0-beta2 | 1 | 6/21/2026 |
| 1.2.1 | 1 | 6/23/2026 |
| 1.2.0 | 1 | 6/22/2026 |
| 1.2.0-beta3 | 1 | 6/21/2026 |
| 1.2.0-beta | 0 | 6/29/2017 |
| 1.1.18 | 1 | 6/22/2026 |
| 1.1.17 | 1 | 6/22/2026 |
| 1.1.14 | 1 | 6/22/2026 |
| 1.1.13 | 2 | 6/23/2026 |
| 1.1.11 | 0 | 2/17/2017 |
| 1.0.8-rc2 | 1 | 6/22/2026 |
| 1.0.8-rc | 0 | 12/20/2016 |
| 1.0.7-preview | 1 | 6/22/2026 |
| 1.0.6-preview | 1 | 6/22/2026 |
| 1.0.5-preview | 1 | 6/22/2026 |
| 1.0.4-preview | 0 | 9/28/2016 |
| 1.0.3-preview | 1 | 6/22/2026 |
| 1.0.1-preview | 1 | 6/22/2026 |
| 1.0.0-preview | 1 | 6/22/2026 |