nunit 2.4.8.0 → 2.5.0.9122

Sign up to get free protection for your applications and to get access to all the features.
Files changed (276) hide show
  1. data/docs/addinsDialog.html +36 -6
  2. data/docs/assertions.html +31 -12
  3. data/docs/attributes.html +59 -36
  4. data/docs/category.html +32 -9
  5. data/docs/collectionAssert.html +30 -12
  6. data/docs/collectionConstraints.html +242 -44
  7. data/docs/combinatorial.html +130 -0
  8. data/docs/comparisonAsserts.html +12 -9
  9. data/docs/comparisonConstraints.html +159 -25
  10. data/docs/compoundConstraints.html +12 -9
  11. data/docs/conditionAsserts.html +36 -12
  12. data/docs/conditionConstraints.html +131 -25
  13. data/docs/configEditor.html +10 -5
  14. data/docs/configFiles.html +5 -6
  15. data/docs/consoleCommandLine.html +51 -24
  16. data/docs/constraintModel.html +56 -19
  17. data/docs/contextMenu.html +10 -5
  18. data/docs/culture.html +32 -9
  19. data/docs/customConstraints.html +53 -37
  20. data/docs/datapoint.html +124 -0
  21. data/docs/datapointProviders.html +105 -0
  22. data/docs/delayedConstraint.html +98 -0
  23. data/docs/description.html +32 -9
  24. data/docs/directoryAssert.html +151 -0
  25. data/docs/equalConstraint.html +167 -47
  26. data/docs/equalityAsserts.html +12 -9
  27. data/docs/eventListeners.html +110 -0
  28. data/docs/exception.html +61 -36
  29. data/docs/exceptionAsserts.html +210 -0
  30. data/docs/explicit.html +32 -9
  31. data/docs/extensibility.html +8 -8
  32. data/docs/extensionTips.html +100 -0
  33. data/docs/fileAssert.html +12 -9
  34. data/docs/files/TestResult.xml +99 -67
  35. data/docs/fixtureSetup.html +60 -18
  36. data/docs/fixtureTeardown.html +56 -17
  37. data/docs/getStarted.html +9 -4
  38. data/docs/guiCommandLine.html +10 -5
  39. data/docs/identityAsserts.html +12 -9
  40. data/docs/ignore.html +32 -9
  41. data/docs/img/addinsDialog.JPG +0 -0
  42. data/docs/img/advancedSettings.jpg +0 -0
  43. data/docs/img/assembliesTab.jpg +0 -0
  44. data/docs/img/assemblyReloadSettings.JPG +0 -0
  45. data/docs/img/configEditor.jpg +0 -0
  46. data/docs/img/console-mock.jpg +0 -0
  47. data/docs/img/generalSettings.jpg +0 -0
  48. data/docs/img/generalTab.jpg +0 -0
  49. data/docs/img/gui-screenshot.jpg +0 -0
  50. data/docs/img/gui-verify.jpg +0 -0
  51. data/docs/img/miniGui.jpg +0 -0
  52. data/docs/img/testLoadSettings.jpg +0 -0
  53. data/docs/img/testOutputSettings.jpg +0 -0
  54. data/docs/img/testProperties.jpg +0 -0
  55. data/docs/img/testResultSettings.JPG +0 -0
  56. data/docs/img/textOutputSettings.jpg +0 -0
  57. data/docs/img/treeDisplaySettings.jpg +0 -0
  58. data/docs/img/visualStudioSettings.jpg +0 -0
  59. data/docs/index.html +15 -8
  60. data/docs/installation.html +33 -75
  61. data/docs/license.html +9 -4
  62. data/docs/listMapper.html +12 -9
  63. data/docs/mainMenu.html +18 -8
  64. data/docs/maxtime.html +109 -0
  65. data/docs/multiAssembly.html +5 -6
  66. data/docs/nunit-console.html +9 -4
  67. data/docs/nunit-gui.html +32 -15
  68. data/docs/nunit.css +3 -3
  69. data/docs/nunitAddins.html +41 -144
  70. data/docs/pairwise.html +114 -0
  71. data/docs/parameterizedTests.html +141 -0
  72. data/docs/pathConstraints.html +162 -0
  73. data/docs/platform.html +37 -9
  74. data/docs/pnunit.html +93 -0
  75. data/docs/projectEditor.html +82 -11
  76. data/docs/property.html +39 -10
  77. data/docs/propertyConstraint.html +12 -9
  78. data/docs/quickStart.html +9 -4
  79. data/docs/random.html +138 -0
  80. data/docs/range.html +149 -0
  81. data/docs/releaseDetail.html +861 -0
  82. data/docs/releaseNotes.html +457 -1133
  83. data/docs/repeat.html +104 -0
  84. data/docs/requiredAddin.html +153 -0
  85. data/docs/requiresMTA.html +152 -0
  86. data/docs/requiresSTA.html +153 -0
  87. data/docs/requiresThread.html +153 -0
  88. data/docs/sameasConstraint.html +23 -17
  89. data/docs/samples.html +12 -9
  90. data/docs/sequential.html +132 -0
  91. data/docs/setCulture.html +32 -9
  92. data/docs/{optionsDialog.html → settingsDialog.html} +89 -53
  93. data/docs/setup.html +61 -16
  94. data/docs/setupFixture.html +32 -9
  95. data/docs/stringAssert.html +15 -12
  96. data/docs/stringConstraints.html +12 -9
  97. data/docs/suite.html +32 -11
  98. data/docs/suiteBuilders.html +106 -0
  99. data/docs/teardown.html +56 -16
  100. data/docs/test.html +67 -18
  101. data/docs/testCase.html +168 -0
  102. data/docs/testCaseSource.html +284 -0
  103. data/docs/testDecorators.html +117 -0
  104. data/docs/testFixture.html +228 -16
  105. data/docs/testProperties.html +10 -5
  106. data/docs/testcaseBuilders.html +117 -0
  107. data/docs/testcaseProviders.html +122 -0
  108. data/docs/theory.html +208 -0
  109. data/docs/throwsConstraint.html +112 -0
  110. data/docs/timeout.html +109 -0
  111. data/docs/typeAsserts.html +47 -14
  112. data/docs/typeConstraints.html +12 -9
  113. data/docs/upgrade.html +23 -17
  114. data/docs/utilityAsserts.html +38 -16
  115. data/docs/valueSource.html +137 -0
  116. data/docs/values.html +136 -0
  117. data/docs/vsSupport.html +5 -6
  118. data/lib/net-1.1/NUnitTests.config +2 -2
  119. data/lib/net-1.1/NUnitTests.nunit +8 -11
  120. data/lib/net-1.1/agent.conf +4 -0
  121. data/lib/net-1.1/agent.log.conf +18 -0
  122. data/lib/net-1.1/framework/nunit.framework.dll +0 -0
  123. data/lib/net-1.1/framework/nunit.framework.xml +9321 -0
  124. data/lib/net-1.1/framework/nunit.mocks.dll +0 -0
  125. data/lib/net-1.1/framework/pnunit.framework.dll +0 -0
  126. data/lib/net-1.1/launcher.log.conf +18 -0
  127. data/lib/net-1.1/{fit.dll → lib/fit.dll} +0 -0
  128. data/lib/net-1.1/lib/log4net.dll +0 -0
  129. data/lib/net-1.1/lib/nunit-console-runner.dll +0 -0
  130. data/lib/net-1.1/lib/nunit.core.dll +0 -0
  131. data/lib/net-1.1/lib/nunit.core.interfaces.dll +0 -0
  132. data/lib/net-1.1/lib/nunit.fixtures.dll +0 -0
  133. data/lib/net-1.1/lib/nunit.util.dll +0 -0
  134. data/lib/net-1.1/nunit-agent.exe +0 -0
  135. data/lib/net-1.1/{nunit.exe.config → nunit-agent.exe.config} +21 -55
  136. data/lib/net-1.1/nunit-console.exe +0 -0
  137. data/lib/net-1.1/nunit-console.exe.config +19 -49
  138. data/lib/net-1.1/nunit.framework.dll +0 -0
  139. data/lib/net-1.1/pnunit-agent.exe +0 -0
  140. data/lib/net-1.1/pnunit-agent.exe.config +87 -0
  141. data/lib/net-1.1/pnunit-launcher.exe +0 -0
  142. data/lib/net-1.1/pnunit-launcher.exe.config +87 -0
  143. data/lib/net-1.1/pnunit.framework.dll +0 -0
  144. data/lib/net-1.1/pnunit.tests.dll +0 -0
  145. data/lib/net-1.1/runpnunit.bat +2 -0
  146. data/lib/net-1.1/test.conf +24 -0
  147. data/lib/net-1.1/{loadtest-assembly.dll → tests/loadtest-assembly.dll} +0 -0
  148. data/lib/net-1.1/tests/mock-assembly.dll +0 -0
  149. data/lib/net-1.1/tests/nonamespace-assembly.dll +0 -0
  150. data/lib/net-1.1/tests/nunit-console.tests.dll +0 -0
  151. data/lib/net-1.1/tests/nunit.core.tests.dll +0 -0
  152. data/lib/net-1.1/tests/nunit.fixtures.tests.dll +0 -0
  153. data/lib/net-1.1/tests/nunit.framework.dll +0 -0
  154. data/lib/net-1.1/tests/nunit.framework.tests.dll +0 -0
  155. data/lib/net-1.1/tests/nunit.mocks.tests.dll +0 -0
  156. data/lib/net-1.1/{nunit.util.tests.dll → tests/nunit.util.tests.dll} +0 -0
  157. data/lib/net-1.1/tests/test-assembly.dll +0 -0
  158. data/lib/net-1.1/tests/test-utilities.dll +0 -0
  159. data/lib/net-1.1/tests/timing-tests.dll +0 -0
  160. data/lib/net-2.0/NUnitTests.config +2 -2
  161. data/lib/net-2.0/NUnitTests.nunit +11 -11
  162. data/lib/net-2.0/agent.conf +4 -0
  163. data/lib/net-2.0/agent.log.conf +18 -0
  164. data/lib/net-2.0/framework/nunit.framework.dll +0 -0
  165. data/lib/net-2.0/framework/nunit.framework.xml +9803 -0
  166. data/lib/net-2.0/framework/nunit.mocks.dll +0 -0
  167. data/lib/net-2.0/framework/pnunit.framework.dll +0 -0
  168. data/lib/net-2.0/launcher.log.conf +18 -0
  169. data/lib/{net-1.1 → net-2.0/lib}/Failure.jpg +0 -0
  170. data/lib/net-2.0/{Success.jpg → lib/Gray.jpg} +0 -0
  171. data/lib/{net-1.1 → net-2.0/lib}/Ignored.jpg +0 -0
  172. data/lib/{net-1.1 → net-2.0/lib}/Success.jpg +0 -0
  173. data/lib/net-2.0/{fit.dll → lib/fit.dll} +0 -0
  174. data/lib/net-2.0/lib/log4net.dll +0 -0
  175. data/lib/net-2.0/lib/nunit-console-runner.dll +0 -0
  176. data/lib/net-2.0/lib/nunit-gui-runner.dll +0 -0
  177. data/lib/net-2.0/lib/nunit.core.dll +0 -0
  178. data/lib/net-2.0/lib/nunit.core.interfaces.dll +0 -0
  179. data/lib/net-2.0/lib/nunit.fixtures.dll +0 -0
  180. data/lib/net-2.0/lib/nunit.uiexception.dll +0 -0
  181. data/lib/net-2.0/lib/nunit.uikit.dll +0 -0
  182. data/lib/net-2.0/lib/nunit.util.dll +0 -0
  183. data/lib/net-2.0/nunit-agent.exe +0 -0
  184. data/lib/net-2.0/nunit-agent.exe.config +87 -0
  185. data/lib/net-2.0/nunit-console-x86.exe +0 -0
  186. data/lib/net-2.0/nunit-console-x86.exe.config +19 -49
  187. data/lib/net-2.0/nunit-console.exe +0 -0
  188. data/lib/net-2.0/nunit-console.exe.config +19 -49
  189. data/lib/net-2.0/nunit-x86.exe +0 -0
  190. data/lib/net-2.0/nunit-x86.exe.config +48 -74
  191. data/lib/net-2.0/nunit.exe +0 -0
  192. data/lib/net-2.0/nunit.exe.config +48 -74
  193. data/lib/net-2.0/nunit.framework.dll +0 -0
  194. data/lib/net-2.0/pnunit-agent.exe +0 -0
  195. data/lib/net-2.0/pnunit-agent.exe.config +87 -0
  196. data/lib/net-2.0/pnunit-launcher.exe +0 -0
  197. data/lib/net-2.0/pnunit-launcher.exe.config +87 -0
  198. data/lib/net-2.0/pnunit.framework.dll +0 -0
  199. data/lib/net-2.0/pnunit.tests.dll +0 -0
  200. data/lib/net-2.0/runpnunit.bat +2 -0
  201. data/lib/net-2.0/test.conf +24 -0
  202. data/lib/net-2.0/{loadtest-assembly.dll → tests/loadtest-assembly.dll} +0 -0
  203. data/lib/net-2.0/tests/mock-assembly.dll +0 -0
  204. data/lib/net-2.0/tests/nonamespace-assembly.dll +0 -0
  205. data/lib/net-2.0/tests/nunit-console.tests.dll +0 -0
  206. data/lib/net-2.0/tests/nunit-gui.tests.dll +0 -0
  207. data/lib/net-2.0/tests/nunit.core.tests.dll +0 -0
  208. data/lib/net-2.0/tests/nunit.fixtures.tests.dll +0 -0
  209. data/lib/net-2.0/tests/nunit.framework.dll +0 -0
  210. data/lib/net-2.0/tests/nunit.framework.tests.dll +0 -0
  211. data/lib/net-2.0/tests/nunit.mocks.tests.dll +0 -0
  212. data/lib/net-2.0/tests/nunit.uiexception.tests.dll +0 -0
  213. data/lib/net-2.0/tests/nunit.uikit.tests.dll +0 -0
  214. data/lib/net-2.0/{nunit.util.tests.dll → tests/nunit.util.tests.dll} +0 -0
  215. data/lib/net-2.0/tests/test-assembly.dll +0 -0
  216. data/lib/net-2.0/tests/test-utilities.dll +0 -0
  217. data/lib/net-2.0/tests/timing-tests.dll +0 -0
  218. metadata +131 -74
  219. data/docs/classicModel.html +0 -92
  220. data/docs/customAsserts.html +0 -115
  221. data/docs/features.html +0 -75
  222. data/docs/files/Thumbs.db +0 -0
  223. data/docs/platformSupport.html +0 -99
  224. data/lib/net-1.1/mock-assembly.dll +0 -0
  225. data/lib/net-1.1/nonamespace-assembly.dll +0 -0
  226. data/lib/net-1.1/notestfixtures-assembly.dll +0 -0
  227. data/lib/net-1.1/nunit-console-runner.dll +0 -0
  228. data/lib/net-1.1/nunit-console.tests.dll +0 -0
  229. data/lib/net-1.1/nunit-gui-runner.dll +0 -0
  230. data/lib/net-1.1/nunit-gui.tests.dll +0 -0
  231. data/lib/net-1.1/nunit.core.dll +0 -0
  232. data/lib/net-1.1/nunit.core.extensions.dll +0 -0
  233. data/lib/net-1.1/nunit.core.interfaces.dll +0 -0
  234. data/lib/net-1.1/nunit.core.tests.dll +0 -0
  235. data/lib/net-1.1/nunit.exe +0 -0
  236. data/lib/net-1.1/nunit.extensions.tests.dll +0 -0
  237. data/lib/net-1.1/nunit.fixtures.dll +0 -0
  238. data/lib/net-1.1/nunit.fixtures.tests.dll +0 -0
  239. data/lib/net-1.1/nunit.framework.extensions.dll +0 -0
  240. data/lib/net-1.1/nunit.framework.tests.dll +0 -0
  241. data/lib/net-1.1/nunit.framework.xml +0 -5622
  242. data/lib/net-1.1/nunit.mocks.dll +0 -0
  243. data/lib/net-1.1/nunit.mocks.tests.dll +0 -0
  244. data/lib/net-1.1/nunit.uikit.dll +0 -0
  245. data/lib/net-1.1/nunit.uikit.tests.dll +0 -0
  246. data/lib/net-1.1/nunit.util.dll +0 -0
  247. data/lib/net-1.1/test-assembly.dll +0 -0
  248. data/lib/net-1.1/test-utilities.dll +0 -0
  249. data/lib/net-1.1/timing-tests.dll +0 -0
  250. data/lib/net-2.0/Failure.jpg +0 -0
  251. data/lib/net-2.0/Ignored.jpg +0 -0
  252. data/lib/net-2.0/mock-assembly.dll +0 -0
  253. data/lib/net-2.0/nonamespace-assembly.dll +0 -0
  254. data/lib/net-2.0/notestfixtures-assembly.dll +0 -0
  255. data/lib/net-2.0/nunit-console-runner.dll +0 -0
  256. data/lib/net-2.0/nunit-console.tests.dll +0 -0
  257. data/lib/net-2.0/nunit-gui-runner.dll +0 -0
  258. data/lib/net-2.0/nunit-gui.tests.dll +0 -0
  259. data/lib/net-2.0/nunit.core.dll +0 -0
  260. data/lib/net-2.0/nunit.core.extensions.dll +0 -0
  261. data/lib/net-2.0/nunit.core.interfaces.dll +0 -0
  262. data/lib/net-2.0/nunit.core.tests.dll +0 -0
  263. data/lib/net-2.0/nunit.extensions.tests.dll +0 -0
  264. data/lib/net-2.0/nunit.fixtures.dll +0 -0
  265. data/lib/net-2.0/nunit.fixtures.tests.dll +0 -0
  266. data/lib/net-2.0/nunit.framework.extensions.dll +0 -0
  267. data/lib/net-2.0/nunit.framework.tests.dll +0 -0
  268. data/lib/net-2.0/nunit.framework.xml +0 -5622
  269. data/lib/net-2.0/nunit.mocks.dll +0 -0
  270. data/lib/net-2.0/nunit.mocks.tests.dll +0 -0
  271. data/lib/net-2.0/nunit.uikit.dll +0 -0
  272. data/lib/net-2.0/nunit.uikit.tests.dll +0 -0
  273. data/lib/net-2.0/nunit.util.dll +0 -0
  274. data/lib/net-2.0/test-assembly.dll +0 -0
  275. data/lib/net-2.0/test-utilities.dll +0 -0
  276. data/lib/net-2.0/timing-tests.dll +0 -0
