Table of Contents

HostTest Class

Definition

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

Represents the non-generic base class from where its generic equivalent should derive.

public abstract class HostTest : Test, IAsyncLifetime, IHostTest, IConfigurationTest, IEnvironmentTest, ITest, IDisposable, IAsyncDisposable
Inheritance
HostTest
Implements
IAsyncLifetime
Derived
Inherited Members

Constructors

Name Description
HostTest(ITestOutputHelper, Type)

Initializes a new instance of the HostTest class.

Properties

Name Description
Configuration

Gets the IConfiguration initialized by the IHost.

Environment

Gets the IHostEnvironment initialized by the IHost.

Host

Gets the IHost initialized by the IGenericHostFixture.

Methods

Name Description
Configure(IConfiguration, IHostEnvironment)

Adds Configuration and Environment to this instance.

See Also