Table of Contents

Class SetUpFixture

Namespace
NUnit.Framework.Internal
Assembly
nunit.framework.dll

SetUpFixture extends TestSuite and supports Setup and TearDown methods.

public class SetUpFixture : TestSuite, ITest, IXmlNodeBuilder, IComparable, IComparable<Test>
Inheritance
SetUpFixture
Implements
Inherited Members

Constructors

SetUpFixture(ITypeInfo)

Initializes a new instance of the SetUpFixture class.

public SetUpFixture(ITypeInfo type)

Parameters

type ITypeInfo

SetUpFixture(SetUpFixture, ITestFilter)

Creates a copy of the given suite with only the descendants that pass the specified filter.

public SetUpFixture(SetUpFixture setUpFixture, ITestFilter filter)

Parameters

setUpFixture SetUpFixture

The SetUpFixture to copy.

filter ITestFilter

Determines which descendants are copied.

Properties

TypeInfo

Gets the TypeInfo of the fixture used in running this test.

public ITypeInfo TypeInfo { get; }

Property Value

ITypeInfo

Methods

Copy(ITestFilter)

Creates a filtered copy of the test suite.

public override TestSuite Copy(ITestFilter filter)

Parameters

filter ITestFilter

Determines which descendants are copied.

Returns

TestSuite