<filterset>

A set of strings, mostly used to include and exclude certain test categories.

Strings can be grouped to sets, and later be referenced by their id.

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>

Defines a single string for tests to exclude.

Parameters

AttributeTypeDescriptionRequired
namestring The name pattern to include/exclude. True
ifbool If true then the pattern will be used; otherwise, skipped. The default is true. False
unlessbool If false then the pattern will be used; otherwise, skipped. The default is false. False

</exclude>

<include>

Defines a single string for tests to include.

Parameters

AttributeTypeDescriptionRequired
namestring The name pattern to include/exclude. True
ifbool If true then the pattern will be used; otherwise, skipped. The default is true. False
unlessbool If false then the pattern will be used; otherwise, skipped. The default is false. False

</include>

<filterset>

Adds a nested set of includes and excludes, or references other standalone <filterset>.

</filterset>

<includeset>

Adds a nested set of includes, or references other standalone <includeset>.

</includeset>

Requirements

Assembly: NAntExtensions.MbUnit (1.0.17.116)