TestFixtureAttribute TestFixtureAttribute Class

Definition

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public class TestFixtureAttribute : NUnit.Framework.NUnitAttribute, NUnit.Framework.Internal.IApplyToTest
type TestFixtureAttribute = class
    inherit NUnitAttribute
    interface IApplyToTest
Inheritance
TestFixtureAttributeTestFixtureAttribute
Attributes
Implements

Examples

[TestFixture] public class ExampleClass {}

Constructors

TestFixtureAttribute() TestFixtureAttribute()

Default constructor

TestFixtureAttribute(Object[]) TestFixtureAttribute(Object[])

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.

Properties

Arguments Arguments

The arguments originally provided to the attribute

Categories Categories
Category Category
Description Description

Descriptive text for this fixture

Ignore Ignore

Gets or sets a value indicating whether this TestFixtureAttribute should be ignored.

IgnoreReason IgnoreReason

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

TypeArgs TypeArgs

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

Methods

ApplyToTest(Test) ApplyToTest(Test)

Applies to