<PackageReference Include="NUnit" Version="4.3.0" />

TestFixtureSourceAttribute

public const string MUST_BE_STATIC = "The sourceName specified on a TestCaseSourceAttribute must refer to a static field, property or method."

public string Category { get; set; }

public string SourceName { get; }

public Type SourceType { get; }

public TestFixtureSourceAttribute(string sourceName)

Construct with the name of the method, property or field that will provide data

public TestFixtureSourceAttribute(Type sourceType, string sourceName)

Construct with a Type and name

public TestFixtureSourceAttribute(Type sourceType)

Construct with a Type

Builds any number of test fixtures from the specified type.

Builds any number of test fixtures from the specified type.

Returns a set of ITestFixtureData items for use as arguments to a parameterized test fixture.