Skip to main content
MSTest.TestFramework package icon

MSTest.TestFramework

This is MSTest V2, the evolution of Microsoft's Test Framework. Supported platforms: - .NET 4.5.0+ - .NET Core 1.0+ (Universal Windows Apps 10+) (Visual Studio 2017) - .NET 5.0 (Visual Studio 2019) - .NET 5.0 Windows.18362+ (WinUI Desktop Apps) (Visual Studio 2019) - ASP.NET Core 1.0+ (Visual Studio 2017) To discover and execute tests install MSTest.TestAdapter.

Total Downloads
490.7M
490,728,803
Published
Apr 26, 2022
Latest stable version

Install

.NET CLI
dotnet add package MSTest.TestFramework --version 2.2.10
Package Manager Console
Install-Package MSTest.TestFramework -Version 2.2.10
PackageReference
<PackageReference Include="MSTest.TestFramework" Version="2.2.10" />

Frameworks

.NETStandard1.0 .NETFramework4.5 UAP10.0 net5.0

Dependencies

NETStandard.Library
.NETStandard1.0
[1.6.1, )

Adoption guide

Repositories that prefer first-party tooling and existing MSTest conventions.

Unit Testing guide
Why it appears in the guide: Microsoft's test framework, especially practical in Visual Studio-centred solutions. Trade-off: Compare its current data-driven and extensibility needs against the alternatives before a large migration.

NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.