Class ProtoTestAssembly

Namespace
ProtoTest.Xunit
Assembly
ProtoTest.Xunit.dll

Base fixture for global assembly setup in xUnit v2. Initializes, starts, and disposes the root ProtoHost.

public abstract class ProtoTestAssembly : ProtoTestAssemblyHost<ProtoTestAssembly>, IProtoTestAssemblyHost<ProtoTestAssembly>, IAsyncLifetime
Inheritance
ProtoTestAssembly
Implements
IAsyncLifetime
Inherited Members
Extension Methods

Methods

Configure(IProtoHostBuilder)

Configures the IProtoHostBuilder with custom services, collectors, and hooks.

protected abstract void Configure(IProtoHostBuilder builder)

Parameters

builder IProtoHostBuilder

The host builder instance.

DisposeAsync()

Called when an object is no longer needed. Called just before Dispose() if the class also implements that.

public Task DisposeAsync()

Returns

Task

InitializeAsync()

Called immediately after the class has been created, before it is used.

public Task InitializeAsync()

Returns

Task