Xunit.DependencyInjection 7.6.0

There is a newer version of this package available.
See the version list below for details.
Install-Package Xunit.DependencyInjection -Version 7.6.0
dotnet add package Xunit.DependencyInjection --version 7.6.0
<PackageReference Include="Xunit.DependencyInjection" Version="7.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xunit.DependencyInjection --version 7.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Xunit.DependencyInjection, 7.6.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xunit.DependencyInjection as a Cake Addin
#addin nuget:?package=Xunit.DependencyInjection&version=7.6.0

// Install Xunit.DependencyInjection as a Cake Tool
#tool nuget:?package=Xunit.DependencyInjection&version=7.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging
Release notes:
7.6: Fix #48, each TestRunner should have a different scope.
7.5: Add XunitTestCaseRunnerAdapter, It will be support more XunitTestCase type.
7.4: Always set applicationName, unwarp TargetInvocationException.
7.3: Fix #41, activate ITestOutputHelperAccessor on tests without a constructor.
7.2: Add Startup analyzer.
7.1: Fix can't run test case when host.StartAsync() throw exception.
7.0: Add fixture injection and refactor DependencyInjectionTestFramework, you don't have to declare the [assembly: TestFrameworkAttribute] on normal case.

NuGet packages (7)

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

Package Downloads
Xunit.DependencyInjection.Logging

Support Microsoft.Extensions.Logging to ITestOutputHelper. public void Configure(IServiceProvider provider) { XunitTestOutputLoggerProvider.Register(provider); }

Xunit.DependencyInjection.Demystifier

Use Ben.Demystifier Formate Exception. public void ConfigureServices(IServiceCollection services) { services.UseDemystifyExceptionFilter(); }

Harpy.Test.Domain

Basis for the domain test layer of the Harpy Framework

Xunit.DependencyInjection.SkippableFact

Support Xunit.SkippableFact. public void ConfigureServices(IServiceCollection services) { services.AddSkippableFactSupport(); }

EncompassApi.xUnit

A xUnit library

GitHub repositories (7)

Showing the top 5 popular GitHub repositories that depend on Xunit.DependencyInjection:

Repository Stars
wabbajack-tools/wabbajack
An automated Modlist installer for various games.
jamie-mh/AuthenticatorPro
📱 Two-Factor Authentication (2FA) client for Android + Wear OS
xuejmnet/sharding-core
efcore sharding table and sharding database support read-write-separation lib high performance pagination 完美的高性能分表组件 支持读写分离
ShokoAnime/ShokoServer
Repository for Shoko Server.
WeihanLi/WeihanLi.Npoi
NPOI Extensions, excel/csv importer/exporter for IEnumerable<T>/DataTable, fluentapi(great flexibility)/attribute configuration
Version Downloads Last updated
7.7.0 0 10/14/2021
7.6.0 16,838 9/2/2021
7.5.1 8,021 8/31/2021
7.4.0 15,383 8/14/2021
7.3.0 39,468 7/9/2021
7.2.0 94,100 4/19/2021
7.1.0 196,379 11/7/2020

Use Microsoft.Extensions.DependencyInjection to inject xunit testclass. If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging
Release notes:
7.6: Fix #48, each TestRunner should have a different scope.
7.5: Add XunitTestCaseRunnerAdapter, It will be support more XunitTestCase type.
7.4: Always set applicationName, unwarp TargetInvocationException.
7.3: Fix #41, activate ITestOutputHelperAccessor on tests without a constructor.
7.2: Add Startup analyzer.
7.1: Fix can't run test case when host.StartAsync() throw exception.
7.0: Add fixture injection and refactor DependencyInjectionTestFramework, you don't have to declare the [assembly: TestFrameworkAttribute] on normal case.