Qortora · Search · Indexed page

www.nuget.orgFetched 2026-08-14T04:21:31Z

YTest.MTP.XUnit2 1.0.3

This package provides MTP support for xunit 2.

Open original source · Full cached text

NuGet Gallery | YTest.MTP.XUnit2 1.0.3 Skip To Content Toggle navigation Packages Upload Statistics Documentation Downloads Blog Sign in  YTest.MTP.XUnit2 1.0.3 Prefix Reserved .NET 8.0 This package targets .NET 8.0. The package is compatible with this framework or higher. .NET Framework 4.6.2 This package targets .NET Framework 4.6.2. The package is compatible with this framework or higher. .NET CLI PMC PackageReference CPM Paket CLI Script & Interactive File-Based Apps Cake dotnet add package YTest.MTP.XUnit2 --version 1.0.3 Copy NuGet\Install-Package YTest.MTP.XUnit2 -Version 1.0.3 Copy This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package. <PackageReference Include="YTest.MTP.XUnit2" Version="1.0.3" /> Copy For projects that support PackageReference, copy this XML node into the project file to reference the package. <PackageVersion Include="YTest.MTP.XUnit2" Version="1.0.3" /> Directory.Packages.props Copy <PackageReference Include="YTest.MTP.XUnit2" /> Project file Copy For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package. paket add YTest.MTP.XUnit2 --version 1.0.3 Copy The NuGet Team does not provide support for this client. Please contact its maintainers for support. #r "nuget: YTest.MTP.XUnit2, 1.0.3" Copy #r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package. #:package [email protected] Copy #:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package. #addin nuget:?package=YTest.MTP.XUnit2&version=1.0.3 Install as a Cake Addin Copy #tool nuget:?package=YTest.MTP.XUnit2&version=1.0.3 Install as a Cake Tool Copy The NuGet Team does not provide support for this client. Please contact its maintainers for support. README Frameworks Dependencies Used By Versions YTest.MTP.XUnit2 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. Supported features The VSTest --filter. The VSTest --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. The VSTest --settings option to specify a runsettings file is partially supported. The VSTest --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. Note that not the full RunSettings options are supported. Only the xunit-specific configurations are supported. Reporting test results (passed, failed, skipped). Discovering tests, along with traits. TestMethodIdentifierProperty is supported. xunit.runner.json is supported. Reporting TRX files via Microsoft.Testing.Extensions.TrxReport (using --report-trx) is supported. Source information are reported, except when IDE explicitly requests to not calculate it (for perf reasons). MTP's --treenode-filter is supported. MTP's --maximum-failed-tests is supported. Known limitations 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. testconfig.json isn't supported. It can be supported in the future similar to https://github.com/xunit/xunit/commit/4c1c66f09e19299b3496fe962a2cb005ba57bc9d. Tracking issue: https://github.com/Youssef1313/YTest.MTP.XUnit2/issues/1 How to use 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. If using .NET 10 SDK or later (recommended), update global.json to specify Microsoft.Testing.Platform as the test runner. Update any CI YML files or scripts to use the right command-line options for MTP. If you don't need VSTest support anymore, you can also remove the package references of xunit.runner.visualstudio and Microsoft.NET.Test.Sdk Enjoy running xunit 2 on Microsoft.Testing.Platform! 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. Compatible target framework(s) Included target framework(s) (in package) Learn more about Target Frameworks and .NET Standard. .NETFramework 4.6.2 Microsoft.Testing.Extensions.Telemetry (>= 2.0.2) Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.0.2) Microsoft.Testing.Platform (>= 2.0.2) Microsoft.Testing.Platform.MSBuild (>= 2.0.2) Mono.Cecil (>= 0.11.6) xunit.extensibility.core (>= 2.9.3) xunit.extensibility.execution (>= 2.9.3) xunit.runner.utility (>= 2.9.3) net8.0 Microsoft.Testing.Extensions.Telemetry (>= 2.0.2) Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.0.2) Microsoft.Testing.Platform (>= 2.0.2) Microsoft.Testing.Platform.MSBuild (>= 2.0.2) Mono.Cecil (>= 0.11.6) xunit.extensibility.core (>= 2.9.3) xunit.extensibility.execution (>= 2.9.3) xunit.runner.utility (>= 2.9.3) NuGet packages This package is not used by any NuGet packages. GitHub repositories (1) 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# 5.2K Include prerelease Include vulnerable Include deprecated Version Downloads Last Updated 1.0.3 30,799 12/31/2025 1.0.2 524 12/31/2025 1.0.1 149 12/30/2025 1.0.0 547 12/28/2025 1.0.0-beta.3 117 12/27/2025 1.0.0-beta.2 218 12/24/2025 1.0.0-beta.1 168 12/24/2025 Downloads Full stats → Total 32.5K Current version 30.8K Per day average 139 About Last updated 12/31/2025 Source repository MIT license Download package (150.27 KB) Open in NuGet Package Explorer Open in NuGet Trends Report package Owners Contact owners → Youssef1313 xunit MTP Test Testing dotnet xunit2 Microsoft.Testing.Platform Contact Got questions about NuGet or the NuGet Gallery? Status Find out the service status of NuGet.org and its related services. FAQ Read the Frequently Asked Questions about NuGet and see if your question made the list. Microsoft 2026 - About - Terms of Use - Your Privacy Choices - Privacy Statement - Trademarks