xUnit.net
Public Member Functions | List of all members
Xunit.Sdk.ITestCaseOrderer Interface Reference

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

Public Member Functions

IEnumerable< TTestCase > OrderTestCases< TTestCase > (IEnumerable< TTestCase > testCases)
 Orders test cases for execution. More...
 

Detailed Description

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

Member Function Documentation

◆ OrderTestCases< TTestCase >()

IEnumerable<TTestCase> Xunit.Sdk.ITestCaseOrderer.OrderTestCases< TTestCase > ( IEnumerable< TTestCase >  testCases)

Orders test cases for execution.

Parameters
testCasesThe test cases to be ordered.
Returns
The test cases in the order to be run.
Type Constraints
TTestCase :ITestCase 

The documentation for this interface was generated from the following file: