| NAnt  Help  Type Reference  <categories> | v0.92-rc1 | 
[This is preliminary documentation and subject to change.]
Controls the categories of tests to execute using the <nunit2> task.
| Attribute | Type | Description | Required | 
|---|---|---|---|
| id | string | The ID used to be referenced later. | False | 
| refid | string | The ID to use as the reference. | False | 
Represents a certain group of test cases or fixtures.
| Attribute | Type | Description | Required | 
|---|---|---|---|
| name | string | A name of a category, or comma-separated list of names. | True | 
| if | bool | If true then the category will be processed; otherwise, skipped. The default is true. | False | 
| unless | bool | If true then the category will be skipped; otherwise, processed. The default is false. | False | 
Represents a certain group of test cases or fixtures.
| Attribute | Type | Description | Required | 
|---|---|---|---|
| name | string | A name of a category, or comma-separated list of names. | True | 
| if | bool | If true then the category will be processed; otherwise, skipped. The default is true. | False | 
| unless | bool | If true then the category will be skipped; otherwise, processed. The default is false. | False | 
Only include test cases and fixtures that require no internet access.
<categories>
    <include name="NoInternetAccess" />
</categories>
    
      Exclude test cases and fixtures that are known to fail.
<categories>
    <exclude name="NotWorking" />
</categories>