DataRowAttribute Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attribute to define in-line data for a test method.
public ref class DataRowAttribute : Attribute, Microsoft::VisualStudio::TestTools::UnitTesting::ITestDataSource
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)]
public class DataRowAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)]
public class DataRowAttribute : Attribute, Microsoft.VisualStudio.TestTools.UnitTesting.ITestDataSource
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)]
public class DataRowAttribute : Attribute, Microsoft.VisualStudio.TestTools.UnitTesting.ITestDataSource, Microsoft.VisualStudio.TestTools.UnitTesting.ITestDataSourceUnfoldingCapability
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)]
public class DataRowAttribute : Attribute, Microsoft.VisualStudio.TestTools.UnitTesting.ITestDataSource, Microsoft.VisualStudio.TestTools.UnitTesting.ITestDataSourceIgnoreCapability, Microsoft.VisualStudio.TestTools.UnitTesting.ITestDataSourceUnfoldingCapability
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)>]
type DataRowAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)>]
type DataRowAttribute = class
inherit Attribute
interface ITestDataSource
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)>]
type DataRowAttribute = class
inherit Attribute
interface ITestDataSource
interface ITestDataSourceUnfoldingCapability
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)>]
type DataRowAttribute = class
inherit Attribute
interface ITestDataSource
interface ITestDataSourceUnfoldingCapability
interface ITestDataSourceIgnoreCapability
Public Class DataRowAttribute
Inherits Attribute
Public Class DataRowAttribute
Inherits Attribute
Implements ITestDataSource
Public Class DataRowAttribute
Inherits Attribute
Implements ITestDataSource, ITestDataSourceUnfoldingCapability
Public Class DataRowAttribute
Inherits Attribute
Implements ITestDataSource, ITestDataSourceIgnoreCapability, ITestDataSourceUnfoldingCapability
- Inheritance
-
DataRowAttribute
- Attributes
- Implements
Data |
Initializes a new instance of the DataRowAttribute class. |
Data |
Initializes a new instance of the DataRowAttribute class which takes in an array of arguments. |
Data |
Initializes a new instance of the DataRowAttribute class with an array of object arguments. |
Data |
Initializes a new instance of the DataRowAttribute class with an array of object arguments. |
Data |
Initializes a new instance of the DataRowAttribute class with an array of string arguments. |
Data |
Gets data for calling test method. |
Display |
Gets or sets display name in test results for customization. |
Ignore |
Gets or sets a reason to ignore the specific test case. Setting the property to non-null value will ignore the test case. |
Test |
Gets the test id generation strategy. |
Unfolding |
Gets the strategy for unfolding parameterized tests. |
Get |
Gets the test data from custom test data source. |
Get |
Gets the display name corresponding to test data row for displaying in TestResults. |
Proizvod | Verzije |
---|---|
MSTest.TestFramework | 1.1.18, 1.2.1, 1.3.2, 1.4.0, 2.2.0, 2.1.2, 2.2.10, 3.0.4, 3.1.1, 3.2.2, 3.3.1, 3.4.3, 3.5.1, 3.6.4, 3.7.3, 3.8.0 |
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: