Xunit.DependencyInjection
9.3.0
See the version list below for details.
dotnet add package Xunit.DependencyInjection --version 9.3.0
NuGet\Install-Package Xunit.DependencyInjection -Version 9.3.0
<PackageReference Include="Xunit.DependencyInjection" Version="9.3.0" />
<PackageVersion Include="Xunit.DependencyInjection" Version="9.3.0" />
<PackageReference Include="Xunit.DependencyInjection" />
paket add Xunit.DependencyInjection --version 9.3.0
#r "nuget: Xunit.DependencyInjection, 9.3.0"
#:package Xunit.DependencyInjection@9.3.0
#addin nuget:?package=Xunit.DependencyInjection&version=9.3.0
#tool nuget:?package=Xunit.DependencyInjection&version=9.3.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:
9.3: Support xunit 2.8.0.
9.2: Add BeforeAfterTest.
9.1: Support [FromKeyedService].
9.0: Upgrade TargetFramework version and reference package version.
8.9: Extends the test framework to execute tests in parallel.
8.8: Added support `BuildHost` method in startup.
8.7: Allow missing default startup in some case.
8.6: Support any awaitable type of async test method.
8.5: Change analyzer category.
8.4: Fix #63: allow modify default service from DI container.
8.3: Add ActivitySource(name: Xunit.DependencyInjection) and ValueTask/ValueTask<> support.
8.2: Fix #60: support IAsyncDisposable.
8.1: Startup allow static method or class (like Asp.Net Core startup).
8.0: New feature: Support multiple startup.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- Microsoft.Extensions.Hosting (>= 8.0.0)
- xunit.extensibility.execution (>= 2.4.2 && < 3.0.0)
-
.NETStandard 2.1
- Microsoft.Extensions.Hosting (>= 8.0.0)
- xunit.extensibility.execution (>= 2.4.2 && < 3.0.0)
NuGet packages (12)
Showing the top 5 NuGet packages that depend on Xunit.DependencyInjection:
| Package | Downloads |
|---|---|
|
Rystem.Test.XUnit
Rystem is a open-source framework to improve the System namespace in .Net |
|
|
Xunit.DependencyInjection.Logging
Support Microsoft.Extensions.Logging to ITestOutputHelper. public void Configure(IServiceProvider provider) { XunitTestOutputLoggerProvider.Register(provider); } |
|
|
Xunit.DependencyInjection.SkippableFact
Support Xunit.SkippableFact. public void ConfigureServices(IServiceCollection services) { services.AddSkippableFactSupport(); } |
|
|
Xunit.DependencyInjection.xRetry
Support xRetry. public void ConfigureServices(IServiceCollection services) { services.AddXRetrySupport(); } |
|
|
Xunit.DependencyInjection.Demystifier
Use Ben.Demystifier Formate Exception. public void ConfigureServices(IServiceCollection services) { services.UseDemystifyExceptionFilter(); } |
GitHub repositories (19)
Showing the top 19 popular GitHub repositories that depend on Xunit.DependencyInjection:
| Repository | Stars |
|---|---|
|
dotnetcore/Util
Util是一个.Net平台下的应用框架,旨在提升中小团队的开发能力,由工具类、分层架构基类、Ui组件,配套代码生成模板,权限等组成。
|
|
|
chromelyapps/Chromely
Build Cross Platform HTML Desktop Apps on .NET using native GUI, HTML5, JavaScript, CSS, Owin, AspNetCore (MVC, RazorPages, Blazor)
|
|
|
microsoft/kernel-memory
Research project. A Memory solution for users, teams, and applications.
|
|
|
Nexus-Mods/NexusMods.App
Home of the development of the Nexus Mods App
|
|
|
dotnetcore/sharding-core
high performance lightweight solution for efcore sharding table and sharding database support read-write-separation .一款ef-core下高性能、轻量级针对分表分库读写分离的解决方案,具有零依赖、零学习成本、零业务代码入侵
|
|
|
bing-framework/Bing.NetCore
Bing是基于 .net core 3.1 的框架,旨在提升团队的开发输出能力,由常用公共操作类(工具类、帮助类)、分层架构基类,第三方组件封装,第三方业务接口封装等组成。
|
|
|
wabbajack-tools/wabbajack
An automated Modlist installer for various games.
|
|
|
luoyunchong/lin-cms-dotnetcore
😃A simple and practical CMS implemented by .NET + FreeSql;前后端分离、Docker部署、OAtuh2授权登录、自动化部署DevOps、自动同步至Gitee、代码生成器、仿掘金专栏
|
|
|
kendryte/nncase
Open deep learning compiler stack for Kendryte AI accelerators ✨
|
|
|
kodlamaio-projects/nArchitecture
Inspired by Clean Architecture, nArchitecture is a monolith project which uses advanced techniques.
|
|
|
ShokoAnime/ShokoServer
Repository for Shoko Server.
|
|
|
sethreno/schemazen
Script and create SQL Server objects quickly
|
|
|
erikbra/grate
grate - the SQL scripts migration runner
|
|
|
BestOwl/MyPhone
Connect your mobile devices (Android/iOS/WindowsPhone) to PC
|
|
|
WeihanLi/WeihanLi.Npoi
NPOI Extensions, excel/csv importer/exporter for IEnumerable<T>/DataTable, fluentapi(great flexibility)/attribute configuration
|
|
|
Viincenttt/MollieApi
This project allows you to easily add the Mollie payment provider to your application.
|
|
|
2sic/2sxc
DNN + 2sxc = #DNNCMS - This tool helps web designers and developers prepare great looking content in DNN (DotNetNuke). It's like mixing DNN with Umbraco and Drupal :)
|
|
|
sa-es-ir/DotNet.RateLimit
A Distributed RateLimit for Controller-Actions and Minimal API.
|
|
|
dr-marek-jaskula/DomainDrivenDesignUniversity
This project was made for tutorial purpose - to clearly present the domain driven design concept.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 11.1.0 | 17,555 | 11/11/2025 |
| 11.0.0 | 50,484 | 9/21/2025 |
| 10.8.0 | 3,282 | 9/21/2025 |
| 10.7.0 | 16,730 | 9/3/2025 |
| 10.6.0 | 81,203 | 7/16/2025 |
| 10.5.0 | 22,982 | 6/16/2025 |
| 10.4.2 | 791,886 | 5/18/2025 |
| 10.4.1 | 12,969 | 5/7/2025 |
| 10.4.0 | 328,816 | 4/9/2025 |
| 10.3.0 | 132,049 | 3/10/2025 |
| 10.2.1 | 89,794 | 2/27/2025 |
| 10.2.0 | 118,003 | 2/9/2025 |
| 10.1.1 | 14,177 | 1/27/2025 |
| 10.1.0 | 8,671 | 1/20/2025 |
| 10.0.0 | 38,653 | 1/18/2025 |
| 9.9.1 | 140,296 | 5/7/2025 |
| 9.9.0 | 206,709 | 2/9/2025 |
| 9.8.0 | 115,627 | 1/20/2025 |
| 9.7.1 | 655,143 | 12/20/2024 |
| 9.7.0 | 471,230 | 11/21/2024 |
| 9.6.0 | 336,870 | 10/30/2024 |
| 9.5.0 | 213,664 | 10/11/2024 |
| 9.4.0 | 460,291 | 9/15/2024 |
| 9.3.1 | 129,805 | 8/30/2024 |
| 9.3.0 | 1,959,331 | 5/14/2024 |
| 9.2.1 | 135,510 | 4/24/2024 |
| 9.1.0 | 290,150 | 4/3/2024 |
| 9.0.1 | 85,775 | 3/18/2024 |
| 8.9.1 | 1,010,543 | 12/10/2023 |
| 8.9.0 | 498,577 | 9/19/2023 |
| 8.8.2 | 164,459 | 8/23/2023 |
| 8.8.1 | 10,774 | 8/22/2023 |
| 8.7.2 | 207,997 | 7/16/2023 |
| 8.7.1 | 1,092,243 | 3/11/2023 |
| 8.7.0 | 372,820 | 1/4/2023 |
| 8.6.1 | 702,418 | 10/22/2022 |
| 8.6.0 | 58,865 | 10/11/2022 |
| 8.5.0 | 1,240,640 | 4/17/2022 |
| 8.4.1 | 247,554 | 3/24/2022 |
| 8.4.0 | 22,401 | 3/17/2022 |
| 8.3.0 | 616,065 | 11/25/2021 |
| 8.2.0 | 255,372 | 11/12/2021 |
| 8.1.0 | 55,245 | 10/22/2021 |
| 8.0.0 | 116,700 | 10/21/2021 |
| 7.7.0 | 153,187 | 10/14/2021 |
| 7.6.0 | 257,090 | 9/2/2021 |
| 7.5.1 | 198,932 | 8/31/2021 |
| 7.4.0 | 99,220 | 8/14/2021 |
| 7.3.0 | 296,774 | 7/9/2021 |
| 7.2.0 | 393,427 | 4/19/2021 |
| 7.1.0 | 457,924 | 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:
9.3: Support xunit 2.8.0.
9.2: Add BeforeAfterTest.
9.1: Support [FromKeyedService].
9.0: Upgrade TargetFramework version and reference package version.
8.9: Extends the test framework to execute tests in parallel.
8.8: Added support `BuildHost` method in startup.
8.7: Allow missing default startup in some case.
8.6: Support any awaitable type of async test method.
8.5: Change analyzer category.
8.4: Fix #63: allow modify default service from DI container.
8.3: Add ActivitySource(name: Xunit.DependencyInjection) and ValueTask/ValueTask<> support.
8.2: Fix #60: support IAsyncDisposable.
8.1: Startup allow static method or class (like Asp.Net Core startup).
8.0: New feature: Support multiple startup.