Table of Contents

Interface IFixtureRegistrar

Namespace
FEFF.TestFixtures
Assembly
FEFF.TestFixtures.Abstractions.dll

Defines a contract for performing complex IServiceCollection manipulation during fixture registration. Implement this interface for any public type when a fixture requires advanced control over service registration beyond simple type mapping.

public interface IFixtureRegistrar

Remarks

This interface defines a contract for a static method, therefore it should not be used on open generic types.

Methods

RegisterFixture(IServiceCollection)

Performs complex IServiceCollection manipulation to register the fixture and any related services required for testing.

public static abstract void RegisterFixture(IServiceCollection services)

Parameters

services IServiceCollection

The IServiceCollection to configure.