Table of Contents

Class SetUpFixtureAttribute

Namespace
NUnit.Framework
Assembly
nunit.framework.dll

SetUpFixtureAttribute is used to identify a SetUpFixture

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class SetUpFixtureAttribute : FixtureBuilderAttribute, IFixtureBuilder
Inheritance
SetUpFixtureAttribute
Implements
Inherited Members

Constructors

SetUpFixtureAttribute()

public SetUpFixtureAttribute()

Methods

BuildFrom(Type)

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

public TestSuite BuildFrom(Type type)

Parameters

type Type

The type of the fixture to be used.

Returns

TestSuite

A SetUpFixture object as a TestSuite.