class=code><pre class="prettyprint">
public enum SeverityLevel
{
    Critical,
    Major,
    Normal,
    Minor
}

[AttributeUsage(AttributeTargets.Method, AllowMultiple=false)]
public class SeverityAttribute : PropertyAttribute
{
    public SeverityAttribute( SeverityLevel level )
	    : base( level );
}

...

[Test, Severity( SeverityLevel.Critical)]
public void MyTest()
{ /*...*/ }
</pre></div>

<p>Beginning with NUnit 2.5, a property attribute is able to contain
multiple name/value pairs. This capabilit