Class SetUpFixtureAttribute
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
ITypeInfoThe type info of the fixture to be used.