Interface ITestCollectionOrderer
A class implements this interface to participate in ordering tests for the test runner. Test collection orderers are applied using the and implementation of ITestCollectionOrdererAttribute (most commonly TestCollectionOrdererAttribute), which can be applied at the assembly level.
public interface ITestCollectionOrderer
Methods
OrderTestCollections<TTestCollection>(IReadOnlyCollection<TTestCollection>)
Orders test collections for execution.
IReadOnlyCollection<TTestCollection> OrderTestCollections<TTestCollection>(IReadOnlyCollection<TTestCollection> testCollections) where TTestCollection : ITestCollection
Parameters
testCollectionsIReadOnlyCollection<TTestCollection>The test collections to be ordered.
Returns
- IReadOnlyCollection<TTestCollection>
The test collections in the order to be run.
Type Parameters
TTestCollectionThe type of the test collection to be ordered. Must derive from ITestCollection.