MSTest.Sdk
4.4.0
Prefix Reserved
dotnet add package MSTest.Sdk --version 4.4.0
NuGet\Install-Package MSTest.Sdk -Version 4.4.0
<PackageReference Include="MSTest.Sdk" Version="4.4.0" />
<PackageVersion Include="MSTest.Sdk" Version="4.4.0" />
<PackageReference Include="MSTest.Sdk" />
paket add MSTest.Sdk --version 4.4.0
#r "nuget: MSTest.Sdk, 4.4.0"
#:package MSTest.Sdk@4.4.0
#addin nuget:?package=MSTest.Sdk&version=4.4.0
#tool nuget:?package=MSTest.Sdk&version=4.4.0
MSTest.Sdk
MSTest is Microsoft supported Test Framework.
This package includes a custom test SDK for writing tests with MSTest.
Getting started
Create a test project by using MSTest.Sdk as the project SDK. Replace the example version with the version you want to use.
<Project Sdk="MSTest.Sdk/4.1.0">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
</Project>
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+
Documentation
For setup guidance, see https://learn.microsoft.com/dotnet/core/testing/unit-testing-mstest-getting-started.
For SDK configuration options, see https://learn.microsoft.com/dotnet/core/testing/unit-testing-mstest-sdk.
GitHub Actions reporting
In ClassicEngine mode, the --report-gh option is provided by Microsoft.Testing.Extensions.GitHubActionsReport; it is not included in the default extension profile. Enable it explicitly:
<PropertyGroup>
<EnableMicrosoftTestingExtensionsGitHubActionsReport>true</EnableMicrosoftTestingExtensionsGitHubActionsReport>
</PropertyGroup>
Alternatively, set TestingExtensionsProfile to AllMicrosoft. After the extension is included, --help lists --report-gh and its related options. The extension is not supported in VSTest or NativeAOT mode.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 4.4.0 | 2,446 | 9/2/2026 | |
| 4.3.3 | 159,829 | 7/28/2026 | |
| 4.3.2 | 72,229 | 7/13/2026 | |
| 4.3.0 | 9,935 | 7/8/2026 | |
| 4.2.3 | 222,710 | 5/14/2026 | |
| 4.2.2 | 96,633 | 4/30/2026 | |
| 4.2.1 | 94,394 | 4/7/2026 | |
| 4.1.0 | 297,745 | 2/3/2026 | |
| 4.0.2 | 367,349 | 11/11/2025 | |
| 4.0.1 | 228,031 | 10/14/2025 | |
| 4.0.0 | 10,098 | 10/7/2025 | |
| 4.0.0-preview.25480.4 | 840 | 9/30/2025 | |
| 4.0.0-preview.25465.3 | 7,343 | 9/15/2025 | |
| 4.0.0-preview.25454.2 | 672 | 9/4/2025 | |
| 4.0.0-preview.25452.10 | 613 | 9/2/2025 | |
| 3.11.1 | 105,830 | 11/11/2025 | |
| 3.11.0 | 22,671 | 10/1/2025 | |
| 3.10.5 | 2,029 | 9/30/2025 | |
| 3.10.4 | 130,624 | 9/2/2025 | |
| 3.10.3 | 49,165 | 8/26/2025 |
See the release notes at https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#4.4.0.