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. This documentation also contains information about history, context and supported or unsupported features.
Name | Description | Stable version | Preview version | Dogfood version |
---|---|---|---|---|
MSTest | This package is a meta package that simplifies referencing all recommended MSTest packages. | Azure Artifacts | ||
MSTest.TestFramework | This package includes the libraries for writing tests with MSTest. To ensure discovery and execution of your tests, install the `MSTest.TestAdapter`` package. | Azure Artifacts | ||
MSTest.TestAdapter | This package includes the adapter logic to discover and run tests. For access to the testing framework, install the MSTest.TestFramework package. |
Azure Artifacts | ||
MSTest.Analyzers | This package includes code analyzers and code fixes for MSTest. | Azure Artifacts |
MSTest is licensed under the MIT license.
The LICENSE and ThirdPartyNotices in any downloaded archives are authoritative.