Overrides the name of a test or test parameter.

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

Syntax

C#
public class NameAttribute : PatternAttribute
Visual Basic (Declaration)
Public Class NameAttribute _
	Inherits PatternAttribute

Remarks

Use this attribute to specify a more descriptive or readable name than the one chosen by default by MbUnit which is usually derived from the method, class, field, property, or parameters name. The test name specified by this attribute can contain

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    Gallio.Framework.Pattern..::.PatternAttribute
      MbUnit.Framework..::.NameAttribute

See Also