Xunit.DependencyInjection 8.4.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.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.
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.
No packages depend on Xunit.DependencyInjection.
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.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.
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.
.NET Framework 4.6.1
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- Microsoft.Extensions.Hosting (>= 2.1.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.0)
- xunit.extensibility.execution (>= 2.1.0 && < 3.0.0)
.NET Standard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- Microsoft.Extensions.Hosting (>= 2.1.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.0)
- xunit.extensibility.execution (>= 2.2.0 && < 3.0.0)
Version | Downloads | Last updated |
---|---|---|
9.6.0 | 0 | 10/30/2024 |
9.5.0 | 0 | 10/11/2024 |
9.4.0 | 0 | 09/15/2024 |
9.3.1 | 0 | 08/30/2024 |
9.3.0 | 0 | 05/14/2024 |
9.2.1 | 6 | 05/28/2024 |
9.1.0 | 7 | 04/21/2024 |
9.0.1 | 8 | 05/02/2024 |
8.9.1 | 7 | 05/11/2024 |
8.9.0 | 12 | 11/09/2023 |
8.8.2 | 4 | 05/11/2024 |
8.8.1 | 2 | 05/28/2024 |
8.7.2 | 4 | 05/10/2024 |
8.7.1 | 3 | 05/05/2024 |
8.7.0 | 4 | 05/21/2024 |
8.6.1 | 3 | 05/11/2024 |
8.6.0 | 3 | 05/22/2024 |
8.5.0 | 2 | 05/28/2024 |
8.4.1 | 6 | 05/10/2024 |
8.4.0 | 4 | 05/24/2024 |
8.3.0 | 3 | 05/28/2024 |
8.2.0 | 5 | 05/15/2024 |
8.1.0 | 3 | 05/28/2024 |
8.0.0 | 6 | 05/07/2024 |
7.7.0 | 5 | 05/01/2024 |
7.6.0 | 5 | 05/19/2024 |
7.5.1 | 3 | 05/01/2024 |
7.4.0 | 5 | 05/27/2024 |
7.3.0 | 4 | 05/11/2024 |
7.2.0 | 3 | 05/22/2024 |
7.1.0 | 7 | 05/21/2024 |
7.0.2 | 210 | 06/25/2022 |