csUnit Class Library

IgnoreAttribute Class

The IgnoreAttribute can be used to mark a test fixture or a test. When marked this way, the test or the entire test fixture will not be excuted when the tests are run.

For a list of all members of this type, see IgnoreAttribute Members.

System.Object
   Attribute
      IgnoreAttribute

public class IgnoreAttribute : Attribute

Remarks

The advantage compared to commenting out tests is that ignored tests will still be visible in the csUnitRunner interface. This way they will not be forgotten as could be the case when code is commented out. However, they will not be displayed as passed or failed. Therefore they do not influence the test result.

Requirements

Namespace: csUnit Namespace

Assembly: csUnit.dll

See Also

IgnoreAttribute Members | csUnit Namespace