Xunit.DependencyInjection
8.0.0
See the version list below for details.
dotnet add package Xunit.DependencyInjection --version 8.0.0
NuGet\Install-Package Xunit.DependencyInjection -Version 8.0.0
<PackageReference Include="Xunit.DependencyInjection" Version="8.0.0" />
paket add Xunit.DependencyInjection --version 8.0.0
#r "nuget: Xunit.DependencyInjection, 8.0.0"
// Install Xunit.DependencyInjection as a Cake Addin #addin nuget:?package=Xunit.DependencyInjection&version=8.0.0 // Install Xunit.DependencyInjection as a Cake Tool #tool nuget:?package=Xunit.DependencyInjection&version=8.0.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:
8.0: Add feature: Support multiple startup.
7.7: Add [MethodData], like [MemberData], support injection.
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.
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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. 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.6.1
- Microsoft.Extensions.Hosting (>= 2.1.0)
- xunit.extensibility.execution (>= 2.1.0 && < 3.0.0)
-
.NETStandard 2.0
- Microsoft.Extensions.Hosting (>= 2.1.0)
- xunit.extensibility.execution (>= 2.2.0 && < 3.0.0)
NuGet packages (13)
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); } |
|
Rystem.Test.XUnit
Rystem is a open-source framework to improve the System namespace in .Net |
|
Xunit.DependencyInjection.SkippableFact
Support Xunit.SkippableFact. public void ConfigureServices(IServiceCollection services) { services.AddSkippableFactSupport(); } |
|
Xunit.DependencyInjection.Demystifier
Use Ben.Demystifier Formate Exception. public void ConfigureServices(IServiceCollection services) { services.UseDemystifyExceptionFilter(); } |
|
Xunit.DependencyInjection.xRetry
Support xRetry. public void ConfigureServices(IServiceCollection services) { services.AddXRetrySupport(); } |
GitHub repositories (18)
Showing the top 5 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
RAG architecture: index and query any data using LLM and natural language, track sources, show citations, asynchronous memory patterns.
|
|
dotnetcore/sharding-core
high performance lightweight solution for efcore sharding table and sharding database support read-write-separation .一款ef-core下高性能、轻量级针对分表分库读写分离的解决方案,具有零依赖、零学习成本、零业务代码入侵
|
|
Nexus-Mods/NexusMods.App
Home of the development of the Nexus Mods App
|
Version | Downloads | Last updated |
---|---|---|
9.6.0 | 9,314 | 10/30/2024 |
9.5.0 | 32,038 | 10/11/2024 |
9.4.0 | 286,523 | 9/15/2024 |
9.3.1 | 46,954 | 8/30/2024 |
9.3.0 | 1,534,928 | 5/14/2024 |
9.2.1 | 77,052 | 4/24/2024 |
9.1.0 | 114,583 | 4/3/2024 |
9.0.1 | 52,315 | 3/18/2024 |
8.9.1 | 547,698 | 12/10/2023 |
8.9.0 | 391,437 | 9/19/2023 |
8.8.2 | 126,366 | 8/23/2023 |
8.8.1 | 9,678 | 8/22/2023 |
8.7.2 | 167,554 | 7/16/2023 |
8.7.1 | 889,341 | 3/11/2023 |
8.7.0 | 325,499 | 1/4/2023 |
8.6.1 | 557,528 | 10/22/2022 |
8.6.0 | 54,791 | 10/11/2022 |
8.5.0 | 1,066,200 | 4/17/2022 |
8.4.1 | 184,065 | 3/24/2022 |
8.4.0 | 20,164 | 3/17/2022 |
8.3.0 | 559,158 | 11/25/2021 |
8.2.0 | 243,899 | 11/12/2021 |
8.1.0 | 51,264 | 10/22/2021 |
8.0.0 | 85,134 | 10/21/2021 |
7.7.0 | 146,817 | 10/14/2021 |
7.6.0 | 218,294 | 9/2/2021 |
7.5.1 | 174,166 | 8/31/2021 |
7.4.0 | 92,483 | 8/14/2021 |
7.3.0 | 288,822 | 7/9/2021 |
7.2.0 | 355,688 | 4/19/2021 |
7.1.0 | 406,778 | 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:
8.0: Add feature: Support multiple startup.
7.7: Add [MethodData], like [MemberData], support injection.
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.