Show / Hide Table of Contents

Interface ITestCollectionOrderer

A class implements this interface to participate in ordering tests for the test runner. Test collection orderers are applied using the TestCollectionOrdererAttribute, which can be applied at the assembly level.

Namespace: Xunit
Assembly: xunit.core.dll
Syntax
public interface ITestCollectionOrderer

Methods

| Improve this Doc View Source

OrderTestCollections(IEnumerable<ITestCollection>)

Orders test collections for execution.

Declaration
IEnumerable<ITestCollection> OrderTestCollections(IEnumerable<ITestCollection> testCollections)
Parameters
Type Name Description
IEnumerable<ITestCollection> testCollections

The test collections to be ordered.

Returns
Type Description
IEnumerable<ITestCollection>

The test collections in the order to be run.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX