Method RegisterAssemblyFixtureFactory
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.aot.dll
RegisterAssemblyFixtureFactory(Type, Func<bool, ValueTask<object?>>)
Registers a factory for an assembly-level test fixture.
public static void RegisterAssemblyFixtureFactory(Type type, Func<bool, ValueTask<object?>> factory)
Parameters
typeTypeThe type of the test fixture
factoryFunc<bool, ValueTask<object>>The factory that creates the fixture instance
Remarks
This is typically called when AssemblyFixtureAttribute is seen at the test assembly level.