Table of Contents

Class TestOrderAttribute

Namespace
Songhay.Tests.Orderers
Assembly
SonghayCore.xUnit.dll

Defines the attribute used to order tests by the specified ordinal.

public class TestOrderAttribute : Attribute
Inheritance
TestOrderAttribute
Inherited Members
Extension Methods

Constructors

TestOrderAttribute(int)

Initializes a new instance of the TestOrderAttribute class.

public TestOrderAttribute(int ordinal)

Parameters

ordinal int

The ordinal.

TestOrderAttribute(int, string?)

Initializes a new instance of the TestOrderAttribute class.

public TestOrderAttribute(int ordinal, string? reason)

Parameters

ordinal int

The ordinal.

reason string

The reason.

Properties

Ordinal

Gets the ordinal.

public int Ordinal { get; }

Property Value

int

The ordinal.

Reason

Gets the reason for choosing the order.

public string? Reason { get; }

Property Value

string

The reason.

See Also