| NAnt  Help  Element Reference  <test> | v0.92-rc1 | 
[This is preliminary documentation and subject to change.]
Represents a test element of an <nunit> task.
| Attribute | Type | Description | Required | 
|---|---|---|---|
| assembly | string | Assembly to load the test from. | True | 
| class | string | Class name of the test. | True | 
| appconfig | string | The application configuration file to use for the NUnit test domain. | False | 
| fork | bool | Run the tests in a separate AppDomain. | False | 
| haltonerror | bool | Stop the build process if an error occurs during the test run. | False | 
| haltonfailure | bool | Stop the build process if a test fails (errors are considered failures as well). | False | 
| outfile | string | Base name of the test result. The full filename is determined by this attribute and the extension of formatter. | False | 
| todir | string | Directory to write the reports to. | False |