TestDataRow<T> Class

Definition

When this type is returned from GetData(MethodInfo) (for example, through DynamicDataAttribute), it determines information related to the specific test case.

C#
[System.Runtime.Serialization.DataContract]
public sealed class TestDataRow<T>

Type Parameters

T

The type parameter corresponding to the type of the value held by this type. It can be a tuple for test methods with more than one parameter.

Inheritance
TestDataRow<T>
Attributes

Constructors

TestDataRow<T>(T)

Initializes a new instance of the TestDataRow<T> class.

Properties

DisplayName

Gets or sets the display name for the test case.

IgnoreMessage

Gets or sets the ignore message. A non-null value means the test case is ignored with the message provided.

Value

Gets the value held by this instance.

Applies to

Produit Versions
MSTest.TestFramework 3.8.0