Table of Contents

Class TestActionCommand

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

TestActionCommand handles a single ITestAction applied to a test. It runs the BeforeTest method, then runs the test and finally runs the AfterTest method.

public class TestActionCommand : BeforeAndAfterTestCommand
Inheritance
TestActionCommand
Inherited Members

Constructors

TestActionCommand(TestCommand, ITestAction)

Initializes a new instance of the TestActionCommand class.

public TestActionCommand(TestCommand innerCommand, ITestAction action)

Parameters

innerCommand TestCommand

The inner command.

action ITestAction

The TestAction with which to wrap the inner command.