@@ -1,4 +1,4 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
1
+ <!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2
2
  <html>
3
3
  <!-- Standard Head Part -->
4
4
  <head>
@@ -97,20 +97,19 @@ and the user may need to place the directory containing the unmanaged dll on the
97
97
  <!-- Submenu -->
98
98
  <div id="subnav">
99
99
  <ul>
100
- <li><a href="index.html">NUnit 2.4.8</a></li>
100
+ <li><a href="index.html">NUnit 2.5</a></li>
101
101
  <ul>
102
102
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
103
103
  <li><a href="assertions.html">Assertions</a></li>
104
+ <li><a href="constraintModel.html">Constraints</a></li>
104
105
  <li><a href="attributes.html">Attributes</a></li>
105
106
  <li><a href="nunit-console.html">Console&nbsp;Runner</a></li>
106
107
  <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
108
  <li><a href="configFiles.html">Configuration&nbsp;Files</a></li>
109
+ <li><a href="pnunit.html">PNUnit</a></li>
110
110
  <li id="current"><a href="multiAssembly.html">Multiple&nbsp;Assemblies</a></li>
111
111
  <li><a href="vsSupport.html">Visual&nbsp;Studio&nbsp;Support</a></li>
112
112
  <li><a href="extensibility.html">Extensibility</a></li>
