Associates a description with a test fixture, test method, test parameter or other test component.

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

Syntax

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

Remarks

The description provides documentation to users when browsing the tests. However, it is not the only way. If the test has associated XML documentation comments and the compiler is generating an XML documentation file for the test assembly, then MbUnit will automatically import the documentation and make it available to the user as metadata.

Inheritance Hierarchy

See Also