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

NUnit.Framework.TestFixtureAttribute

Marks the class as 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. The arguments may later be separated into type arguments and constructor arguments.

Builds any number of test fixtures from the specified type.

Builds any number of test fixtures from the specified type.

public IEnumerable<TestSuite> BuildFrom(ITypeInfo typeInfo, IPreFilter filter, Type[][] outerTypeArgsSets)

Builds any number of test fixtures from the specified type.