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.6.2+ - .NET Core 3.1+ (Universal Windows Apps 10+) - .NET 6.0 - .NET 6.0 Windows.18362+ - ASP.NET Core 1.0+ To discover and execute tests install MSTest.TestAdapter.

Total Downloads
490.0M
489,996,528
Published
Dec 20, 2022
Latest stable version

Install

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

Frameworks

.NETStandard2.0 .NETFramework4.6.2 UAP10.0 .NETCoreApp3.1 net6.0

Dependencies

No declared dependencies.

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 5 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.