nunit 2.4.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. data/docs/addinsDialog.html +74 -0
  2. data/docs/assertions.html +91 -0
  3. data/docs/attributes.html +89 -0
  4. data/docs/category.html +265 -0
  5. data/docs/classicModel.html +92 -0
  6. data/docs/codeFuncs.js +77 -0
  7. data/docs/collectionAssert.html +162 -0
  8. data/docs/collectionConstraints.html +130 -0
  9. data/docs/comparisonAsserts.html +271 -0
  10. data/docs/comparisonConstraints.html +109 -0
  11. data/docs/compoundConstraints.html +97 -0
  12. data/docs/conditionAsserts.html +123 -0
  13. data/docs/conditionConstraints.html +106 -0
  14. data/docs/configEditor.html +93 -0
  15. data/docs/configFiles.html +155 -0
  16. data/docs/consoleCommandLine.html +271 -0
  17. data/docs/constraintModel.html +134 -0
  18. data/docs/contextMenu.html +106 -0
  19. data/docs/culture.html +255 -0
  20. data/docs/customAsserts.html +115 -0
  21. data/docs/customConstraints.html +101 -0
  22. data/docs/description.html +178 -0
  23. data/docs/equalConstraint.html +139 -0
  24. data/docs/equalityAsserts.html +187 -0
  25. data/docs/exception.html +296 -0
  26. data/docs/explicit.html +256 -0
  27. data/docs/extensibility.html +83 -0
  28. data/docs/favicon.ico +0 -0
  29. data/docs/features.html +75 -0
  30. data/docs/fileAssert.html +114 -0
  31. data/docs/files/QuickStart.Spanish.doc +0 -0
  32. data/docs/files/QuickStart.doc +0 -0
  33. data/docs/files/Results.xsd +70 -0
  34. data/docs/files/Summary.xslt +47 -0
  35. data/docs/files/TestResult.xml +103 -0
  36. data/docs/files/Thumbs.db +0 -0
  37. data/docs/fixtureSetup.html +201 -0
  38. data/docs/fixtureTeardown.html +204 -0
  39. data/docs/getStarted.html +80 -0
  40. data/docs/guiCommandLine.html +183 -0
  41. data/docs/identityAsserts.html +99 -0
  42. data/docs/ignore.html +249 -0
  43. data/docs/img/addinsDialog.JPG +0 -0
  44. data/docs/img/assembliesTab.jpg +0 -0
  45. data/docs/img/assemblyReloadOptions.JPG +0 -0
  46. data/docs/img/bulletOff.gif +0 -0
  47. data/docs/img/bulletOn.gif +0 -0
  48. data/docs/img/configEditor.jpg +0 -0
  49. data/docs/img/console-mock.jpg +0 -0
  50. data/docs/img/displayTab.jpg +0 -0
  51. data/docs/img/generalOptions.jpg +0 -0
  52. data/docs/img/generalTab.jpg +0 -0
  53. data/docs/img/gui-screenshot.jpg +0 -0
  54. data/docs/img/gui-verify.jpg +0 -0
  55. data/docs/img/langFilter.gif +0 -0
  56. data/docs/img/logo.gif +0 -0
  57. data/docs/img/miniGui.jpg +0 -0
  58. data/docs/img/optionsDialog.jpg +0 -0
  59. data/docs/img/resultTab.jpg +0 -0
  60. data/docs/img/testLoadOptions.jpg +0 -0
  61. data/docs/img/testOutputOptions.jpg +0 -0
  62. data/docs/img/testProperties.jpg +0 -0
  63. data/docs/img/testResultOptions.JPG +0 -0
  64. data/docs/img/testTab.jpg +0 -0
  65. data/docs/img/testsTab.JPG +0 -0
  66. data/docs/img/textOutputOptions.jpg +0 -0
  67. data/docs/img/treeDisplayOptions.JPG +0 -0
  68. data/docs/img/visualStudioOptions.JPG +0 -0
  69. data/docs/index.html +75 -0
  70. data/docs/installation.html +172 -0
  71. data/docs/license.html +88 -0
  72. data/docs/listMapper.html +100 -0
  73. data/docs/mainMenu.html +260 -0
  74. data/docs/multiAssembly.html +130 -0
  75. data/docs/nunit-console.html +84 -0
  76. data/docs/nunit-gui.html +115 -0
  77. data/docs/nunit.css +118 -0
  78. data/docs/nunitAddins.html +331 -0
  79. data/docs/optionsDialog.html +262 -0
  80. data/docs/platform.html +285 -0
  81. data/docs/platformSupport.html +99 -0
  82. data/docs/projectEditor.html +127 -0
  83. data/docs/property.html +219 -0
  84. data/docs/propertyConstraint.html +89 -0
  85. data/docs/quickStart.html +314 -0
  86. data/docs/releaseNotes.html +1235 -0
  87. data/docs/sameasConstraint.html +98 -0
  88. data/docs/samples.html +126 -0
  89. data/docs/setCulture.html +173 -0
  90. data/docs/setup.html +199 -0
  91. data/docs/setupFixture.html +198 -0
  92. data/docs/stringAssert.html +107 -0
  93. data/docs/stringConstraints.html +111 -0
  94. data/docs/suite.html +222 -0
  95. data/docs/teardown.html +204 -0
  96. data/docs/test.html +171 -0
  97. data/docs/testFixture.html +168 -0
  98. data/docs/testProperties.html +76 -0
  99. data/docs/typeAsserts.html +101 -0
  100. data/docs/typeConstraints.html +103 -0
  101. data/docs/upgrade.html +97 -0
  102. data/docs/utilityAsserts.html +108 -0
  103. data/docs/vsSupport.html +140 -0
  104. data/lib/net-1.1/Failure.jpg +0 -0
  105. data/lib/net-1.1/Ignored.jpg +0 -0
  106. data/lib/net-1.1/NUnitFitTests.html +277 -0
  107. data/lib/net-1.1/NUnitTests.config +84 -0
  108. data/lib/net-1.1/NUnitTests.nunit +14 -0
  109. data/lib/net-1.1/Success.jpg +0 -0
  110. data/lib/net-1.1/clr.bat +96 -0
  111. data/lib/net-1.1/fit.dll +0 -0
  112. data/lib/net-1.1/loadtest-assembly.dll +0 -0
  113. data/lib/net-1.1/mock-assembly.dll +0 -0
  114. data/lib/net-1.1/nonamespace-assembly.dll +0 -0
  115. data/lib/net-1.1/notestfixtures-assembly.dll +0 -0
  116. data/lib/net-1.1/nunit-console-runner.dll +0 -0
  117. data/lib/net-1.1/nunit-console.exe +0 -0
  118. data/lib/net-1.1/nunit-console.exe.config +117 -0
  119. data/lib/net-1.1/nunit-console.tests.dll +0 -0
  120. data/lib/net-1.1/nunit-gui-runner.dll +0 -0
  121. data/lib/net-1.1/nunit-gui.tests.dll +0 -0
  122. data/lib/net-1.1/nunit.core.dll +0 -0
  123. data/lib/net-1.1/nunit.core.extensions.dll +0 -0
  124. data/lib/net-1.1/nunit.core.interfaces.dll +0 -0
  125. data/lib/net-1.1/nunit.core.tests.dll +0 -0
  126. data/lib/net-1.1/nunit.exe +0 -0
  127. data/lib/net-1.1/nunit.exe.config +121 -0
  128. data/lib/net-1.1/nunit.extensions.tests.dll +0 -0
  129. data/lib/net-1.1/nunit.fixtures.dll +0 -0
  130. data/lib/net-1.1/nunit.fixtures.tests.dll +0 -0
  131. data/lib/net-1.1/nunit.framework.dll +0 -0
  132. data/lib/net-1.1/nunit.framework.extensions.dll +0 -0
  133. data/lib/net-1.1/nunit.framework.tests.dll +0 -0
  134. data/lib/net-1.1/nunit.framework.xml +5622 -0
  135. data/lib/net-1.1/nunit.mocks.dll +0 -0
  136. data/lib/net-1.1/nunit.mocks.tests.dll +0 -0
  137. data/lib/net-1.1/nunit.uikit.dll +0 -0
  138. data/lib/net-1.1/nunit.uikit.tests.dll +0 -0
  139. data/lib/net-1.1/nunit.util.dll +0 -0
  140. data/lib/net-1.1/nunit.util.tests.dll +0 -0
  141. data/lib/net-1.1/runFile.exe +0 -0
  142. data/lib/net-1.1/runFile.exe.config +43 -0
  143. data/lib/net-1.1/test-assembly.dll +0 -0
  144. data/lib/net-1.1/test-utilities.dll +0 -0
  145. data/lib/net-1.1/timing-tests.dll +0 -0
  146. data/lib/net-2.0/Failure.jpg +0 -0
  147. data/lib/net-2.0/Ignored.jpg +0 -0
  148. data/lib/net-2.0/NUnitFitTests.html +277 -0
  149. data/lib/net-2.0/NUnitTests.config +84 -0
  150. data/lib/net-2.0/NUnitTests.nunit +14 -0
  151. data/lib/net-2.0/Success.jpg +0 -0
  152. data/lib/net-2.0/clr.bat +96 -0
  153. data/lib/net-2.0/fit.dll +0 -0
  154. data/lib/net-2.0/loadtest-assembly.dll +0 -0
  155. data/lib/net-2.0/mock-assembly.dll +0 -0
  156. data/lib/net-2.0/nonamespace-assembly.dll +0 -0
  157. data/lib/net-2.0/notestfixtures-assembly.dll +0 -0
  158. data/lib/net-2.0/nunit-console-runner.dll +0 -0
  159. data/lib/net-2.0/nunit-console-x86.exe +0 -0
  160. data/lib/net-2.0/nunit-console-x86.exe.config +117 -0
  161. data/lib/net-2.0/nunit-console.exe +0 -0
  162. data/lib/net-2.0/nunit-console.exe.config +117 -0
  163. data/lib/net-2.0/nunit-console.tests.dll +0 -0
  164. data/lib/net-2.0/nunit-gui-runner.dll +0 -0
  165. data/lib/net-2.0/nunit-gui.tests.dll +0 -0
  166. data/lib/net-2.0/nunit-x86.exe +0 -0
  167. data/lib/net-2.0/nunit-x86.exe.config +121 -0
  168. data/lib/net-2.0/nunit.core.dll +0 -0
  169. data/lib/net-2.0/nunit.core.extensions.dll +0 -0
  170. data/lib/net-2.0/nunit.core.interfaces.dll +0 -0
  171. data/lib/net-2.0/nunit.core.tests.dll +0 -0
  172. data/lib/net-2.0/nunit.exe +0 -0
  173. data/lib/net-2.0/nunit.exe.config +121 -0
  174. data/lib/net-2.0/nunit.extensions.tests.dll +0 -0
  175. data/lib/net-2.0/nunit.fixtures.dll +0 -0
  176. data/lib/net-2.0/nunit.fixtures.tests.dll +0 -0
  177. data/lib/net-2.0/nunit.framework.dll +0 -0
  178. data/lib/net-2.0/nunit.framework.extensions.dll +0 -0
  179. data/lib/net-2.0/nunit.framework.tests.dll +0 -0
  180. data/lib/net-2.0/nunit.framework.xml +5622 -0
  181. data/lib/net-2.0/nunit.mocks.dll +0 -0
  182. data/lib/net-2.0/nunit.mocks.tests.dll +0 -0
  183. data/lib/net-2.0/nunit.uikit.dll +0 -0
  184. data/lib/net-2.0/nunit.uikit.tests.dll +0 -0
  185. data/lib/net-2.0/nunit.util.dll +0 -0
  186. data/lib/net-2.0/nunit.util.tests.dll +0 -0
  187. data/lib/net-2.0/runFile.exe +0 -0
  188. data/lib/net-2.0/runFile.exe.config +43 -0
  189. data/lib/net-2.0/test-assembly.dll +0 -0
  190. data/lib/net-2.0/test-utilities.dll +0 -0
  191. data/lib/net-2.0/timing-tests.dll +0 -0
  192. metadata +262 -0
