
sets the category name to the name of your class.

<p>Here's an example that creates a category of Critical tests. It works
just like any other category, but has a simpler syntax. A test reporting
system might make use of the attribute to provide special reports.

<div class=code><pre class="prettyprint">
[AttributeUsage(AttributeTargets.Method, AllowMultiple=false)]
public class CriticalAttribute : CategoryAttribute { }

...

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

</div>

<!-- Sub