Table of Contents

Class SetUpFixtureAttribute

Namespace
NUnit.Framework
Assembly
nunit.framework.dll

Identifies a class as containing OneTimeSetUpAttribute or OneTimeTearDownAttribute methods for all the test fixtures under a given namespace.

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

Constructors

SetUpFixtureAttribute()

public SetUpFixtureAttribute()

Methods

BuildFrom(ITypeInfo)

Builds a SetUpFixture from the specified type.

public IEnumerable<TestSuite> BuildFrom(ITypeInfo typeInfo)

Parameters

typeInfo ITypeInfo

The type info of the fixture to be used.

Returns

IEnumerable<TestSuite>