Creates a dependency from this test assembly, test fixture or test method on some other test
fixture or test method.
Namespace:
MbUnit.FrameworkAssembly: MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.459.0)
Syntax
| C# |
|---|
public class DependsOnAttribute : TestDependencyPatternAttribute |
| Visual Basic (Declaration) |
|---|
Public Class DependsOnAttribute _ Inherits TestDependencyPatternAttribute |
Remarks
If the other test fixture or test method fails then this test will not run. Moreover, the dependency forces this test to run after those it depends upon.
This attribute can be repeated multiple times if there are multiple dependencies.
Inheritance Hierarchy
System..::.Object
System..::.Attribute
Gallio.Framework.Pattern..::.PatternAttribute
Gallio.Framework.Pattern..::.TestDependencyPatternAttribute
MbUnit.Framework..::.DependsOnAttribute
System..::.Attribute
Gallio.Framework.Pattern..::.PatternAttribute
Gallio.Framework.Pattern..::.TestDependencyPatternAttribute
MbUnit.Framework..::.DependsOnAttribute
