![]() |
VOOZH | about |
dotnet add package YTest.MTP.XUnit2 --version 1.0.3
NuGet\Install-Package YTest.MTP.XUnit2 -Version 1.0.3
<PackageReference Include="YTest.MTP.XUnit2" Version="1.0.3" />
<PackageVersion Include="YTest.MTP.XUnit2" Version="1.0.3" />Directory.Packages.props
<PackageReference Include="YTest.MTP.XUnit2" />Project file
paket add YTest.MTP.XUnit2 --version 1.0.3
#r "nuget: YTest.MTP.XUnit2, 1.0.3"
#:package YTest.MTP.XUnit2@1.0.3
#addin nuget:?package=YTest.MTP.XUnit2&version=1.0.3Install as a Cake Addin
#tool nuget:?package=YTest.MTP.XUnit2&version=1.0.3Install as a Cake Tool
This package provides Microsoft.Testing.Platform support for xunit 2 test projects.
The general recommendation is to migrate from xunit 2 to xunit.v3 which already supports MTP. However, if you are stuck with xunit 2 (e.g, too hard to migrate to xunit.v3), and you want to migrate from VSTest to Microsoft.Testing.Platform, this package is for you.
--filter.
--filter syntax is actually not supported by xunit.v3 under MTP. However, it's supported by this package for xunit 2 users. This is done to ease migration.--settings option to specify a runsettings file is partially supported.
--settings option is actually not supported by xunit.v3 under MTP. However, it's supported by this package for xunit 2 users. This is done to ease migration.TestMethodIdentifierProperty is supported.xunit.runner.json is supported.--report-trx) is supported.--treenode-filter is supported.--maximum-failed-tests is supported.There are known limitations on the current support of MTP for xunit 2 which is provided by this package. If impacted by these, consider reacting with thumbs up to the issue. If you found other limitations and/or bugs, consider opening a new issue for it.
To add Microsoft.Testing.Platform support to your xunit 2 test projects, all you need is to add a PackageReference to YTest.MTP.XUnit2, and you have MTP support!
There are additional concerns that are general for any VSTest to MTP migration.
global.json to specify Microsoft.Testing.Platform as the test runner.xunit.runner.visualstudio and Microsoft.NET.Test.Sdk| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Framework | net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
This package is not used by any NuGet packages.
Showing the top 1 popular GitHub repositories that depend on YTest.MTP.XUnit2:
| Repository | Stars |
|---|---|
|
dotnet/skills
Repository for skills to assist AI coding agents with .NET and C#
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.3 | 19,499 | 12/31/2025 |
| 1.0.2 | 504 | 12/31/2025 |
| 1.0.1 | 137 | 12/30/2025 |
| 1.0.0 | 333 | 12/28/2025 |
| 1.0.0-beta.3 | 105 | 12/27/2025 |
| 1.0.0-beta.2 | 205 | 12/24/2025 |
| 1.0.0-beta.1 | 157 | 12/24/2025 |