Class ProtoTestAssembly
Base assembly fixture for xUnit v3. Initializes, starts, and disposes the root ProtoHost.
public abstract class ProtoTestAssembly : ProtoTestAssemblyHost<ProtoTestAssembly>, IProtoTestAssemblyHost<ProtoTestAssembly>, IAsyncLifetime, IAsyncDisposable
- 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()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
public ValueTask DisposeAsync()
Returns
- ValueTask
A task that represents the asynchronous dispose operation.
InitializeAsync()
Called immediately after the class has been created, before it is used.
public ValueTask InitializeAsync()