Associates custom metadata with a test fixture, test method, test parameter or other test component. The metadata can be used for documentation, classification or dynamic customization of tests.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.459.0)

Syntax

C#
public class MetadataAttribute : MetadataPatternAttribute
Visual Basic (Declaration)
Public Class MetadataAttribute _
	Inherits MetadataPatternAttribute

Remarks

Metadata appears in the test reports and can be used for filtering. It is also accessible at runtime by inspecting the properties of the current test in the TestContext.

Inheritance Hierarchy

See Also