NAnt SDK Documentation - v0.92 |

# NUnit2Test Class

Represents a `test` element of an NUnit2Task.

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

System.Object
NAnt.Core.Element
NAnt.NUnit2.Types.NUnit2Test

[Visual Basic]
<ElementName(Name:="test")>
Public Class NUnit2Test
Inherits Element
[C#]
[ElementName(Name="test")]
public class NUnit2Test : Element

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Requirements

Namespace: NAnt.NUnit2.Types

Assembly: NAnt.NUnit2Tasks (in NAnt.NUnit2Tasks.dll)

#### See Also

NUnit2Test Members | NAnt.NUnit2.Types Namespace