CategoryAttribute.

CategoryAttribute(string) Constructor

Summary

Construct attribute for a given category based on a name. The name may not contain the characters ',', '+', '-' or '!'. However, this is not checked in the constructor since it would cause an error to arise at as the test was loaded without giving a clear indication of where the problem is located. The error is handled in NUnitFramework.cs by marking the test as not runnable.
Namespace
TCLite
Containing Type
CategoryAttribute

Syntax

public CategoryAttribute(string names)

Parameters

Name Type Description
names string

Return Value

Type Description
void