Xunit.DependencyInjection 6.1.0

Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging
Release notes:
6.0.0: Refactor the DependencyInjectionTestFramework
6.1.0: Add [FromServices] support of test method parameter

There is a newer version of this package available.
See the version list below for details.
Install-Package Xunit.DependencyInjection -Version 6.1.0
dotnet add package Xunit.DependencyInjection --version 6.1.0
<PackageReference Include="Xunit.DependencyInjection" Version="6.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xunit.DependencyInjection --version 6.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging
Release notes:
6.0.0: Refactor the DependencyInjectionTestFramework
6.1.0: Add [FromServices] support of test method parameter

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Xunit.DependencyInjection:

Package Downloads
Xunit.DependencyInjection.Logging
Support Microsoft.Extensions.Logging to ITestOutputHelper. protected override void Configure(IServiceProvider provider) {{ provider.GetRequiredService<ILoggerFactory>() .AddProvider(new XunitTestOutputLoggerProvider(provider.GetRequiredService<ITestOutputHelperAccessor>())); }}
Xunit.DependencyInjection.Demystifier
Use Ben.Demystifier Formate Exception. protected override IServiceProvider ConfigureServices(IServiceCollection services) {{ services.AddSingleton<IAsyncExceptionFilter, DemystifyExceptionFilter>(); }}
Harpy.Test.Domain
Basis for the domain test layer of the Harpy Framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
7.0.2 1,932 7/16/2020
6.1.0 18,303 3/26/2020
5.4.0 42,170 7/25/2019
4.4.0 3,326 3/6/2019