Table of Contents

Method OrderTestCases

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

OrderTestCases<TTestCase>(IReadOnlyCollection<TTestCase>)

Orders test cases for execution.

public IReadOnlyCollection<TTestCase> OrderTestCases<TTestCase>(IReadOnlyCollection<TTestCase> testCases) where TTestCase : notnull, ITestCase

Parameters

testCases IReadOnlyCollection<TTestCase>

The test cases to be ordered.

Returns

IReadOnlyCollection<TTestCase>

The test cases in the order to be run.

Type Parameters

TTestCase