Language

CombinatorialDataAttribute Class

Definition

Provides every possible combination of values for the parameters of a test method.

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public sealed class CombinatorialDataAttribute : Attribute, Microsoft.VisualStudio.TestTools.UnitTesting.ITestDataSource
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type CombinatorialDataAttribute = class
    inherit Attribute
    interface ITestDataSource
Public NotInheritable Class CombinatorialDataAttribute
Inherits Attribute
Implements ITestDataSource
Inheritance
CombinatorialDataAttribute
Attributes
Implements

Constructors

Name Description
CombinatorialDataAttribute()

Initializes a new instance of the CombinatorialDataAttribute class.

Methods

Name Description
GetData(MethodInfo)

Gets the test data from custom test data source.

GetDisplayName(MethodInfo, Object[])

Gets the display name corresponding to test data row for displaying in TestResults.

Applies to