Home

Awesome

Microsoft Test Framework

GitHub release GitHub repo size GitHub issues-opened GitHub issues-closed GitHub pulls-opened GitHub pulls-merged GitHub contributors Commit Activity Build Status

MSTest, Microsoft Testing Framework, is a unit testing framework for .NET applications. It allows you to write tests, use Test Explorer, create test suites, and apply the red, green, and refactor patterns to write code.

This is a fully supported, open source, and cross-platform test framework with which to write tests targeting .NET Framework, .NET Core, .NET, UWP, and WinUI on Windows, Linux, and Mac.

How can I contribute?

We welcome any kind of contribution!

How to consume MSTest?

MSTest is shipped as NuGet packages that can be added to your projects. The following table lists all available packages.

NameDescriptionStable versionPreview versionDogfood version
MSTestThis package is a meta package that simplifies referencing all recommended MSTest packages.##Azure Artifacts
MSTest.TestFrameworkThis package includes the libraries for writing tests with MSTest. To ensure the discovery and execution of your tests, install the MSTest.TestAdapter package.##Azure Artifacts
MSTest.TestAdapterThis package includes the adapter logic to discover and run tests. For access to the testing framework, install the MSTest.TestFramework package.##Azure Artifacts
MSTest.AnalyzersThis package includes code analyzers and code fixes for MSTest.##Azure Artifacts

License

MSTest is licensed under the MIT license.

The LICENSE and ThirdPartyNotices in any downloaded archives are authoritative.