Summary
Represents a
test
element of an NAnt.NUnit2.Tasks.NUnit2Task
.
- Assembly
- NAnt
.NUnit2 .dll - Namespace
- NAnt
.NUnit2 .Types - Base Types
-
- Object
- Element
graph BT
Type-->Base0["Element"]
click Base0 "/api/NAnt.Core/Element"
Base0-->Base1["Object"]
Type["NUnit2Test"]
class Type type-node
Syntax
[ElementName("test")]
public class NUnit2Test : Element
Attributes
Type | Description |
---|---|
ElementNameAttribute | Indicates that class should be treated as a NAnt element. |
Properties
Name | Value | Summary |
---|---|---|
AppConfigFile | FileInfo |
The application configuration file to use for the NUnit test domain.
If not specified, NAnt will try to use a configuration name matching
the file name of the assembly with extension ".config".
|
Assemblies | AssemblyFileSet |
Assemblies to include in test.
|
AssemblyFile | FileInfo |
Name of the assembly to search for tests.
|
Categories | Categories |
Categories of test cases to include or exclude.
|
CustomXmlProcessing | bool |
Gets a value indicating whether the element is performing additional
processing using the
NAnt.Core.Element.XmlNode that was used to
initialize the element.
Inherited from Element
|
HaltOnFailure | bool |
Build fails on failure. The default is
true .
|
Location | Location |
Gets or sets the location in the build file where the element is
defined.
Inherited from Element
|
Name | string |
Gets the name of the XML element used to initialize this element.
Inherited from Element
|
NamespaceManager | XmlNamespaceManager |
Gets or sets the
System.Xml.XmlNamespaceManager .
Inherited from Element
|
Parent | Object |
Gets or sets the parent of the element.
Inherited from Element
|
Project | Project |
Gets or sets the
NAnt.Core.Element.Project to which this element belongs.
Inherited from Element
|
Properties | PropertyDictionary |
Gets the properties local to this
NAnt.Core.Element and the
NAnt.Core.Element.Project .
Inherited from Element
|
References | AssemblyFileSet |
Assemblies to scan for missing assembly references.
|
TestAssemblies | StringCollection |
Gets all assemblies specified for these tests.
|
TestName | string |
Name of a specific testfixture to run. If not specified then all
testfixtures are run.
|
XmlNode | XmlNode |
Gets or sets the XML node of the element.
Inherited from Element
|
XsltFile | FileInfo |
XSLT transform file to use when using the
NAnt.NUnit.Types.FormatterType.Plain
formatter.
|
Methods
Name | Value | Summary |
---|---|---|
CopyTo |
void |
Copies all instance data of the
NAnt.Core.Element to a given
NAnt.Core.Element .
Inherited from Element
|
Get |
XmlNode |
Locates the XML node for the specified attribute in the project
configuration node.
Inherited from Element
|
Get |
XmlNode |
Inherited from Element
|
GetLocation |
Location |
Retrieves the location in the build file where the element is
defined.
Inherited from Element
|
Initialize |
void |
Derived classes should override to this method to provide extra
initialization and validation not covered by the base class.
Inherited from Element
|
Initialize |
void |
Performs default initialization.
Inherited from Element
|
Initialize |
Element |
Initializes the build element.
Inherited from Element
static
|
InitializeElement |
void |
Derived classes should override to this method to provide extra
initialization and validation not covered by the base class.
Inherited from Element
|
InitializeXml |
void |
Initializes all build attributes and child elements.
Inherited from Element
|
Log |
void |
Logs a message with the given priority.
Inherited from Element
|
Log |
void |
Logs a message with the given priority.
Inherited from Element
|