Assembly: MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.459.0)
Syntax
| C# |
|---|
public abstract class TestDecoratorAttribute : TestDecoratorPatternAttribute |
| Visual Basic (Declaration) |
|---|
Public MustInherit Class TestDecoratorAttribute _ Inherits TestDecoratorPatternAttribute |
Remarks
A test decorator applies actions to be performed around the initialization, setup, execution, teardown and disposal lifecycle of a test (in that order).
This abstract class provides a convenient way to implement new test decorators of your own. To add new behavior to the decorator, override the appropriate lifecycle methods, such as Execute(PatternTestInstanceState).
If you need more control over how the test is decorated, you may prefer subclassing TestDecoratorPatternAttribute directly instead.
When multiple test decorators are applied to a test, they are installed in order according to the Order property.
Inheritance Hierarchy
System..::.Attribute
Gallio.Framework.Pattern..::.PatternAttribute
Gallio.Framework.Pattern..::.DecoratorPatternAttribute
Gallio.Framework.Pattern..::.TestDecoratorPatternAttribute
MbUnit.Framework..::.TestDecoratorAttribute
