IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.ITestAction Interface Reference

When implemented by an attribute, this interface implemented to provide actions to execute before and after tests. More...

+ Inheritance diagram for NUnit.Framework.ITestAction:

Public Member Functions

void BeforeTest (ITest test)
 Executed before each test is run More...
 
void AfterTest (ITest test)
 Executed after each test is run More...
 

Properties

ActionTargets Targets [get]
 Provides the target for the action attribute More...
 

Detailed Description

When implemented by an attribute, this interface implemented to provide actions to execute before and after tests.

Member Function Documentation

void NUnit.Framework.ITestAction.BeforeTest ( ITest  test)

Executed before each test is run

Parameters
testThe test that is going to be run.

Implemented in NUnit.Framework.Internal.TestFixtureTests.FixtureNotNullTestAttribute, NUnit.TestData.ActionAttributeTests.TaggedActionAttribute, and NUnit.Framework.TestActionAttribute.

void NUnit.Framework.ITestAction.AfterTest ( ITest  test)

Executed after each test is run

Parameters
testThe test that has just been run.

Implemented in NUnit.TestData.ActionAttributeTests.TaggedActionAttribute, and NUnit.Framework.TestActionAttribute.

Property Documentation

ActionTargets NUnit.Framework.ITestAction.Targets
get

Provides the target for the action attribute

Returns
The target for the action attribute

Referenced by NUnit.Framework.Internal.Commands.TestActionCommand.Execute(), and NUnit.Framework.Internal.Execution.CompositeWorkItem.InitializeSetUpAndTearDownCommands().


The documentation for this interface was generated from the following file: