Controls the categories of tests to execute using the
NAnt.NUnit2.Tasks.NUnit2Task
.
Parameters
Attribute | Type | Description | Required |
---|---|---|---|
id | string |
The ID used to be referenced later.
|
False |
refid | string |
The ID to use as the reference.
|
False |
Nested elements
<exclude>
Specifies a list of categories to exclude.
No child element found
<exclude>
<include>
Specifies a list of categories to include.
No child element found
<include>
Examples
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>
Requirements
- Assembly
- NAnt
.NUnit2 .dll - Namespace
-
NAnt
.NUnit2 .Types