Table of Contents

IApplicationFixture<TEntryPoint> Interface

Definition

Namespace
Codebelt.Extensions.Xunit.Hosting
Assemblies
Codebelt.Extensions.Xunit.Hosting.dll
Source
src/Codebelt.Extensions.Xunit.Hosting/IApplicationFixture.cs

Provides a way to use Microsoft Dependency Injection in tests that bootstrap an existing .NET application entry point.

public interface IApplicationFixture<TEntryPoint> : IHostFixture, IConfigurationTest, IEnvironmentTest, IDisposable, IAsyncDisposable where TEntryPoint : class

Type Parameters

TEntryPoint

A type in the entry point assembly of the application.

Inherited Members
Extension Methods

Properties

Name Description
ConfigureHostCallback

Gets or sets the delegate that provides a way to override the IHostBuilder before the application is built.

Methods

Name Description
ConfigureHost(Test)

Creates and configures the Host of this IApplicationFixture<TEntryPoint>.

See Also