113
- </ul>
114
113
  <li><a href="releaseNotes.html">Release&nbsp;Notes</a></li>
115
114
  <li><a href="samples.html">Samples</a></li>
116
115
  <li><a href="license.html">License</a></li>
@@ -122,7 +121,7 @@ and the user may need to place the directory containing the unmanaged dll on the
122
121
 
123
122
  <!-- Standard Footer for NUnit.org -->
124
123
  <div id="footer">
125
- Copyright &copy; 2008 Charlie Poole. All Rights Reserved.
124
+ Copyright &copy; 2009 Charlie Poole. All Rights Reserved.
126
125
  </div>
127
126
  <!-- End of Footer -->
128
127
 
@@ -1,4 +1,4 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
1
+ <!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2
2
  <html>
3
3
  <!-- Standard Head Part -->
4
4
  <head>
@@ -54,17 +54,22 @@ program, which is built using /platform:x86, when testing 32-bit code on a
54
54
  <!-- Submenu -->
55
55
  <div id="subnav">
56
56
  <ul>
57
- <li><a href="index.html">NUnit 2.4.8</a></li>
57
+ <li><a href="index.html">NUnit 2.5</a></li>
58
58
  <ul>
59
59
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
60
60
  <li><a href="assertions.html">Assertions</a></li>
