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

TestFixtureAttribute

TestFixtureAttribute is used to mark a class that represents a TestFixture.
public object[] Arguments { get; }

The arguments originally provided to the attribute

public string Author { get; set; }

The author of this fixture

public string Category { get; set; }

Gets and sets the category for this fixture. May be a comma-separated list of categories.

public string Description { get; set; }

Descriptive text for this fixture

public bool Explicit { get; set; }

Gets or sets a value indicating whether this TestFixtureAttribute is explicit.

public string Ignore { get; set; }

Gets or sets the ignore reason. May set RunState as a side effect.

public string IgnoreReason { get; set; }

Gets or sets the ignore reason. When set to a non-null non-empty value, the test is marked as ignored.

public IPropertyBag Properties { get; }

Properties pertaining to this fixture

public string Reason { get; set; }

Gets or sets the reason for not running the fixture.

public RunState RunState { get; }

Gets or sets the RunState of this test fixture.

public string TestName { get; set; }

Gets or sets the name of the test.

public Type TestOf { get; set; }

The type that this fixture is testing

public Type[] TypeArgs { get; set; }

Get or set the type arguments. If not set explicitly, any leading arguments that are Types are taken as type arguments.

Default constructor

public TestFixtureAttribute(object[] arguments)

Construct with a object[] representing a set of arguments. In .NET 2.0, the arguments may later be separated into type arguments and constructor arguments.

Build a fixture from type provided. Normally called for a Type on which the attribute has been placed.