Table of Contents

Method OrderTestMethods

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

OrderTestMethods<TTestMethod>(IReadOnlyCollection<TTestMethod?>)

Orders test methods for execution.

IReadOnlyCollection<TTestMethod?> OrderTestMethods<TTestMethod>(IReadOnlyCollection<TTestMethod?> testMethods) where TTestMethod : notnull, ITestMethod

Parameters

testMethods IReadOnlyCollection<TTestMethod>

The test methods to be ordered.

Returns

IReadOnlyCollection<TTestMethod>

The test methods in the order to be run.

Type Parameters

TTestMethod