Table of Contents

Method OrderTestCollections

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

OrderTestCollections<TTestCollection>(IReadOnlyCollection<TTestCollection>)

Orders test collections for execution.

IReadOnlyCollection<TTestCollection> OrderTestCollections<TTestCollection>(IReadOnlyCollection<TTestCollection> testCollections) where TTestCollection : ITestCollection

Parameters

testCollections IReadOnlyCollection<TTestCollection>

The test collections to be ordered.

Returns

IReadOnlyCollection<TTestCollection>

The test collections in the order to be run.

Type Parameters

TTestCollection

The type of the test collection to be ordered. Must derive from ITestCollection.