61
+ <li><a href="constraintModel.html">Constraints</a></li>
61
62
  <li><a href="attributes.html">Attributes</a></li>
62
63
  <li id="current"><a href="nunit-console.html">Console&nbsp;Runner</a></li>
63
64
  <ul>
64
65
  <li><a href="consoleCommandLine.html">Command-Line</a></li>
65
66
  </ul>
66
67
  <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="configFiles.html">Configuration&nbsp;Files</a></li>
69
+ <li><a href="pnunit.html">PNUnit</a></li>
70
+ <li><a href="multiAssembly.html">Multiple&nbsp;Assemblies</a></li>
71
+ <li><a href="vsSupport.html">Visual&nbsp;Studio&nbsp;Support</a></li>
72
+ <li><a href="extensibility.html">Extensibility</a></li>
68
73
  <li><a href="releaseNotes.html">Release&nbsp;Notes</a></li>
69
74
  <li><a href="samples.html">Samples</a></li>
70
75
  <li><a href="license.html">License</a></li>
@@ -76,7 +81,7 @@ program, which is built using /platform:x86, when testing 32-bit code on a
76
81
 
77
82
  <!-- Standard Footer for NUnit.org -->
78
83
  <div id="footer">
79
- Copyright &copy; 2008 Charlie Poole. All Rights Reserved.
84
+ Copyright &copy; 2009 Charlie Poole. All Rights Reserved.
80
85
  </div>
