Provides ordered test assertions.
- Namespace
- Songhay
.Tests .Orderers - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["OrderedTestBase"]
class Type type-node
Syntax
[TestCaseOrderer(TestCaseOrderer.TypeName, TestCaseOrderer.AssemblyName)]
public abstract class OrderedTestBase
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]
Attributes
Type | Description |
---|---|
TestCaseOrderer |
Fields
Name | Field Type | Constant Value | Summary |
---|---|---|---|
TestOrdinal | int |
The expected ordinal of the current test.
static
|
Methods
Name | Return Value | Summary |
---|---|---|
AssertTestName |
void |
Extension Methods
Name | Value | Summary |
---|---|---|
Is |
bool |
Determines whether the specified type
can be assigned to
System.Runtime.Serialization.ISerializable .
From NullableExtensions
|
ToObjectOrDbNull |
object |
Boxes the nullable in
object
or returns DBNull .
From NullableExtensions
|
To |
T |
Returns the non-null value of the specified, nullable reference type
or throws an
ArgumentNullException
when the value is null.
From NullableExtensions
|