Table of Contents

Class OneTimeSetUpCommand

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

OneTimeSetUpCommand runs any one-time setup methods for a suite, constructing the user test object if necessary.

public class OneTimeSetUpCommand : BeforeTestCommand
Inheritance
OneTimeSetUpCommand
Inherited Members

Constructors

OneTimeSetUpCommand(TestCommand, SetUpTearDownItem)

Constructs a OneTimeSetUpCommand for a suite

public OneTimeSetUpCommand(TestCommand innerCommand, SetUpTearDownItem setUpTearDown)

Parameters

innerCommand TestCommand

The inner command to which the command applies

setUpTearDown SetUpTearDownItem

A SetUpTearDownList for use by the command