Table of Contents

Method RegisterAssemblyTestMethodOrdererFactory

Namespace
Xunit.v3
Assembly
xunit.v3.core.aot.dll

RegisterAssemblyTestMethodOrdererFactory(Func<ITestMethodOrderer>)

Registers the factory that creates the assembly-level ITestMethodOrderer instance.

public static void RegisterAssemblyTestMethodOrdererFactory(Func<ITestMethodOrderer> factory)

Parameters

factory Func<ITestMethodOrderer>

The orderer factory

Remarks

This is typically called when TestMethodOrdererAttribute is seen at the test assembly level.