Class ProtoTestAssembly
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
builderIProtoHostBuilderThe 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
InitializeAsync()
Called immediately after the class has been created, before it is used.
public Task InitializeAsync()