Table of Contents

Class TestFixtureData

Namespace
NUnit.Framework
Assembly
nunit.framework.dll

The TestFixtureData class represents a set of arguments and other parameter info to be used for a parameterized fixture. It is derived from TestFixtureParameters and adds a fluent syntax for use in initializing the fixture.

public class TestFixtureData : TestFixtureParameters, IApplyToTest, ITestFixtureData, ITestData
Inheritance
TestFixtureData
Implements
Inherited Members

Constructors

TestFixtureData(object)

Initializes a new instance of the TestFixtureData class.

public TestFixtureData(object arg)

Parameters

arg object

The argument.

TestFixtureData(object, object)

Initializes a new instance of the TestFixtureData class.

public TestFixtureData(object arg1, object arg2)

Parameters

arg1 object

The first argument.

arg2 object

The second argument.

TestFixtureData(object, object, object)

Initializes a new instance of the TestFixtureData class.

public TestFixtureData(object arg1, object arg2, object arg3)

Parameters

arg1 object

The first argument.

arg2 object

The second argument.

arg3 object

The third argument.

TestFixtureData(params object[])

Initializes a new instance of the TestFixtureData class.

public TestFixtureData(params object[] args)

Parameters

args object[]

The arguments.

Methods

Explicit()

Marks the test fixture as explicit.

public TestFixtureData Explicit()

Returns

TestFixtureData

Explicit(string)

Marks the test fixture as explicit, specifying the reason.

public TestFixtureData Explicit(string reason)

Parameters

reason string

Returns

TestFixtureData

Ignore(string)

Ignores this TestFixture, specifying the reason.

public TestFixtureData Ignore(string reason)

Parameters

reason string

The reason.

Returns

TestFixtureData