1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting T:NAnt.NUnit1.Types.NUnitTest-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title><test> Element</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="->" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="->" src="../images/arrow.gif" />
<span>Element Reference</span>
<img alt="->" src="../images/arrow.gif" /> <test></td>
<td class="NavBar-Cell" align="right">
v0.92-rc1</td>
</tr>
</table>
<h1><test></h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Represents a test element of an <a href="../tasks/nunit.html"><nunit></a> task. </p>
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Attribute</th>
<th style="text-align: center;">Type</th>
<th>Description</th>
<th style="text-align: center;">Required</th>
</tr>
<tr>
<td valign="top" class="required">assembly</td>
<td style="text-align: center;">string</td>
<td> Assembly to load the test from. </td>
<td style="text-align: center;">True</td>
</tr>
<tr>
<td valign="top" class="required">class</td>
<td style="text-align: center;">string</td>
<td> Class name of the test. </td>
<td style="text-align: center;">True</td>
</tr>
<tr>
<td valign="top">appconfig</td>
<td style="text-align: center;">string</td>
<td> The application configuration file to use for the NUnit test domain. </td>
<td style="text-align: center;">False</td>
</tr>
<tr>
<td valign="top">fork</td>
<td style="text-align: center;">bool</td>
<td> Run the tests in a separate <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemAppDomainClassTopic.asp">AppDomain</a>. </td>
<td style="text-align: center;">False</td>
</tr>
<tr>
<td valign="top">haltonerror</td>
<td style="text-align: center;">bool</td>
<td> Stop the build process if an error occurs during the test run. </td>
<td style="text-align: center;">False</td>
</tr>
<tr>
<td valign="top">haltonfailure</td>
<td style="text-align: center;">bool</td>
<td> Stop the build process if a test fails (errors are considered failures as well). </td>
<td style="text-align: center;">False</td>
</tr>
<tr>
<td valign="top">outfile</td>
<td style="text-align: center;">string</td>
<td> Base name of the test result. The full filename is determined by this attribute and the extension of formatter. </td>
<td style="text-align: center;">False</td>
</tr>
<tr>
<td valign="top">todir</td>
<td style="text-align: center;">string</td>
<td> Directory to write the reports to. </td>
<td style="text-align: center;">False</td>
</tr>
</table>
</div>
<h3>Requirements</h3>
<div style="margin-left: 20px;">
<b>Assembly:</b> NAnt.NUnit1Tasks (0.92.4526.0)
</div>
</body>
</html>
|