Class TestCaseOrdererAttribute
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
Used to decorate an assembly, test collection, or test class to allow the use of a custom test case orderer.
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
public sealed class TestCaseOrdererAttribute : Attribute, ITestCaseOrdererAttribute
- Inheritance
-
TestCaseOrdererAttribute
- Implements
- Inherited Members
Constructors
TestCaseOrdererAttribute(Type)
Used to decorate an assembly, test collection, or test class to allow the use of a custom test case orderer.
public TestCaseOrdererAttribute(Type ordererType)
Parameters
ordererTypeTypeThe orderer type; must implement ITestCaseOrderer
Properties
OrdererType
Gets the orderer type. Must implement ITestCaseOrderer.
public Type OrdererType { get; }