81
86
  <!-- End of Footer -->
82
87
 
@@ -1,4 +1,4 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
1
+ <!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2
2
  <html>
3
3
  <!-- Standard Head Part -->
4
4
  <head>
@@ -30,7 +30,7 @@
30
30
  failure of the tests. It allows you to selectively run single tests or suites
31
31
  and reloads automatically as you modify and re-compile your code. The following
32
32
  is a screenshot of NUnit running the same mock-assembly.dll shown in the
33
- previous example.</p>
33
+ nunit-console example.</p>
34
34
 
35
35
  <div class="screenshot-left">
36
36
  <img src="img/gui-screenshot.jpg"></div>
@@ -57,31 +57,44 @@ to the "worst" result obtained: red if there were any failures, yellow if
57
57
  some tests were ignored and green for success.
58
58
 
59
59
  <h4>Result Tabs</h4>
60
- <p>The tabs in the right-hand part of the display show the results of running
60
+ <p>The tabs along the bottom of the display show the results of running
61
61
  a test. The <b>Errors and Failures</b> tab displays the error message
62
62
  and stack trace for both unexpected exceptions and assertion failures.
63
- The <b>Tests Not Run</b> tab provides a list of all tests that were
64
- selected for running but were not run, together with the reason. The
65
- <b>Console.Out</b>, <b>Console.Error</b> and <b>Trace Output</b> tabs
66
- display text output from the tests.
63
+ Beginning with NUnit 2.5, source code for each stack location can be displayed
64
+ in this tab - as is seen above - provided that the program was compiled with
65
+ debug information.
66
+
67
+ <p>The <b>Tests Not Run</b> tab provides a list of all tests that were
68
+ selected for running but were not run, together with the reason.
69
+
70
+ <p>The Text Output tab displays text output from the tests, potentially
71
+ including console output, trace output and log output. The default display
72
+ provides a single tab, but additional tabs may be created by the user to
73
+ hold specific kinds of output. For more information on creating new tabs,
74
+ see the documentation for the
75
+ <a href="settingsDialog.html">Settings Dialog</a>.
76
+
67
77
 
68
78
  <h3>Mini-Gui</h3>
69
79
 
70
- <p>With the release of NUnit 2.4, an alternate "mini-gui" is also available. It
71
- may be selected from the View menu. The following screenshot shows the mini
72
- gui displaying the NUnit tests.</p>
80
+ <p>Since the release of NUnit 2.4, an alternate "mini-gui" is also available. It
81
+ may be selected from the View menu. In the following screenshot, the mini
82
+ gui window has been positioned next to the Visual Studio IDE so
83
+ that both windows can be seen.</p>
73
84
 
74
- <div class="screenshot">
85
+ <div class="screenshot-left">
75
86
  <img src="img/miniGui.jpg"></div>
87
+
76
88
  </div>
77
89
 
78
90
  <!-- Submenu -->
79
91
  <div id="subnav">
80
92
  <ul>
81
- <li><a href="index.html">NUnit 2.4.8</a></li>
93
+ <li><a href="index.html">NUnit 2.5</a></li>
82
94
  <ul>
83
95
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
84
96
  <li><a href="assertions.html">Assertions</a></li>
97
+ <li><a href="constraintModel.html">Constraints</a></li>
85
98
  <li><a href="attributes.html">Attributes</a></li>
86
99
  <li><a href="nunit-console.html">Console&nbsp;Runner</a></li>
87
100
  <li id="current"><a href="nunit-gui.html">Gui&nbsp;Runner</a></li>
@@ -89,13 +102,17 @@ display text output from the tests.
89
102
  <li><a href="guiCommandLine.html">Command-Line</a></li>
90
103
  <li><a href="mainMenu.html">Main&nbsp;Menu</a></li>
91
104
  <li><a href="contextMenu.html">Context&nbsp;Menu</a></li>
92
- <li><a href="optionsDialog.html">Options&nbsp;Dialog</a></li>
105
+ <li><a href="settingsDialog.html">Settings&nbsp;Dialog</a></li>
93
106
  <li><a href="addinsDialog.html">Addins&nbsp;Dialog</a></li>