@@ -0,0 +1,260 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2
+ <html>
3
+ <!-- Standard Head Part -->
4
+ <head>
5
+ <title>NUnit - MainMenu</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
7
+ <meta http-equiv="Content-Language" content="en-US">
8
+ <link rel="stylesheet" type="text/css" href="nunit.css">
9
+ <link rel="shortcut icon" href="favicon.ico">
10
+ </head>
11
+ <!-- End Standard Head Part -->
12
+
13
+ <body>
14
+
15
+ <!-- Standard Header for NUnit.org -->
16
+ <div id="header">
17
+ <a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
18
+ <div id="nav">
19
+ <a href="http://www.nunit.org">NUnit</a>
20
+ <a class="active" href="index.html">Documentation</a>
21
+ </div>
22
+ </div>
23
+ <!-- End of Header -->
24
+
25
+ <div id="content">
26
+
27
+ <h2>Main Menu</h2>
28
+
29
+ <hr><h3>File Menu</h3><hr>
30
+
31
+ <h4>New Project�</h4>
32
+ <p>Closes any open project, prompting the user to save it if it has been changed and then opens a
33
+ FileSave dialog to allow selecting the name and location of the new project.</p>
34
+
35
+ <h4>Open Project�</h4>
36
+ <p>Closes any open project, prompting the user to save it if it has been changed and then opens a
37
+ FileOpen dialog to allow selecting the name and location of an assembly, a test project or (if
38
+ Visual Studio support is enabled) a Visual Studio project.</p>
39
+
40
+ <h4>Close</h4>
41
+ <p>Closes any open project, prompting the user to save it if it has been changed.</p>
42
+
43
+
44
+ <h4>Save</h4>
45
+ <p>Saves the currently open project. Opens the Save As dialog if this is the first time the project
46
+ is being saved.</p>
47
+
48
+ <h4>Save As�</h4>
49
+ <p>Opens a FileSave dialog to allow specifying the name and location to which the project
50
+ should be saved.</p>
51
+
52
+ <h4>Reload Project</h4>
53
+ <p>Completely reloads the current project by closing and re-opening it.</p>
54
+
55
+ <h4>Reload Tests</h4>
56
+ <p>Reloads the tests, merging any changes into the tree.</p>
57
+
58
+ <h4>Recent Files�</h4>
59
+ <p>Displays a list of recently opened files from which the user is able to select one for opening.
60
+ If you are running under a CLR version prior to 2.0, files that were last opened under 2.0 will not
61
+ appear.</p>
62
+
63
+ <h4>Exit</h4>
64
+ <p>Closes and exits the application. If a test is running, the user is given the opportunity to
65
+ cancel it and or to allow it to continue. If the open project has any pending changes, the user
66
+ is given the opportunity to save it.</p>
67
+
68
+ <hr><h3>View Menu</h3><hr>
69
+
70
+ <h4>Full Gui</h4>
71
+ <p>Displays the complete gui - as in prior versions of NUnit. This includes the
72
+ errors and failures and other tabs and the progress bar.</p>
73
+
74
+ <h4>Mini Gui</h4>
75
+ <p>Switches the display to the mini-gui, which consists of the tree display
76
+ only.</p>
77
+
78
+ <h4>Result Tabs</h4>
79
+ <p>Displays a submenu that allows showing or hiding the tabs on the right
80
+ hand side of the display.</p>
81
+
82
+ <blockquote>
83
+ <h5>Errors &amp; Failures, Tests Not Run, etc.</h5>
84
+ <p>Selects the individual tabs to display.</p>
85
+ </blockquote>
86
+
87
+ <h4>Tree</h4>
88
+ <p>Displays the Tree submenu.</p>
89
+
90
+ <blockquote>
91
+ <h5>Show Checkboxes</h5>
92
+ <p>Turns the display of checkboxes in the tree on or off. The checkboxes may
93
+ be used to select multiple tests for running.</p>
94
+
95
+ <h5>Expand</h5>
96
+ <p>Expands the currently selected tree node.</p>
97
+
98
+ <h5>Collapse</h5>
99
+ <p>Collapses the currently selected tree node.</p>
100
+
101
+ <h5>Expand All</h5>
102
+ <p>Expands all nodes of the tree.</p>
103
+
104
+ <h5>Collapse All</h5>
105
+ <p>Collapses all nodes in the tree to the root.</p>
106
+
107
+ <h5>Hide Tests</h5>
108
+ <p>Collapses all fixture nodes, hiding the test cases.</p>
109
+
110
+ <h5>Properties�</h5>
111
+ <p>Displays the Properties Dialog for the currently selected test.</p>
112
+ </blockquote>
113
+
114
+ <h4>GUI Font</h4>
115
+ <p>Displays a submenu that allows changing the general font used by NUnit.</p>
116
+
117
+ <blockquote>
118
+ <h5>Increase</h5>
119
+ <p>Increases the size of the font.</p>
120
+
121
+ <h5>Decrease</h5>
122
+ <p>Decreases the size of the font.</p>
123
+
124
+ <h5>Change...</h5>
125
+ <p>Displays the Font Change dialog.</p>
126
+
127
+ <h5>Restore</h5>
128
+ <p>Restores the default font.</p>
129
+ </blockquote>
130
+
131
+ <h4>Fixed Font</h4>
132
+ <p>Displays a submenu that allows changing the fixed font used to display
133
+ console output from the tests.</p>
134
+
135
+ <blockquote>
136
+ <h5>Increase</h5>
137
+ <p>Increases the size of the fixed font.</p>
138
+
139
+ <h5>Decrease</h5>
140
+ <p>Decreases the size of the fixed font.</p>
141
+
142
+ <h5>Restore</h5>
143
+ <p>Restores the default fixed font.</p>
144
+ </blockquote>
145
+
146
+ <h4>Assembly Details...</h4>
147
+ <p>Displays information about loaded test assemblies.</p>
148
+
149
+ <h4>Status Bar</h4>
150
+ <p>Displays or hides the status bar.</p>
151
+
152
+ <hr><h3>Project Menu</h3><hr>
153
+
154
+ <h4>Configurations</h4>
155
+ <p>Displays a submenu allowing selecting, adding or editing a configuration.
156
+
157
+ <blockquote>
158
+ <h5>Debug, Release, etc.</h5>
159
+ <p>Loads the specified configuration for testing.</p>
160
+
161
+ <h5>Add�</h5>
162
+ <p>Opens the Add Configuration Dialog, which allows entry of the name of the new
163
+ configuration and specifying an existing configuration to use as a template.</p>
164
+
165
+ <h5>Edit�</h5>
166
+ <p>Opens the <a href="configEditor.html">Configuration Editor</a>.</p>
167
+ </blockquote>
168
+
169
+ <h4>Add Assembly�</h4>
170
+ <p>Displays a FileOpen dialog to allow selecting an assembly to be added to the active
171
+ configuration of the currently open project.</p>
172
+
173
+ <h4>Add VS Project�</h4>
174
+ <p>Only available if Visual Studio Support is enabled. Displays a FileOpen dialog to allows
175
+ selecting a Visual Studio project to be added to the currently open project. Entries are added
176
+ for each configuration specified in the VS project, creating new configurations in the test
177
+ project if necessary.</p>
178
+
179
+ <h4>Edit�</h4>
180
+ <p>Opens the <a href="projectEditor.html">Project Editor</a>.</p>
181
+
182
+ <hr><h3>Test Menu</h3><hr>
183
+
184
+ <h4>Run All</h4>
185
+ <p>Runs all the tests.</p>
186
+
187
+ <h4>Run Selected</h4>
188
+ <p>Runs the test or tests that are selected in the tree. If checkboxes are visible,
189
+ any checked tests are run by preference. This is the same function provided by
190
+ the Run button.</p>
191
+
192
+ <h4>Run Failed</h4>
193
+ <p>Runs only the tests that failed on the previous run.</p>
194
+
195
+ <h4>Stop Run</h4>
196
+ <p>Stops the test run. This is the same function provided by the Stop button.</p>
197
+
198
+ <hr><h3>Tools Menu</h3><hr>
199
+
200
+ <h4>Save Results as XML�</h4>
201
+ <p>Opens a FileSave Dialog for saving the test results as an XML file.</p>
202
+
203
+ <h4>Exception Details�</h4>
204
+ <p>Displays detailed information about the last exception.</p>
205
+
206
+ <h4>Options...</h4>
207
+ <p>Displays the <a href="optionsDialog.html">Options Dialog</a>.</p>
208
+
209
+ <h4>Addins...</h4>
210
+ <p>Displays the <a href="addinsDialog.html">Addins Dialog</a>.</p>
211
+
212
+ <hr><h3>Help Menu</h3><hr>
213
+
214
+ <h4>NUnit Help</h4>
215
+ <p>Displays the NUnit documentation, if installed. Otherwise, attempts to
216
+ connect to the NUnit web site.</p>
217
+
218
+ <h4>About NUnit�</h4>
219
+ <p>Displays info about your version of NUnit and a link to the nunit.org site.</p>
220
+
221
+ </div>
222
+
223
+ <!-- Submenu -->
224
+ <div id="subnav">
225
+ <ul>
226
+ <li><a href="index.html">NUnit 2.4.8</a></li>
227
+ <ul>
228
+ <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
229
+ <li><a href="assertions.html">Assertions</a></li>
230
+ <li><a href="attributes.html">Attributes</a></li>
231
+ <li><a href="nunit-console.html">Console&nbsp;Runner</a></li>
232
+ <li><a href="nunit-gui.html">Gui&nbsp;Runner</a></li>
233
+ <ul>
234
+ <li><a href="guiCommandLine.html">Command-Line</a></li>
235
+ <li id="current"><a href="mainMenu.html">Main&nbsp;Menu</a></li>
236
+ <li><a href="contextMenu.html">Context&nbsp;Menu</a></li>
237
+ <li><a href="optionsDialog.html">Options&nbsp;Dialog</a></li>
238
+ <li><a href="addinsDialog.html">Addins&nbsp;Dialog</a></li>
239
+ <li><a href="testProperties.html">Test&nbsp;Properties</a></li>
240
+ <li><a href="configEditor.html">Configuration&nbsp;Editor</a></li>
241
+ <li><a href="projectEditor.html">Project&nbsp;Editor</a></li>
242
+ </ul>
243
+ <li><a href="features.html">Other&nbsp;Features</a></li>
244
+ <li><a href="releaseNotes.html">Release&nbsp;Notes</a></li>
245
+ <li><a href="samples.html">Samples</a></li>
246
+ <li><a href="license.html">License</a></li>
247
+ </ul>
248
+ </ul>
249
+ </div>
250
+ <!-- End of Submenu -->
251
+
252
+
253
+ <!-- Standard Footer for NUnit.org -->
254
+ <div id="footer">
255
+ Copyright &copy; 2008 Charlie Poole. All Rights Reserved.
256
+ </div>
257
+ <!-- End of Footer -->
258
+
259
+ </body>
260
+ </html>
@@ -0,0 +1,130 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2
+ <html>
3
+ <!-- Standard Head Part -->
4
+ <head>
5
+ <title>NUnit - MultiAssembly</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
7
+ <meta http-equiv="Content-Language" content="en-US">
8
+ <link rel="stylesheet" type="text/css" href="nunit.css">
9
+ <link rel="shortcut icon" href="favicon.ico">
10
+ </head>
11
+ <!-- End Standard Head Part -->
12
+
13
+ <body>
14
+
15
+ <!-- Standard Header for NUnit.org -->
16
+ <div id="header">
17
+ <a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
18
+ <div id="nav">
19
+ <a href="http://www.nunit.org">NUnit</a>
20
+ <a class="active" href="index.html">Documentation</a>
21
+ </div>
22
+ </div>
23
+ <!-- End of Header -->
24
+
25
+ <div id="content">
26
+
27
+ <h2>Multiple-Assembly Support</h2>
28
+
29
+ <p>Since version 2.1, NUnit has allowed loading suites of tests from multiple assemblies in both
30
+ the console and GUI runners. This may be done on an adhoc basis or by creating NUnit test projects
31
+ saved as files of type '.nunit'. In either case, a top-level suite is constructed, which contains
32
+ the root suite for each assembly. Tests are run and reported just as for a single assembly.</p>
33
+
34
+ <h3>Adhoc Usage</h3>
35
+
36
+ <p>Using the console runner, multiple assemblies may be run simply by specifying their names on the
37
+ command line. See <a href="consoleCommandLine.html">NUnit-Console Command Line Options</a> for
38
+ an example of this usage.</p>
39
+
40
+ <p>The gui runner does not support specifying multiple assemblies on the command-line.
41
+ However, you can load a single assembly and then use the Project menu to add additional
42
+ assemblies. Additionally, you can drag multiple assemblies to the tree view pane, in which
43
+ case they will replace any assemblies already loaded.</p>
44
+
45
+ <h3>NUnit Test Projects</h3>
46
+
47
+ <p>Running tests from multiple assemblies is facilitated by the use of NUnit test projects. These are
48
+ files with the extension .nunit containing information about the assemblies to be loaded. The
49
+ following is an example of a hypothetical test project file:</p>
50
+
51
+ <div class="code">
52
+ <pre>&lt;NUnitProject&gt;
53
+ &lt;Settings activeconfig="Debug"/&gt;
54
+ &lt;Config name="Debug"&gt;
55
+ &lt;assembly path="LibraryCore\bin\Debug\Library.dll"/&gt;
56
+ &lt;assembly path="LibraryUI\bin\Debug\LibraryUI.dll"/&gt;
57
+ &lt;/Config&gt;
58
+ &lt;Config name="Release"&gt;
59
+ &lt;assembly path="LibraryCore\bin\Release\Library.dll"/&gt;
60
+ &lt;assembly path="LibraryUI\bin\Release\LibraryUI.dll"/&gt;
61
+ &lt;/Config&gt;
62
+ &lt;/NUnitProject&gt;</pre>
63
+ </div>
64
+
65
+ <p>This project contains two configurations, each of which contains two assemblies. The Debug
66
+ configuration is currently active. By default, the assemblies will be loaded using the directory
67
+ containing this file as the ApplicationBase. The PrivateBinPath will be set automatically to
68
+ <code>LibraryCore\bin\Debug;LibraryUI\bin\Debug</code> or to the corresonding release path.
69
+ XML attributes are used to specify non-default values for the ApplicationBase, Configuration
70
+ File and PrivateBinPath. The <a href="projectEditor.html">Project Editor</a> may
71
+ be used to create or modify NUnit projects.</p>
72
+
73
+ <p>Even when you are running a single test assembly, NUnit creates an internal project
74
+ to contain that assembly. If you are using the gui, you can save this project, edit it,
75
+ add additional assemblies, etc. Note that the gui does not display the internal project
76
+ unless you add assemblies or modify it in some other way.
77
+
78
+ <p>If you use <a href="vsSupport.html">Visual Studio Support</a> to load Visual
79
+ Studio .Net project or solution files, NUnit converts them to Test projects internally.
80
+ As with other internal projects, these test projects are not saved automatically but may
81
+ be saved by use of the File menu.</p>
82
+
83
+ <h3>Loading and Running</h3>
84
+
85
+ <p>In the past, test writers have been able to rely on the current directory being set to the
86
+ directory containing the single loaded assembly. For the purpose of compatibility, NUnit continues
87
+ to set the current directory to the directory containing each assembly whenever any test from that
88
+ assembly is run.</p>
89
+
90
+ <p>Additionally, because some assemblies may rely on unmanaged dlls in the same directory, the
91
+ current directory is also set to that of the assembly at the time the assembly is loaded. However,
92
+ in cases where multiple assemblies reference the same unmanaged assembly, this may not be sufficient
93
+ and the user may need to place the directory containing the unmanaged dll on the path.</p>
94
+
95
+ </div>
96
+
97
+ <!-- Submenu -->
98
+ <div id="subnav">
99
+ <ul>
100
+ <li><a href="index.html">NUnit 2.4.8</a></li>
101
+ <ul>
102
+ <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
103
+ <li><a href="assertions.html">Assertions</a></li>
104
+ <li><a href="attributes.html">Attributes</a></li>
105
+ <li><a href="nunit-console.html">Console&nbsp;Runner</a></li>
106
+ <li><a href="nunit-gui.html">Gui&nbsp;Runner</a></li>
107
+ <li><a href="features.html">Other&nbsp;Features</a></li>
108
+ <ul>
109
+ <li><a href="configFiles.html">Configuration&nbsp;Files</a></li>
110
+ <li id="current"><a href="multiAssembly.html">Multiple&nbsp;Assemblies</a></li>
111
+ <li><a href="vsSupport.html">Visual&nbsp;Studio&nbsp;Support</a></li>
112
+ <li><a href="extensibility.html">Extensibility</a></li>
113
+ </ul>
114
+ <li><a href="releaseNotes.html">Release&nbsp;Notes</a></li>
115
+ <li><a href="samples.html">Samples</a></li>
116
+ <li><a href="license.html">License</a></li>
117
+ </ul>
118
+ </ul>
119
+ </div>
120
+ <!-- End of Submenu -->
121
+
122
+
123
+ <!-- Standard Footer for NUnit.org -->
124
+ <div id="footer">
125
+ Copyright &copy; 2008 Charlie Poole. All Rights Reserved.
126
+ </div>
127
+ <!-- End of Footer -->
128
+
129
+ </body>
130
+ </html>
@@ -0,0 +1,84 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2
+ <html>
3
+ <!-- Standard Head Part -->
4
+ <head>
5
+ <title>NUnit - Nunit-console</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
7
+ <meta http-equiv="Content-Language" content="en-US">
8
+ <link rel="stylesheet" type="text/css" href="nunit.css">
9
+ <link rel="shortcut icon" href="favicon.ico">
10
+ </head>
11
+ <!-- End Standard Head Part -->
12
+
13
+ <body>
14
+
15
+ <!-- Standard Header for NUnit.org -->
16
+ <div id="header">
17
+ <a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
18
+ <div id="nav">
19
+ <a href="http://www.nunit.org">NUnit</a>
20
+ <a class="active" href="index.html">Documentation</a>
21
+ </div>
22
+ </div>
23
+ <!-- End of Header -->
24
+
25
+ <div id="content">
26
+
27
+ <h2>NUnit-Console</h2>
28
+ <p>The nunit-console.exe program is a text-based runner and can be used when you
29
+ want to run all your tests and don&#146;t need a red/yellow/green indication of
30
+ success or failure.</p>
31
+ <p>It is useful for automation of tests and integration into other systems. It
32
+ automatically saves its results in XML format, allowing you to produce reports
33
+ or otherwise process the results. The following is a screenshot of the console
34
+ program.</p>
35
+
36
+ <div class="screenshot-left">
37
+ <img src="img/console-mock.jpg"></div>
38
+ <p>
39
+ <p>In this example, nunit-console has just run the tests in the mock-assembly.dll
40
+ that is part of the NUnit distribution. This assembly contains a number of tests, some
41
+ of which are either ignored or marked explicit. The summary line shows the
42
+ result of the test run. Click <a href="files/TestResult.xml">here</a>
43
+ to see the XML produced for this test run.</p>
44
+
45
+ <p>The .NET 2.0 version of the nunit-console program is built using /platform:anycpu,
46
+ which causes it to be jit-compiled to 32-bit code on a 32-bit system and 64-bit code
47
+ on a 64 bit system. This causes an exception when NUnit is used to test a 32-bit
48
+ application on a 64-bit system. To avoid this problem, use the nunit-console-x86
49
+ program, which is built using /platform:x86, when testing 32-bit code on a
50
+ 64-bit system.
51
+
52
+ </div>
53
+
54
+ <!-- Submenu -->
55
+ <div id="subnav">
56
+ <ul>
57
+ <li><a href="index.html">NUnit 2.4.8</a></li>
58
+ <ul>
59
+ <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
60
+ <li><a href="assertions.html">Assertions</a></li>
61
+ <li><a href="attributes.html">Attributes</a></li>
62
+ <li id="current"><a href="nunit-console.html">Console&nbsp;Runner</a></li>
63
+ <ul>
64
+ <li><a href="consoleCommandLine.html">Command-Line</a></li>
65
+ </ul>
66
+ <li><a href="nunit-gui.html">Gui&nbsp;Runner</a></li>
67
+ <li><a href="features.html">Other&nbsp;Features</a></li>
68
+ <li><a href="releaseNotes.html">Release&nbsp;Notes</a></li>
69
+ <li><a href="samples.html">Samples</a></li>
70
+ <li><a href="license.html">License</a></li>
71
+ </ul>
72
+ </ul>
73
+ </div>
74
+ <!-- End of Submenu -->
75
+
76
+
77
+ <!-- Standard Footer for NUnit.org -->
78
+ <div id="footer">
79
+ Copyright &copy; 2008 Charlie Poole. All Rights Reserved.
80
+ </div>
81
+ <!-- End of Footer -->
82
+
83
+ </body>
84
+ </html>