Runs a dynamic test during test execution.
Namespace:
MbUnit.FrameworkAssembly: MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
protected override TestOutcome RunDynamicTest( ICodeElementInfo declaringCodeElement, Action setUp, Action tearDown ) |
| Visual Basic (Declaration) |
|---|
Protected Overrides Function RunDynamicTest ( _ declaringCodeElement As ICodeElementInfo, _ setUp As Action, _ tearDown As Action _ ) As TestOutcome |
Parameters
- declaringCodeElement
- Type: Gallio.Common.Reflection..::.ICodeElementInfo
The code element that represents the scope in which the test was defined.
- setUp
- Type: Gallio.Common..::.Action
Optional set-up code to run before the test, or null if none.
- tearDown
- Type: Gallio.Common..::.Action
Optional tear-down code to run after the test, or null if none.
Remarks
Subclasses may override this behavior to change how the dynamic test is executed as a test step.
