Table of Contents

Class BeforeTestActionCommand

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

TestActionBeforeCommand handles the BeforeTest method of a single TestActionItem, relying on the item to remember it has been run.

public class BeforeTestActionCommand : BeforeTestCommand
Inheritance
BeforeTestActionCommand
Inherited Members

Constructors

BeforeTestActionCommand(TestCommand, TestActionItem)

Initializes a new instance of the BeforeTestActionCommand class.

public BeforeTestActionCommand(TestCommand innerCommand, TestActionItem action)

Parameters

innerCommand TestCommand

The inner command.

action TestActionItem

The TestActionItem to run before the inner command.