Info
Version: | 9.6.0 |
Author(s): | Wei Peng |
Last Update: | Wednesday, October 30, 2024 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/pengweiqhca/Xunit.DependencyInjection/src/Xunit.DependencyInjection |
NuGet Url: | https://www.nuget.org/packages/Xunit.DependencyInjection |
Install
Install-Package Xunit.DependencyInjection
dotnet add package Xunit.DependencyInjection
paket add Xunit.DependencyInjection
Xunit.DependencyInjection Download (Unzip the "nupkg" after downloading)
Dependencies
.NETStandard 2.0
- Microsoft.Extensions.Hosting(>= 2.1.0)
- xunit.extensibility.execution(>= 2.2.0 && < 3.0.0)
- Microsoft.Extensions.Hosting(>= 2.1.0)
- xunit.extensibility.execution(>= 2.1.0 && < 3.0.0)
Tags
If you want write Microsoft.Extensions.Logging to ITestOutputHelper, please install Xunit.DependencyInjection.Logging.
Release notes:
9.6: Support required property on test class.
9.5: Add support for BuildHostApplicationBuilder, fixing TheoryData of T evaluation.
9.4: Add ITestClassOrderer, Support registration ITestCollectionOrderer and ITestCaseOrderer.
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.