94
107
  <li><a href="testProperties.html">Test&nbsp;Properties</a></li>
95
108
  <li><a href="configEditor.html">Configuration&nbsp;Editor</a></li>
96
109
  <li><a href="projectEditor.html">Project&nbsp;Editor</a></li>
97
110
  </ul>
98
- <li><a href="features.html">Other&nbsp;Features</a></li>
111
+ <li><a href="configFiles.html">Configuration&nbsp;Files</a></li>
112
+ <li><a href="pnunit.html">PNUnit</a></li>
113
+ <li><a href="multiAssembly.html">Multiple&nbsp;Assemblies</a></li>
114
+ <li><a href="vsSupport.html">Visual&nbsp;Studio&nbsp;Support</a></li>
115
+ <li><a href="extensibility.html">Extensibility</a></li>
99
116
  <li><a href="releaseNotes.html">Release&nbsp;Notes</a></li>
100
117
  <li><a href="samples.html">Samples</a></li>
101
118
  <li><a href="license.html">License</a></li>
@@ -107,7 +124,7 @@ display text output from the tests.
107
124
 
108
125
  <!-- Standard Footer for NUnit.org -->
109
126
  <div id="footer">
110
- Copyright &copy; 2008 Charlie Poole. All Rights Reserved.
127
+ Copyright &copy; 2009 Charlie Poole. All Rights Reserved.
111
128
  </div>
112
129
  <!-- End of Footer -->
113
130
 
@@ -6,7 +6,7 @@ table { font: 1em "Verdana", "Arial", "Helvetica", sans-serif; }
6
6
  h1 { font-size: 1.8em; font-weight: bold; }
7
7
  h2 { font-size: 1.5em; font-weight: bold; }
8
8
  h3 { font-size: 1.2em; font-weight: bold; }
9
- h4 { font-size: 1em; font-weight: bold; margin: 0; padding: 0; }
9
+ h4 { font-size: 1em; font-weight: bold; }
10
10
  ul.across { width: 100%; display: block; list-style: none; }
11
11
  ul.across li { float: left; display: block; width: 9em }
12
12
 
@@ -43,7 +43,7 @@ ul.across li { float: left; display: block; width: 9em }
43
43
  #subnav li a:hover { background-image: url(img/bulletOn.gif) }
44
44
 
45
45
  /* Main Content */
46
- #content { margin: 3em 25% 0 0; padding: 0 5% 1em 5%; }
46
+ #content { margin: 3em 25% 10px 0; padding: 0 5% 1em 5%; }
47
47
  #content.wide { margin: 3em 5% 0 5%; padding: 0 5% 1em 5%; }
48
48
  #content p { padding: 0; margin: 0 0 1em 0; max-width: 660px; }
49
49
  #content ul { max-width: 660px; }
@@ -96,7 +96,7 @@ table.quote td.sig { border-left: solid black 1px; padding-left: 15px }
96
96
  width: 14%; margin: 1em 0 0; padding: 0 5%; font-size: .8em; background-color: #fff }
97
97
  #news h4 { font: 1.2em "Times New Roman", Roman, serif; font-variant: small-caps; text-align: center; margin: 0 0 1em; }
98
98
 
