OrderTestMethods Method
Definition
- Namespace
- Codebelt.Extensions.Xunit
- Assemblies
- Codebelt.Extensions.Xunit.dll
OrderTestMethods<TTestMethod>(IReadOnlyCollection<TTestMethod>)
Orders methods from the lowest numeric priority to the highest, placing methods without a priority last.
public IReadOnlyCollection<TTestMethod> OrderTestMethods<TTestMethod>(IReadOnlyCollection<TTestMethod> testMethods) where TTestMethod : notnull, ITestMethod
Parameters
testMethodsIReadOnlyCollection<TTestMethod>The methods to order.
Returns
- IReadOnlyCollection<TTestMethod>
The ordered methods.
Type Parameters
TTestMethodThe type of test method.
Exceptions
- ArgumentNullException
testMethodsisnull.