Table of Contents

Class MinimalHostTest

Namespace
Codebelt.Extensions.Xunit.Hosting
Assembly
Codebelt.Extensions.Xunit.Hosting.dll

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

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

Constructors

MinimalHostTest(ITestOutputHelper, Type)

Initializes a new instance of the MinimalHostTest class.

protected MinimalHostTest(ITestOutputHelper output = null, Type callerType = null)

Parameters

output ITestOutputHelper

An implementation of the Xunit.Abstractions.ITestOutputHelper interface.

callerType Type

The Type of caller that ends up invoking this instance.

Methods

ConfigureHost(IHostApplicationBuilder)

Provides a way to override the IHostApplicationBuilder defaults.

protected virtual void ConfigureHost(IHostApplicationBuilder hb)

Parameters

hb IHostApplicationBuilder

The IHostApplicationBuilder that initializes an instance of IHost.

See Also