99
- div.code { border: 1px solid #888; background-color: #ccf; width: 32em;
99
+ div.code { border: 1px solid #888; background-color: #ccf; width: 36em;
100
100
  margin: 1.5em 0; padding: 2px 0; position: relative; }
101
101
  div.code pre { font: .8em "Courier New", Courier, monospace; margin: 0 1em .25em; }
102
102
  div.langFilter { position: absolute; top: 100px; left: 5%; }
@@ -1,4 +1,4 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
1
+ <!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2
2
  <html>
3
3
  <!-- Standard Head Part -->
4
4
  <head>
@@ -26,10 +26,6 @@
26
26
 
27
27
  <h2>NUnit Addins</h2>
28
28
 
29
- <div style="text-align: center; margin: 2em 10%; padding: 4px 0; border: 2px solid black">
30
- <h4>Preliminary documentation, subject to change.</h4>
31
- </div>
32
-
33
29
  <p>NUnit originally identified tests in the time-honored way used in many xUnit
34
30
  test frameworks. Test classes inherited from the framework's
35
31
  TestCase class. Individual test case methods were identified by having names
@@ -114,15 +110,15 @@ extension points. It is defined as follows:</p>
114
110
  public interface IExtensionHost
115
111
  {
116
112
  IExtensionPoint[] ExtensionPoints { get; }
117
- IFrameworkRegistry FrameworkRegistry{ get; }
118
113
  IExtensionPoint GetExtensionPoint( string name );
114
+ ExtensionType ExtensionTypes { get; }
119
115
  }
120
116
  </pre>
121
117
 
122
118
  <p>The <b>ExtensionPoints</b> property returns an array of all extension points
123
- for those extensions that need the information. The <b>FrameworkRegistry</b>
124
- is provided for advanced extensions that emulate external test frameworks. See
125
- the source code for details.</p>
119
+ for those extensions that need the information. The <b>ExtensionTypes</b>
120
+ property returns the flags for the type of extension supported by this host,
121
+ allowing, for example, Gui extensions to only load in a Gui host.</p>
126
122
 
127
123
  <p>Most addins will only need to use the <b>GetExtensionPoint</b> method to
128
124
  get the interface to a particular extension point. The <b>IExtensionPoint</b>
@@ -144,173 +140,74 @@ to the <b>Extension Point</b> where it is installed. Generally, extensions
144
140
  do not need to remove themselves once installed, but the method is
145
141
  provided in any case.</p>
146
142
 
147
- <h3>Extension Point Details</h3>
148
-
149
- <p>Depending on the particular extension point, the object passed will
150
- need to implement one or more interfaces. The following <b>ExtensionPoints</b>
151
- are implemented in this release of NUnit:
152
-
153
- <ul>
154
- <li><a href="#suiteBuilders">SuiteBuilders</a>
155
- <li><a href="#testBuilders">TestCaseBuilders</a>
156
- <li><a href="#testDecorators">TestDecorators</a>
157
- <li><a href="#eventListeners">Listeners</a>
158
- </ul></p>
159
-
160
- <p>For examples of implementing each type of extension, see the Extensibility
161
- samples provided with NUnit. More complete examples are available in the
162
- code of NUnit itself, since NUnit uses the same mechanism internally.</p>
163
-
164
- <h4><a name="suiteBuilders">SuiteBuilders</a></h4>
165
- <p>
166
- <p>Addins use the host to access this extension point by name:
167
-
168
- <pre>
169
- IExtensionPoint suiteBuilders = host.GetExtensionPoint( "SuiteBuilders" );</pre>
170
-
171
- <p>The extension object passed to Install must implement the ISuiteBuilder interface:
172
-
173
- <pre>
174
- public interface ISuiteBuilder
175
- {
176
- bool CanBuildFrom( Type type );
177
- Test BuildFrom( Type type );
178
- }
179
- </pre>
180
-
181
- <p>The BuildFrom method should return a test fixture completely populated
182
- with its contained test cases.
183
-
184
- <h4><a name="testBuilders">TestCaseBuilders</a></h4>
185
- <p>
186
- <p>Addins use the host to access this extension point by name:
187
-
188
- <pre>
189
- IExtensionPoint testCaseBuilders = host.GetExtensionPoint( "TestCaseBuilders" );</pre>
190
-
191
- <p>The extension object passed to Install must implement the ITestCaseBuilder interface:
192
-
193
- <pre>
194
- public interface ITestCaseBuilder
195
- {
196
- bool CanBuildFrom( MethodInfo method );
197
- Test BuildFrom( MethodInfo method );
198
- }
199
- </pre>
200
-
201
- <p>Note that this extension point will be called for methods in any type
202
- of fixture. If the addin is intended to only work on methods within
203
- a particular type of fixture, the CanBuildFrom method must check
204
- the fixture type.
205
-
206
- <h4><a name="testDecorators">TestDecorators</a></h4>
207
- <p>
208
- <p>Addins use the host to access this extension point by name:
209
-
210
- <pre>
211
- IExtensionPoint testDecorators = host.GetExtensionPoint( "TestDecorators" );</pre>
212
-
213
- <p>The extension object passed to Install must implement the ITestDecorator interface:
143
+ <p>With NUnit 2.5, an additional interface, <b>IExtensionPoint2</b> is
144
+ available. It derives from <b>IExtensionPoint</b> and also allows setting
145
+ the priority order in which the extension will be called in comparison to
146
+ other extensions on the same extension point. The interface is defined
147
+ as follows:
214
148
 
215
149
  <pre>
216
- public interface ITestDecorator
150
+ public interface IExtensionPoint2 : IExtensionPoint
217
151
  {
218
- Test Decorate( Test test, MemberInfo member );
152
+ void Install( object extension, int priority );
219
153
  }
220
154
  </pre>
221
155
 
222
- <p>The Decorator may do several things, depending on what it needs
223
- to accomplish:
224
- <ol>
225
- <li>Return test unmodified
226
- <li>Modify properties of the test object and return it
227
- <li>Replace test with another object, either discarding the
228
- original or aggregating it in the new test.
229
- </ol>
156
+ <p>Only extension points that use a priority scheme implement this interface.
157
+ In general, extension points with a priority scheme will use a default value
158
+ for priority if the Install method without a priority is called.
230
159
 
231
- <h4><a name="eventListeners">EventListeners</a></h4>
232
- <p>
233
- <p>Addins use the host to access this extension point by name:
160
+ <p>In the NUnit 2.5 release, only the <b>TestDecorators</b> extension point implements
161
+ <b>IExtensionPoint2</b>.
234
162
 
235
- <pre>
236
- IExtensionPoint listeners = host.GetExtensionPoint( "EventListeners" );</pre>
237
-
238
- <p>The extension object passed to Install must implement the EventListener interface:
239
-
240
- <pre>
241
- public interface EventListener
242
- {
243
- void RunStarted( string name, int testCount );
244
- void RunFinished( TestResult result );
245
- void RunFinished( Exception exception );
246
- void TestStarted(TestName testName);
247
- void TestFinished(TestCaseResult result);
248
- void SuiteStarted(TestName testName);
249
- void SuiteFinished(TestSuiteResult result);
250
- void UnhandledException( Exception exception );
251
- void TestOutput(TestOutput testOutput);
252
- }
253
- </pre>
254
-
255
- <p>You must provide all the methods, but the body may be empty for any
256
- that you have no need of.
257
-
258
- <h3>Tips for Writing Extensions</h3>
163
+ <h3>Extension Point Details</h3>
259
164
 
260
- <p>An Extenders Guide will be published in the future. At the moment, writing an
261
- extension is a bit of an adventure. Extension authors are advised to join the
262
- nunit-developer list and post questions and comments there.
165
+ <p>Depending on the particular extension point, the object passed will
166
+ need to implement one or more interfaces. The following <b>ExtensionPoints</b>
167
+ are implemented in this release of NUnit:
263
168
 
264
- <p>For the moment, the following tips may be of assistance.
265
169
  <ul>
266
- <li>The <b>nunit.core.interfaces</b> assembly is intended to be stable in the future
267
- while the <b>nunit.core</b> assembly will change from release to release. Right now,
268
- both assemblies are still in flux, but extensions that depend solely on the interfaces
269
- assembly will have a much better chance of surviving NUnit version changes. Unfortunately,
270
- this is rather difficult to do without duplicating a great deal of NUnit code. Most
271
- of the add-in samples provided with NUnit are currently version dependent.
272
-
273
- <li>If you place the definition of a custom attribute in the same assembly as your
274
- add-in, then user tests are dependent on the add-in assembly. If the add-in is
275
- version-dependent, then the user tests will also be version-dependent. We suggest
276
- placing any types referenced by user tests in a separate assembly, particularly if
277
- your extension relies on nunit.core.
170
+ <li><a href="suiteBuilders.html">SuiteBuilders</a> <li><a href="testcaseBuilders.html">TestCaseBuilders</a> <li><a href="testDecorators.html">TestDecorators</a> <li><a href="testcaseProviders.html">TestCaseProviders</a> <li><a href="datapointProviders.html">DataPointProviders</a> <li><a href="eventListeners.html">EventListeners</a></ul></p>
278
171
 
279
- <li>If using Visual Studio, set Copy Local to false for any references to nunit.core
280
- or nunit.core.interfaces. This is especially important if you are also building
281
- NUnit itself.
282
-
283
- <li>There is currently no mechanism to allow decorators to apply in a particular order.
284
- NUnit applies decorators in the order in which they are returned through reflection,
285
- which may vary among different runtimes.
172
+ <p>For examples of implementing each type of extension, see the Extensibility
173
+ samples provided with NUnit. More complete examples are available in the
174
+ code of NUnit itself, since NUnit uses the same mechanism internally.</p>
286
175
 
287
- <li>Avoid trying to "stretch" the existing extension points to do more than they were
288
- intended to do. Rather, let us know what further extension points you would like to see!
289
- </ul>
176
+ <h4>See also...</h4>
290
177
 
178
+ <ul>
179
+ <li><a href="extensionTips.html">Tips for Writing Extensions</a></ul>
291
180
 
292
181
  </div>
293
182
 
294
183
  <!-- Submenu -->
295
184
  <div id="subnav">
296
185
  <ul>
297
- <li><a href="index.html">NUnit 2.4.8</a></li>
186
+ <li><a href="index.html">NUnit 2.5</a></li>
298
187
  <ul>
299
188
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
300
189
  <li><a href="assertions.html">Assertions</a></li>
190
+ <li><a href="constraintModel.html">Constraints</a></li>
301
191
  <li><a href="attributes.html">Attributes</a></li>
302
192
  <li><a href="nunit-console.html">Console&nbsp;Runner</a></li>
303
193
  <li><a href="nunit-gui.html">Gui&nbsp;Runner</a></li>
304
- <li><a href="features.html">Other&nbsp;Features</a></li>
305
- <ul>
306
194
  <li><a href="configFiles.html">Configuration&nbsp;Files</a></li>
195
+ <li><a href="pnunit.html">PNUnit</a></li>
307
196
  <li><a href="multiAssembly.html">Multiple&nbsp;Assemblies</a></li>
308
197
  <li><a href="vsSupport.html">Visual&nbsp;Studio&nbsp;Support</a></li>
309
198
  <li><a href="extensibility.html">Extensibility</a></li>
310
199
  <ul>
311
- <li><a href="customAsserts.html">Custom&nbsp;Asserts</a></li>
200
+ <li><a href="customConstraints.html">Custom&nbsp;Constraints</a></li>
312
201
  <li id="current"><a href="nunitAddins.html">NUnit&nbsp;Addins</a></li>
202
+ <ul>
203
+ <li><a href="suiteBuilders.html">SuiteBuilders</a></li>
204
+ <li><a href="testcaseBuilders.html">TestcaseBuilders</a></li>
205
+ <li><a href="testDecorators.html">TestDecorators</a></li>
206
+ <li><a href="testcaseProviders.html">TestcaseProviders</a></li>
207
+ <li><a href="datapointProviders.html">DatapointProviders</a></li>
208
+ <li><a href="eventListeners.html">EventListeners</a></li>
313
209
  </ul>
210
+ <li><a href="extensionTips.html">Tips&nbsp;for&nbsp;Extenders</a></li>
314
211
  </ul>
315
212
  <li><a href="releaseNotes.html">Release&nbsp;Notes</a></li>
316
213
  <li><a href="samples.html">Samples</a></li>
@@ -323,7 +220,7 @@ intended to do. Rather, let us know what further extension points you would like
323
220
 
324
221
  <!-- Standard Footer for NUnit.org -->
325
222
  <div id="footer">
326
- Copyright &copy; 2008 Charlie Poole. All Rights Reserved.
223
+ Copyright &copy; 2009 Charlie Poole. All Rights Reserved.
327
224
  </div>
328
225
  <!-- End of Footer -->
329
226