Class OrderedTestBase
Provides ordered test assertions.
[TestCaseOrderer("Songhay.Tests.Orderers.TestCaseOrderer", "SonghayCore.xUnit")]
public abstract class OrderedTestBase
- Inheritance
-
OrderedTestBase
- Inherited Members
- Extension Methods
Remarks
For more detail, see “How to Order xUnit Tests and Collections” by Tom DuPont [http://www.tomdupont.net/2016/04/how-to-order-xunit-tests-and-collections.html]
Constructors
OrderedTestBase()
Initializes a new instance of the OrderedTestBase class.
protected OrderedTestBase()
Properties
XUnitExceptionHasOccurred
Returns true
when an XUnit assertion exception has occurred.
protected static bool XUnitExceptionHasOccurred { get; }
Property Value
Methods
AssertNoXUnitException()
Asserts there are no exceptions of type xUnit.Sdk.*
to prevent ordered tests from running.
protected static void AssertNoXUnitException()