Skip to main content
.NETStandard2.0.NETFramework4.6.2UAP10.0net8.0net9.0

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

Published
Sep 2, 2025
1y ago
Total Downloads
495.9M
495,936,143

Deprecated Package Version

Reason: Legacy

Install

dotnet add package MSTest.TestFramework --version 4.0.0-preview.25452.10
ProductVersions
.NET
net8.0net9.0
.NET Standard
netstandard2.0
Universal Windows Platform
uap10.0
Other
.NETFramework4.6.2

README

Changes from Previous Version

No structural changes between v4.0.0-preview.25415.9 and v4.0.0-preview.25452.10.

Adoption Assessment

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

Unit Testing Guide
This version is marked prerelease. Validate its API and upgrade path before production use.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.
Editorial Note: 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.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.