iOS Guides | Samples

NUnit.Framework.TestFixtureAttribute Class

See Also: TestFixtureAttribute

Syntax

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public class TestFixtureAttribute : NUnitAttribute, IApplyToTest

Example

[TestFixture] public class ExampleClass {}

Requirements

Namespace: NUnit.Framework
Assembly: NUnitLite (in NUnitLite.dll)
Assembly Versions: 0.6.0.0, 1.0.0.0

The members of NUnit.Framework.TestFixtureAttribute are listed below.

See Also: NUnitAttribute

Public Constructors

Default constructor
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.

Public Properties

[read-only]
ArgumentsObject[]. The arguments originally provided to the attribute
[read-only]
CategoriesIList.
CategoryString.
DescriptionString. Descriptive text for this fixture
IgnoreBoolean. Gets or sets a value indicating whether this TestFixtureAttribute should be ignored.
IgnoreReasonString. Gets or sets the ignore reason. May set Ignored as a side effect.
TypeArgsType[]. Get or set the type arguments. If not set explicitly, any leading arguments that are Types are taken as type arguments.

Public Methods