Xunit.DependencyInjection NuGet Package

Use Microsoft.Extensions.DependencyInjection to inject xunit testclass.

If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging.

Release notes:

10.1: Allow the default startup to be missing anywhere.
10.0: Upgrade xunit to v3.




Got any Xunit.DependencyInjection Question?





Info

Version: 10.1.1
Author(s): Wei Peng
Last Update: Monday, January 27, 2025
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/pengweiqhca/Xunit.DependencyInjection/src/Xunit.DependencyInjection
NuGet Url: https://www.nuget.org/packages/Xunit.DependencyInjection


Install
Install-Package Xunit.DependencyInjection
dotnet add package Xunit.DependencyInjection
paket add Xunit.DependencyInjection
Xunit.DependencyInjection Download (Unzip the "nupkg" after downloading)

.NETStandard 2.0 net461 4 packages depend on this package.


Tags



STATS

must-have-score

5

avg-downloads-per-day

4365

days-since-last-release

26