~mfenniak/nunitv2/AppDomainUnloadFailure

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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<body>
		<h1>NUnit Acceptance Tests</h1>
		<p>
		Developers love self-referential programs! Hence, NUnit has always run all it's 
		own tests, even those that are not really unit tests.
		<p>Now, beginning with NUnit 2.4, NUnit has top-level tests using Ward Cunningham's 
			FIT framework. At this time, the tests are pretty rudimentary, but it's a start 
			and it's a framework for doing more.
			<h2>Running the Tests</h2>
		<p>Open a console or shell window and navigate to the NUnit bin directory, which 
			contains this file. To run the test under Microsoft .Net, enter the command
			<pre>    runFile NUnitFitTests.html TestResults.html .</pre>
			To run it under Mono, enter
			<pre>    mono runFile.exe NUnitFitTests.html TestResults.html .</pre>
			Note the space and dot at the end of each command. The results of your test 
			will be in TestResults.html in the same directory.
			<h2>Platform and CLR Version</h2>
			<table BORDER cellSpacing="0" cellPadding="5">
				<tr>
					<td colspan="2">NUnit.Fixtures.PlatformInfo</td>
				</tr>
			</table>
			<h2>Verify Unit Tests</h2>
		<p>
		Load and run the NUnit unit tests, verifying that the results are as expected. 
		When these tests are run on different platforms, different numbers of tests may 
		be skipped, so the values for Skipped and Run tests are informational only.
		<p>
		The number of tests in each assembly should be constant across all platforms - 
		any discrepancy usually means that one of the test source files was not 
		compiled on the platform. There should be no failures and no tests ignored.
		<p><b>Note:</b>
		At the moment, the nunit.extensions.tests assembly is failing because the 
		fixture doesn't initialize addins in the test domain.
		<p>
			<table BORDER cellSpacing="0" cellPadding="5">
				<tr>
					<td colspan="6">NUnit.Fixtures.AssemblyRunner</td>
				</tr>
				<tr>
					<td>Assembly</td>
					<td>Tests()</td>
					<td>Run()</td>
					<td>Skipped()</td>
					<td>Ignored()</td>
					<td>Failures()</td>
				</tr>
				<tr>
					<td>nunit.framework.tests.dll</td>
					<td>397</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>0</td>
					<td>0</td>
				</tr>
				<tr>
					<td>nunit.core.tests.dll</td>
					<td>355</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>0</td>
					<td>0</td>
				</tr>
				<tr>
					<td>nunit.util.tests.dll</td>
					<td>238</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>0</td>
					<td>0</td>
				</tr>
				<tr>
					<td>nunit.mocks.tests.dll</td>
					<td>43</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>0</td>
					<td>0</td>
				</tr>
				<tr>
					<td>nunit.extensions.tests.dll</td>
					<td>5</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>0</td>
					<td>0</td>
				</tr>
				<tr>
					<td>nunit-console.tests.dll</td>
					<td>40</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>0</td>
					<td>0</td>
				</tr>
				<tr>
					<td>nunit.uikit.tests.dll</td>
					<td>34</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>0</td>
					<td>0</td>
				</tr>
				<tr>
					<td>nunit-gui.tests.dll</td>
					<td>15</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>0</td>
					<td>0</td>
				</tr>
				<tr>
					<td>nunit.fixtures.tests.dll</td>
					<td>6</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>0</td>
					<td>0</td>
				</tr>
			</table>
			<h2>Code Snippet Tests</h2>
		<p>
		These tests create a test assembly from a snippet of code and then load and run 
		the tests that it contains, verifying that the structure of the loaded tests is 
		as expected and that the number of tests run, skipped, ignored or failed is 
		correct.
		<p>
			<table BORDER cellSpacing="0" cellPadding="5">
				<tr>
					<td colspan="6">NUnit.Fixtures.SnippetRunner</td>
				</tr>
				<tr>
					<td>Code</td>
					<td>Tree()</td>
					<td>Run()</td>
					<td>Skipped()</td>
					<td>Ignored()</td>
					<td>Failures()</td>
				</tr>
				<tr>
					<td><pre>public class TestClass
{
}</pre>
					</td>
					<td>EMPTY</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
				</tr>
				<tr>
					<td><pre>using NUnit.Framework;

[TestFixture]
public class TestClass
{
}</pre>
					</td>
					<td>TestClass</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
				</tr>
				<tr>
					<td><pre>using NUnit.Framework;

[TestFixture]
public class TestClass
{
    [Test]
    public void T1() { }
    [Test]
    public void T2() { }
    [Test]
    public void T3() { }
}</pre>
					</td>
					<td><pre>TestClass
&gt;T1
&gt;T2
&gt;T3</pre>
					</td>
					<td>3</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
				</tr>
				<tr>
					<td><pre>using NUnit.Framework;

[TestFixture]
public class TestClass1
{
    [Test]
    public void T1() { }
}

[TestFixture]
public class TestClass2
{
    [Test]
    public void T2() { }
    [Test]
    public void T3() { }
}</pre>
					</td>
					<td><pre>TestClass1
&gt;T1
TestClass2
&gt;T2
&gt;T3</pre>
					</td>
					<td>3</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
				</tr>
				<tr>
					<td><pre>using NUnit.Framework;

[TestFixture]
public class TestClass
{
    [Test]
    public void T1() { }
    [Test, Ignore]
    public void T2() { }
    [Test]
    public void T3() { }
}</pre>
					</td>
					<td><pre>TestClass
&gt;T1
&gt;T2
&gt;T3</pre>
					</td>
					<td>2</td>
					<td>0</td>
					<td>1</td>
					<td>0</td>
				</tr>
				<tr>
					<td><pre>using NUnit.Framework;

[TestFixture]
public class TestClass
{
    [Test]
    public void T1() { }
    [Test, Explicit]
    public void T2() { }
    [Test]
    public void T3() { }
}</pre>
					</td>
					<td><pre>TestClass
&gt;T1
&gt;T2
&gt;T3</pre>
					</td>
					<td>2</td>
					<td>1</td>
					<td>0</td>
					<td>0</td>
				</tr>
			</table>
			<h2>Summary Information</h2>
			<table BORDER cellSpacing="0" cellPadding="5">
				<tr>
					<td colspan="2">fit.Summary</td>
				</tr>
			</table>
	</body>
</html>