Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time
December 27, 2022 16:05
August 26, 2016 11:46
December 20, 2022 19:07
January 2, 2023 13:51

Microsoft Test Framework

Welcome to the MSTest repository (starting from v2), home of the Microsoft Test Framework and Adapter. MSTest is currently in use in a variety of scenarios including:

  • in the relevant in-box unit test project templates (Visual Studio 2017 Preview 4 onwards)
  • in the Create Unit Tests wizard (Visual Studio 2017 Preview 4 onwards)
  • in the Create IntelliTest wizard (Visual Studio 2017 Preview 4 onwards)

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


See Documentation for full documentation about how to contribute, build, test MSTest v2. This documentation also contains information about history, context and supported or unsupported features.

NuGet Feeds

Framework Adapter
NuGet (official) # #

Continuous Integration Status

Build Status


testfx platform is licensed under the MIT license

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.