nunit 2.5.1.9189 → 2.5.2.9222

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. data/docs/addinsDialog.html +1 -1
  2. data/docs/assertions.html +1 -1
  3. data/docs/attributes.html +1 -1
  4. data/docs/category.html +1 -1
  5. data/docs/collectionAssert.html +1 -1
  6. data/docs/collectionConstraints.html +1 -1
  7. data/docs/combinatorial.html +1 -1
  8. data/docs/comparisonAsserts.html +1 -1
  9. data/docs/comparisonConstraints.html +1 -1
  10. data/docs/compoundConstraints.html +1 -1
  11. data/docs/conditionAsserts.html +1 -1
  12. data/docs/conditionConstraints.html +1 -1
  13. data/docs/configEditor.html +1 -1
  14. data/docs/configFiles.html +1 -1
  15. data/docs/consoleCommandLine.html +1 -1
  16. data/docs/constraintModel.html +1 -1
  17. data/docs/contextMenu.html +1 -1
  18. data/docs/culture.html +1 -1
  19. data/docs/customConstraints.html +1 -1
  20. data/docs/datapoint.html +1 -1
  21. data/docs/datapointProviders.html +1 -1
  22. data/docs/delayedConstraint.html +1 -1
  23. data/docs/description.html +1 -1
  24. data/docs/directoryAssert.html +1 -1
  25. data/docs/equalConstraint.html +1 -1
  26. data/docs/equalityAsserts.html +1 -1
  27. data/docs/eventListeners.html +1 -1
  28. data/docs/exception.html +1 -1
  29. data/docs/exceptionAsserts.html +42 -15
  30. data/docs/explicit.html +1 -1
  31. data/docs/extensibility.html +1 -1
  32. data/docs/extensionTips.html +1 -1
  33. data/docs/fileAssert.html +1 -1
  34. data/docs/fixtureSetup.html +1 -1
  35. data/docs/fixtureTeardown.html +1 -1
  36. data/docs/getStarted.html +1 -1
  37. data/docs/guiCommandLine.html +1 -1
  38. data/docs/identityAsserts.html +1 -1
  39. data/docs/ignore.html +1 -1
  40. data/docs/index.html +3 -3
  41. data/docs/installation.html +2 -2
  42. data/docs/license.html +1 -1
  43. data/docs/listMapper.html +1 -1
  44. data/docs/mainMenu.html +1 -1
  45. data/docs/maxtime.html +21 -6
  46. data/docs/multiAssembly.html +1 -1
  47. data/docs/nunit-console.html +1 -1
  48. data/docs/nunit-gui.html +1 -1
  49. data/docs/nunit.css +9 -1
  50. data/docs/nunitAddins.html +1 -1
  51. data/docs/pairwise.html +1 -1
  52. data/docs/parameterizedTests.html +1 -1
  53. data/docs/pathConstraints.html +1 -1
  54. data/docs/platform.html +1 -1
  55. data/docs/pnunit.html +1 -1
  56. data/docs/projectEditor.html +1 -1
  57. data/docs/property.html +1 -1
  58. data/docs/propertyConstraint.html +1 -1
  59. data/docs/quickStart.html +1 -1
  60. data/docs/random.html +1 -1
  61. data/docs/range.html +17 -1
  62. data/docs/releaseNotes.html +63 -1
  63. data/docs/repeat.html +1 -1
  64. data/docs/requiredAddin.html +1 -1
  65. data/docs/requiresMTA.html +1 -1
  66. data/docs/requiresSTA.html +1 -1
  67. data/docs/requiresThread.html +1 -1
  68. data/docs/sameasConstraint.html +1 -1
  69. data/docs/samples.html +1 -1
  70. data/docs/sequential.html +1 -1
  71. data/docs/setCulture.html +1 -1
  72. data/docs/settingsDialog.html +1 -1
  73. data/docs/setup.html +1 -1
  74. data/docs/setupFixture.html +1 -1
  75. data/docs/stringAssert.html +1 -1
  76. data/docs/stringConstraints.html +1 -1
  77. data/docs/suite.html +1 -1
  78. data/docs/suiteBuilders.html +1 -1
  79. data/docs/teardown.html +1 -1
  80. data/docs/test.html +1 -1
  81. data/docs/testCase.html +19 -2
  82. data/docs/testCaseSource.html +26 -1
  83. data/docs/testDecorators.html +1 -1
  84. data/docs/testFixture.html +6 -1
  85. data/docs/testProperties.html +1 -1
  86. data/docs/testcaseBuilders.html +1 -1
  87. data/docs/testcaseProviders.html +1 -1
  88. data/docs/theory.html +1 -1
  89. data/docs/throwsConstraint.html +21 -1
  90. data/docs/timeout.html +17 -3
  91. data/docs/typeAsserts.html +1 -1
  92. data/docs/typeConstraints.html +1 -1
  93. data/docs/upgrade.html +1 -1
  94. data/docs/utilityAsserts.html +1 -1
  95. data/docs/valueSource.html +17 -1
  96. data/docs/values.html +17 -1
  97. data/docs/vsSupport.html +1 -1
  98. data/lib/net-1.1/framework/nunit.framework.dll +0 -0
  99. data/lib/net-1.1/framework/nunit.framework.xml +180 -16
  100. data/lib/net-1.1/framework/nunit.mocks.dll +0 -0
  101. data/lib/net-1.1/framework/pnunit.framework.dll +0 -0
  102. data/lib/net-1.1/lib/nunit-console-runner.dll +0 -0
  103. data/lib/net-1.1/lib/nunit.core.dll +0 -0
  104. data/lib/net-1.1/lib/nunit.core.interfaces.dll +0 -0
  105. data/lib/net-1.1/lib/nunit.fixtures.dll +0 -0
  106. data/lib/net-1.1/lib/nunit.util.dll +0 -0
  107. data/lib/net-1.1/nunit-agent.exe +0 -0
  108. data/lib/net-1.1/nunit-console.exe +0 -0
  109. data/lib/net-1.1/nunit.framework.dll +0 -0
  110. data/lib/net-1.1/pnunit-agent.exe +0 -0
  111. data/lib/net-1.1/pnunit-launcher.exe +0 -0
  112. data/lib/net-1.1/pnunit.framework.dll +0 -0
  113. data/lib/net-1.1/pnunit.tests.dll +0 -0
  114. data/lib/net-1.1/tests/loadtest-assembly.dll +0 -0
  115. data/lib/net-1.1/tests/mock-assembly.dll +0 -0
  116. data/lib/net-1.1/tests/nonamespace-assembly.dll +0 -0
  117. data/lib/net-1.1/tests/nunit-console.tests.dll +0 -0
  118. data/lib/net-1.1/tests/nunit.core.tests.dll +0 -0
  119. data/lib/net-1.1/tests/nunit.fixtures.tests.dll +0 -0
  120. data/lib/net-1.1/tests/nunit.framework.dll +0 -0
  121. data/lib/net-1.1/tests/nunit.framework.tests.dll +0 -0
  122. data/lib/net-1.1/tests/nunit.mocks.tests.dll +0 -0
  123. data/lib/net-1.1/tests/nunit.util.tests.dll +0 -0
  124. data/lib/net-1.1/tests/test-assembly.dll +0 -0
  125. data/lib/net-1.1/tests/test-utilities.dll +0 -0
  126. data/lib/net-1.1/tests/timing-tests.dll +0 -0
  127. data/lib/net-2.0/framework/nunit.framework.dll +0 -0
  128. data/lib/net-2.0/framework/nunit.framework.xml +207 -16
  129. data/lib/net-2.0/framework/nunit.mocks.dll +0 -0
  130. data/lib/net-2.0/framework/pnunit.framework.dll +0 -0
  131. data/lib/net-2.0/lib/nunit-console-runner.dll +0 -0
  132. data/lib/net-2.0/lib/nunit-gui-runner.dll +0 -0
  133. data/lib/net-2.0/lib/nunit.core.dll +0 -0
  134. data/lib/net-2.0/lib/nunit.core.interfaces.dll +0 -0
  135. data/lib/net-2.0/lib/nunit.fixtures.dll +0 -0
  136. data/lib/net-2.0/lib/nunit.uiexception.dll +0 -0
  137. data/lib/net-2.0/lib/nunit.uikit.dll +0 -0
  138. data/lib/net-2.0/lib/nunit.util.dll +0 -0
  139. data/lib/net-2.0/nunit-agent.exe +0 -0
  140. data/lib/net-2.0/nunit-console-x86.exe +0 -0
  141. data/lib/net-2.0/nunit-console.exe +0 -0
  142. data/lib/net-2.0/nunit-x86.exe +0 -0
  143. data/lib/net-2.0/nunit.exe +0 -0
  144. data/lib/net-2.0/nunit.framework.dll +0 -0
  145. data/lib/net-2.0/pnunit-agent.exe +0 -0
  146. data/lib/net-2.0/pnunit-launcher.exe +0 -0
  147. data/lib/net-2.0/pnunit.framework.dll +0 -0
  148. data/lib/net-2.0/pnunit.tests.dll +0 -0
  149. data/lib/net-2.0/tests/loadtest-assembly.dll +0 -0
  150. data/lib/net-2.0/tests/mock-assembly.dll +0 -0
  151. data/lib/net-2.0/tests/nonamespace-assembly.dll +0 -0
  152. data/lib/net-2.0/tests/nunit-console.tests.dll +0 -0
  153. data/lib/net-2.0/tests/nunit-gui.tests.dll +0 -0
  154. data/lib/net-2.0/tests/nunit.core.tests.dll +0 -0
  155. data/lib/net-2.0/tests/nunit.fixtures.tests.dll +0 -0
  156. data/lib/net-2.0/tests/nunit.framework.dll +0 -0
  157. data/lib/net-2.0/tests/nunit.framework.tests.dll +0 -0
  158. data/lib/net-2.0/tests/nunit.mocks.tests.dll +0 -0
  159. data/lib/net-2.0/tests/nunit.uiexception.tests.dll +0 -0
  160. data/lib/net-2.0/tests/nunit.uikit.tests.dll +0 -0
  161. data/lib/net-2.0/tests/nunit.util.tests.dll +0 -0
  162. data/lib/net-2.0/tests/test-assembly.dll +0 -0
  163. data/lib/net-2.0/tests/test-utilities.dll +0 -0
  164. data/lib/net-2.0/tests/timing-tests.dll +0 -0
  165. metadata +4 -4
@@ -97,7 +97,7 @@ 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.5.1</a></li>
100
+ <li><a href="index.html">NUnit 2.5.2</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>
@@ -54,7 +54,7 @@ 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.5.1</a></li>
57
+ <li><a href="index.html">NUnit 2.5.2</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>
data/docs/nunit-gui.html CHANGED
@@ -90,7 +90,7 @@ see the documentation for the
90
90
  <!-- Submenu -->
91
91
  <div id="subnav">
92
92
  <ul>
93
- <li><a href="index.html">NUnit 2.5.1</a></li>
93
+ <li><a href="index.html">NUnit 2.5.2</a></li>
94
94
  <ul>
95
95
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
96
96
  <li><a href="assertions.html">Assertions</a></li>
data/docs/nunit.css CHANGED
@@ -21,7 +21,7 @@ ul.across li { float: left; display: block; width: 9em }
21
21
  * html #nav { height: 1%; }
22
22
  /* End of IE-mac hack */
23
23
 
24
- #nav a{ text-decoration: none; color: #000; font: 1em "Times New Roman", Roman, serif;
24
+ #nav a{ text-decoration: none; color: #000; font: small "Times New Roman", Roman, serif;
25
25
  text-transform: uppercase; margin: 0 5px; padding: 5px 10px; border: 1px solid black; }
26
26
  #nav a.active { background: #999; }
27
27
  #nav a:hover { background: #CCC; }
@@ -105,6 +105,14 @@ div.dropdown { position: absolute; top: 0; left: 14px; padding: 0 10px; width: 2
105
105
  text-align: left; border: 1px solid #888; background-color: #ffd; }
106
106
  div.code div.dropdown { position: absolute; left: 14px; top: 0; padding: 0 10px; width: 20px;
107
107
  text-align: left; border: 1px solid #888; background-color: #ffd; }
108
+ div.notice {
109
+ margin-left: 2em;
110
+ margin-right: 2em;
111
+ text-align: center;
112
+ font-style: italic;
113
+ font-weight: bold;
114
+ }
115
+
108
116
  /*
109
117
  #content.wide p { width: expression( document.documentElement.clientWidth > 700 ? "660px" : "auto" ); }
110
118
  #content.wide blockquote { width: expression( document.documentElement.clientWidth > 700 ? "580px" : "auto" ); }
@@ -183,7 +183,7 @@ code of NUnit itself, since NUnit uses the same mechanism internally.</p>
183
183
  <!-- Submenu -->
184
184
  <div id="subnav">
185
185
  <ul>
186
- <li><a href="index.html">NUnit 2.5.1</a></li>
186
+ <li><a href="index.html">NUnit 2.5.2</a></li>
187
187
  <ul>
188
188
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
189
189
  <li><a href="assertions.html">Assertions</a></li>
data/docs/pairwise.html CHANGED
@@ -45,7 +45,7 @@ combinatorial approach.
45
45
  <!-- Submenu -->
46
46
  <div id="subnav">
47
47
  <ul>
48
- <li><a href="index.html">NUnit 2.5.1</a></li>
48
+ <li><a href="index.html">NUnit 2.5.2</a></li>
49
49
  <ul>
50
50
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
51
51
  <li><a href="assertions.html">Assertions</a></li>
@@ -88,7 +88,7 @@ are provided:
88
88
  <!-- Submenu -->
89
89
  <div id="subnav">
90
90
  <ul>
91
- <li><a href="index.html">NUnit 2.5.1</a></li>
91
+ <li><a href="index.html">NUnit 2.5.2</a></li>
92
92
  <ul>
93
93
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
94
94
  <li><a href="assertions.html">Assertions</a></li>
@@ -115,7 +115,7 @@ Assert.That( "/folder1/folder2/folder3",
115
115
  <!-- Submenu -->
116
116
  <div id="subnav">
117
117
  <ul>
118
- <li><a href="index.html">NUnit 2.5.1</a></li>
118
+ <li><a href="index.html">NUnit 2.5.2</a></li>
119
119
  <ul>
120
120
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
121
121
  <li><a href="assertions.html">Assertions</a></li>
data/docs/platform.html CHANGED
@@ -244,7 +244,7 @@ public class SuccessTests
244
244
  <!-- Submenu -->
245
245
  <div id="subnav">
246
246
  <ul>
247
- <li><a href="index.html">NUnit 2.5.1</a></li>
247
+ <li><a href="index.html">NUnit 2.5.2</a></li>
248
248
  <ul>
249
249
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
250
250
  <li><a href="assertions.html">Assertions</a></li>
data/docs/pnunit.html CHANGED
@@ -61,7 +61,7 @@ may be used through the normal NUnit console or gui runners.
61
61
  <!-- Submenu -->
62
62
  <div id="subnav">
63
63
  <ul>
64
- <li><a href="index.html">NUnit 2.5.1</a></li>
64
+ <li><a href="index.html">NUnit 2.5.2</a></li>
65
65
  <ul>
66
66
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
67
67
  <li><a href="assertions.html">Assertions</a></li>
@@ -156,7 +156,7 @@ the contents to change the path to the assembly.
156
156
  <!-- Submenu -->
157
157
  <div id="subnav">
158
158
  <ul>
159
- <li><a href="index.html">NUnit 2.5.1</a></li>
159
+ <li><a href="index.html">NUnit 2.5.2</a></li>
160
160
  <ul>
161
161
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
162
162
  <li><a href="assertions.html">Assertions</a></li>
data/docs/property.html CHANGED
@@ -179,7 +179,7 @@ feature itself for certain attributes. See, for example,
179
179
  <!-- Submenu -->
180
180
  <div id="subnav">
181
181
  <ul>
182
- <li><a href="index.html">NUnit 2.5.1</a></li>
182
+ <li><a href="index.html">NUnit 2.5.2</a></li>
183
183
  <ul>
184
184
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
185
185
  <li><a href="assertions.html">Assertions</a></li>
@@ -45,7 +45,7 @@ to be applied to the property.
45
45
  <!-- Submenu -->
46
46
  <div id="subnav">
47
47
  <ul>
48
- <li><a href="index.html">NUnit 2.5.1</a></li>
48
+ <li><a href="index.html">NUnit 2.5.2</a></li>
49
49
  <ul>
50
50
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
51
51
  <li><a href="assertions.html">Assertions</a></li>
data/docs/quickStart.html CHANGED
@@ -283,7 +283,7 @@ public void TransferWithInsufficientFundsAtomicity()
283
283
  <!-- Submenu -->
284
284
  <div id="subnav">
285
285
  <ul>
286
- <li><a href="index.html">NUnit 2.5.1</a></li>
286
+ <li><a href="index.html">NUnit 2.5.2</a></li>
287
287
  <ul>
288
288
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
289
289
  <ul>
data/docs/random.html CHANGED
@@ -69,7 +69,7 @@ public void MyTest(
69
69
  <!-- Submenu -->
70
70
  <div id="subnav">
71
71
  <ul>
72
- <li><a href="index.html">NUnit 2.5.1</a></li>
72
+ <li><a href="index.html">NUnit 2.5.2</a></li>
73
73
  <ul>
74
74
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
75
75
  <li><a href="assertions.html">Assertions</a></li>
data/docs/range.html CHANGED
@@ -71,6 +71,22 @@ public void MyTest(
71
71
  }
72
72
  </pre></div>
73
73
 
74
+ <h3>Order of Execution</h3>
75
+
76
+ <p>In NUnit 2.5, individual test cases are sorted alphabetically and executed in
77
+ that order. With NUnit 2.5.1, the individual cases are not sorted, but are
78
+ executed in the order in which NUnit discovers them. This order does <b>not</b>
79
+ follow the lexical order of the attributes and will often vary between different
80
+ compilers or different versions of the CLR.
81
+
82
+ <p>As a result, when <b>RangeAttribute</b> appears multiple times on a
83
+ parameter or when other data-providing attributes are used in combination with
84
+ <b>RangeAttribute</b>, the order of the argument data is undefined.
85
+
86
+ <p>However, when a single <b>RangeAttribute</b> is used by itself,
87
+ the order of the data follows exactly the order in which the it is
88
+ specified in the attribute constructor.
89
+
74
90
  <h4>See also...</h4>
75
91
  <ul>
76
92
  <li><a href="values.html">ValuesAttribute</a><li><a href="random.html">RandomAttribute</a><li><a href="sequential.html">SequentialAttribute</a><li><a href="combinatorial.html">CombinatorialAttribute</a><li><a href="pairwise.html">PairwiseAttribute</a></ul>
@@ -80,7 +96,7 @@ public void MyTest(
80
96
  <!-- Submenu -->
81
97
  <div id="subnav">
82
98
  <ul>
83
- <li><a href="index.html">NUnit 2.5.1</a></li>
99
+ <li><a href="index.html">NUnit 2.5.2</a></li>
84
100
  <ul>
85
101
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
86
102
  <li><a href="assertions.html">Assertions</a></li>
@@ -38,6 +38,68 @@ ul ul li { padding-bottom: 0; }
38
38
  dt { font-weight: bold }
39
39
  --></style>
40
40
 
41
+ <h3>NUnit 2.5.2 - Version 2.5.2.9222 - August 10, 2009</h3>
42
+
43
+ <p><b>Note:</b> This is the last release of NUnit using source code
44
+ maintained on Sourceforge. The CVS repository there will be kept,
45
+ but no longer updated. After this release, the source is being
46
+ maintained on Launchpad at http://launchpad.net/nunit-2.5.
47
+
48
+ <h4>Framework</h4>
49
+
50
+ <ul>
51
+ <li>The new <b>SetUICultureAttribute</b> allows setting CurrentUICulture
52
+ for the duration of a test method, fixture or assembly.
53
+ <li>The <b>TestFixture</b>, <b>TestCase</b> and <b>TestCaseData</b> attributes
54
+ have been enhanced to allow ignoring an individual fixture instance or
55
+ test case. Two new named parameters are provided:
56
+ <ul>
57
+ <li><b>Ignore</b> may be set to true to ignore an item.
58
+ <li><b>IgnoreReason</b> may be set to specify the reason for ignoring
59
+ the item. If IgnoreReason is set to a non-empty string, then setting
60
+ Ignore is optional.
61
+ </ul>
62
+ <li><b>Assert.Catch</b> has been added with several overloads. It differs
63
+ from <b>Assert.Throws</b> in accepting exceptions derived from the one
64
+ that is specified. Like <b>Assert.Throws</b>, it returns the exception
65
+ thrown when it succeeds so that further tests can be made on it.
66
+ <li>The <b>Throws</b> syntax has a number of new additions:
67
+ <ul>
68
+ <li><b>ThrowsTargetInvocationException</b>, <b>ThrowsArgumentException</b>
69
+ and <b>Throws.InvalidOperationException</b> provide a shorter syntax
70
+ for testing for these common exception types.
71
+ <li><b>Throws.InnerException</b> applies any constraints to the InnerException
72
+ of the exception that was thrown rather than to the exception itself.
73
+ <li><b>InnerException</b> can also be used in constraint expressions - see
74
+ the documentation for an example.
75
+ </ul>
76
+ </ul>
77
+
78
+ <h4>Bug Fixes</h4>
79
+
80
+ <ul>
81
+ <li>Data from a TestCaseSource in a separate class from the tests
82
+ is now handled correctly.
83
+ <li>Arguments specified using TestCaseData are now used correctly.
84
+ <li>Comparing the a stream to itself no longer causes an error.
85
+ <li>TimeoutAttribute is now permitted on an assembly as documented.
86
+ <li>Clear All and Clear Failures buttons are now displayed correctly
87
+ depending on whether Checkboxes are displayed in the Gui.
88
+ <li>The console runner option descriptions have been revised to
89
+ more clearly indicate what each option does.
90
+ <li>Running special tests that do not use the nunit.framework assembly
91
+ no longer causes a null reference exception.
92
+ <li>Console Runner option descriptions have been edited for accuracy.
93
+ <li>Gui TreeView now updates correctly when the order of tests has changed.
94
+ <li>An exception in TearDown now displays the actual exception
95
+ at the top of the stack rather than a TargetInvocationException.
96
+ </ul>
97
+ <style><!--
98
+ li { padding-bottom: .5em; }
99
+ ul ul li { padding-bottom: 0; }
100
+ dt { font-weight: bold }
101
+ --></style>
102
+
41
103
  <h3>NUnit 2.5.1 - Version 2.5.1.9189 - July 8, 2009</h3>
42
104
 
43
105
  <h4>Framework</h4>
@@ -940,7 +1002,7 @@ this release may be removed or changed in future releases.
940
1002
  <!-- Submenu -->
941
1003
  <div id="subnav">
942
1004
  <ul>
943
- <li><a href="index.html">NUnit 2.5.1</a></li>
1005
+ <li><a href="index.html">NUnit 2.5.2</a></li>
944
1006
  <ul>
945
1007
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
946
1008
  <li><a href="assertions.html">Assertions</a></li>
data/docs/repeat.html CHANGED
@@ -35,7 +35,7 @@
35
35
  <!-- Submenu -->
36
36
  <div id="subnav">
37
37
  <ul>
38
- <li><a href="index.html">NUnit 2.5.1</a></li>
38
+ <li><a href="index.html">NUnit 2.5.2</a></li>
39
39
  <ul>
40
40
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
41
41
  <li><a href="assertions.html">Assertions</a></li>
@@ -84,7 +84,7 @@ namespace NUnit.Tests
84
84
  <!-- Submenu -->
85
85
  <div id="subnav">
86
86
  <ul>
87
- <li><a href="index.html">NUnit 2.5.1</a></li>
87
+ <li><a href="index.html">NUnit 2.5.2</a></li>
88
88
  <ul>
89
89
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
90
90
  <li><a href="assertions.html">Assertions</a></li>
@@ -83,7 +83,7 @@ public class AnotherFixture
83
83
  <!-- Submenu -->
84
84
  <div id="subnav">
85
85
  <ul>
86
- <li><a href="index.html">NUnit 2.5.1</a></li>
86
+ <li><a href="index.html">NUnit 2.5.2</a></li>
87
87
  <ul>
88
88
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
89
89
  <li><a href="assertions.html">Assertions</a></li>
@@ -84,7 +84,7 @@ public class AnotherFixture
84
84
  <!-- Submenu -->
85
85
  <div id="subnav">
86
86
  <ul>
87
- <li><a href="index.html">NUnit 2.5.1</a></li>
87
+ <li><a href="index.html">NUnit 2.5.2</a></li>
88
88
  <ul>
89
89
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
90
90
  <li><a href="assertions.html">Assertions</a></li>
@@ -84,7 +84,7 @@ public class AnotherFixture
84
84
  <!-- Submenu -->
85
85
  <div id="subnav">
86
86
  <ul>
87
- <li><a href="index.html">NUnit 2.5.1</a></li>
87
+ <li><a href="index.html">NUnit 2.5.2</a></li>
88
88
  <ul>
89
89
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
90
90
  <li><a href="assertions.html">Assertions</a></li>
@@ -57,7 +57,7 @@ Assert.That( ex3, Is.Not.SameAs( ex1 ) );
57
57
  <!-- Submenu -->
58
58
  <div id="subnav">
59
59
  <ul>
60
- <li><a href="index.html">NUnit 2.5.1</a></li>
60
+ <li><a href="index.html">NUnit 2.5.2</a></li>
61
61
  <ul>
62
62
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
63
63
  <li><a href="assertions.html">Assertions</a></li>
data/docs/samples.html CHANGED
@@ -97,7 +97,7 @@ removed.
97
97
  <!-- Submenu -->
98
98
  <div id="subnav">
99
99
  <ul>
100
- <li><a href="index.html">NUnit 2.5.1</a></li>
100
+ <li><a href="index.html">NUnit 2.5.2</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>
data/docs/sequential.html CHANGED
@@ -63,7 +63,7 @@ public void MyTest(
63
63
  <!-- Submenu -->
64
64
  <div id="subnav">
65
65
  <ul>
66
- <li><a href="index.html">NUnit 2.5.1</a></li>
66
+ <li><a href="index.html">NUnit 2.5.2</a></li>
67
67
  <ul>
68
68
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
69
69
  <li><a href="assertions.html">Assertions</a></li>
data/docs/setCulture.html CHANGED
@@ -127,7 +127,7 @@ public class FrenchCultureTests
127
127
  <!-- Submenu -->
128
128
  <div id="subnav">
129
129
  <ul>
130
- <li><a href="index.html">NUnit 2.5.1</a></li>
130
+ <li><a href="index.html">NUnit 2.5.2</a></li>
131
131
  <ul>
132
132
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
133
133
  <li><a href="assertions.html">Assertions</a></li>
@@ -262,7 +262,7 @@ and solutions and add Visual Studio projects to existing test projects.</p>
262
262
  <!-- Submenu -->
263
263
  <div id="subnav">
264
264
  <ul>
265
- <li><a href="index.html">NUnit 2.5.1</a></li>
265
+ <li><a href="index.html">NUnit 2.5.2</a></li>
266
266
  <ul>
267
267
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
268
268
  <li><a href="assertions.html">Assertions</a></li>
data/docs/setup.html CHANGED
@@ -175,7 +175,7 @@ public class SuccessTests
175
175
  <!-- Submenu -->
176
176
  <div id="subnav">
177
177
  <ul>
178
- <li><a href="index.html">NUnit 2.5.1</a></li>
178
+ <li><a href="index.html">NUnit 2.5.2</a></li>
179
179
  <ul>
180
180
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
181
181
  <li><a href="assertions.html">Assertions</a></li>
@@ -152,7 +152,7 @@ public class MySetUpClass
152
152
  <!-- Submenu -->
153
153
  <div id="subnav">
154
154
  <ul>
155
- <li><a href="index.html">NUnit 2.5.1</a></li>
155
+ <li><a href="index.html">NUnit 2.5.2</a></li>
156
156
  <ul>
157
157
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
158
158
  <li><a href="assertions.html">Assertions</a></li>
@@ -65,7 +65,7 @@ StringAssert.IsMatch( string regexPattern, string actual,
65
65
  <!-- Submenu -->
66
66
  <div id="subnav">
67
67
  <ul>
68
- <li><a href="index.html">NUnit 2.5.1</a></li>
68
+ <li><a href="index.html">NUnit 2.5.2</a></li>
69
69
  <ul>
70
70
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
71
71
  <li><a href="assertions.html">Assertions</a></li>
@@ -198,7 +198,7 @@ Expect( phrase, Matches( "Make.*pass" ) );
198
198
  <!-- Submenu -->
199
199
  <div id="subnav">
200
200
  <ul>
201
- <li><a href="index.html">NUnit 2.5.1</a></li>
201
+ <li><a href="index.html">NUnit 2.5.2</a></li>
202
202
  <ul>
203
203
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
204
204
  <li><a href="assertions.html">Assertions</a></li>
data/docs/suite.html CHANGED
@@ -174,7 +174,7 @@ of the planning for future NUnit releases.
174
174
  <!-- Submenu -->
175
175
  <div id="subnav">
176
176
  <ul>
177
- <li><a href="index.html">NUnit 2.5.1</a></li>
177
+ <li><a href="index.html">NUnit 2.5.2</a></li>
178
178
  <ul>
179
179
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
180
180
  <li><a href="assertions.html">Assertions</a></li>
@@ -61,7 +61,7 @@ build a fixture using the provided Type.
61
61
  <!-- Submenu -->
62
62
  <div id="subnav">
63
63
  <ul>
64
- <li><a href="index.html">NUnit 2.5.1</a></li>
64
+ <li><a href="index.html">NUnit 2.5.2</a></li>
65
65
  <ul>
66
66
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
67
67
  <li><a href="assertions.html">Assertions</a></li>
data/docs/teardown.html CHANGED
@@ -175,7 +175,7 @@ public class SuccessTests
175
175
  <!-- Submenu -->
176
176
  <div id="subnav">
177
177
  <ul>
178
- <li><a href="index.html">NUnit 2.5.1</a></li>
178
+ <li><a href="index.html">NUnit 2.5.2</a></li>
179
179
  <ul>
180
180
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
181
181
  <li><a href="assertions.html">Assertions</a></li>
data/docs/test.html CHANGED
@@ -148,7 +148,7 @@ public class SuccessTests
148
148
  <!-- Submenu -->
149
149
  <div id="subnav">
150
150
  <ul>
151
- <li><a href="index.html">NUnit 2.5.1</a></li>
151
+ <li><a href="index.html">NUnit 2.5.2</a></li>
152
152
  <ul>
153
153
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
154
154
  <li><a href="assertions.html">Assertions</a></li>
data/docs/testCase.html CHANGED
@@ -91,15 +91,32 @@ named parameters, which may be used as follows:
91
91
  a compatible return type.
92
92
  <dt><b>TestName</b>
93
93
  <dd>Provides a name for the test. If not specified, a name is generated based on
94
- the method name and the arguments provided
94
+ the method name and the arguments provided.
95
+ <dt><b>Ignore</b>
96
+ <dd>Set to true in order to ignore the individual test case.
97
+ <dt><b>IgnoreReason</b>
98
+ <dd>Specifies the reason for ignoring this test case. If set to a non-empty
99
+ string, then Ignore is assumed to be true.
95
100
  </dl>
96
101
 
102
+ <h3>Order of Execution</h3>
103
+
104
+ <p>In NUnit 2.5, individual test cases are sorted alphabetically and executed in
105
+ that order. With NUnit 2.5.1, the individual cases are not sorted, but are
106
+ executed in the order in which NUnit discovers them. This order does <b>not</b>
107
+ follow the lexical order of the attributes and will often vary between different
108
+ compilers or different versions of the CLR.
109
+
110
+ <p>As a result, when <b>TestCaseAttribute</b> appears multiple times on a method
111
+ or when other data-providing attributes are used in combination with
112
+ <b>TestCaseAttribute</b>, the order of the test cases is undefined.
113
+
97
114
  </div>
98
115
 
99
116
  <!-- Submenu -->
100
117
  <div id="subnav">
101
118
  <ul>
102
- <li><a href="index.html">NUnit 2.5.1</a></li>
119
+ <li><a href="index.html">NUnit 2.5.2</a></li>
103
120
  <ul>
104
121
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
105
122
  <li><a href="assertions.html">Assertions</a></li>
@@ -131,6 +131,11 @@ and any public fields or properties with the following names are used:
131
131
  <dt><b>TestName</b>
132
132
  <dd>Provides a name for the test. If not specified, a name is generated based on
133
133
  the method name and the arguments provided
134
+ <dt><b>Ignored</b>
135
+ <dd>If true, the test case is ignored.
136
+ <dt><b>IgnoreReason</b>
137
+ <dd>Specifies the reason for ignoring this test case. If set to a non-empty
138
+ string, then the test is ignored.
134
139
  </dl>
135
140
 
136
141
  <h3>TestCaseData Class</h3>
@@ -205,8 +210,28 @@ and methods, which may be appended to an instance in any order.
205
210
  <dt><b>.Throws(Type)</b>
206
211
  <dt><b>.Throws(string)</b>
207
212
  <dd>Specifies a the Type or FullName of an exception that should be thrown by this invocation
213
+ <dt><b>.Ignore()</b>
214
+ <dd>Causes the test case to be ignored.
215
+ <dt><b>.Ignore(string)</b>
216
+ <dd>Causes the test case to be ignored with a reason specified.
208
217
  </dl>
209
218
 
219
+ <h3>Order of Execution</h3>
220
+
221
+ <p>In NUnit 2.5, individual test cases are sorted alphabetically and executed in
222
+ that order. With NUnit 2.5.1, the individual cases are not sorted, but are
223
+ executed in the order in which NUnit discovers them. This order does <b>not</b>
224
+ follow the lexical order of the attributes and will often vary between different
225
+ compilers or different versions of the CLR.
226
+
227
+ <p>As a result, when <b>TestCaseSourceAttribute</b> appears multiple times on a
228
+ method or when other data-providing attributes are used in combination with
229
+ <b>TestCaseSourceAttribute</b>, the order of the test cases is undefined.
230
+
231
+ <p>However, when a single <b>TestCaseSourceAttribute</b> is used by itself,
232
+ the order of the tests follows exactly the order in which the test cases
233
+ are returned from the source.
234
+
210
235
  <h3>Note on Object Construction</h3>
211
236
 
212
237
  <p>NUnit locates the test cases at the time the tests are loaded, creates
@@ -228,7 +253,7 @@ themselves.
228
253
  <!-- Submenu -->
229
254
  <div id="subnav">
230
255
  <ul>
231
- <li><a href="index.html">NUnit 2.5.1</a></li>
256
+ <li><a href="index.html">NUnit 2.5.2</a></li>
232
257
  <ul>
233
258
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
234
259
  <li><a href="assertions.html">Assertions</a></li>
@@ -72,7 +72,7 @@ standard values are defined for use if desired:
72
72
  <!-- Submenu -->
73
73
  <div id="subnav">
74
74
  <ul>
75
- <li><a href="index.html">NUnit 2.5.1</a></li>
75
+ <li><a href="index.html">NUnit 2.5.2</a></li>
76
76
  <ul>
77
77
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
78
78
  <li><a href="assertions.html">Assertions</a></li>
@@ -133,6 +133,11 @@ public class SuccessTests
133
133
  attribute. NUnit will construct a separate instance of the fixture
134
134
  for each set of arguments.
135
135
 
136
+ <p>Beginning with NUnit 2.5, individual fixture instances in a set
137
+ of parameterized fixtures may be ignored. Set the <b>Ignore</b>
138
+ named parameter to true or set <b>IgnoreReason</b> to a non-empty
139
+ string.
140
+
136
141
  <h4>Example</h4>
137
142
 
138
143
  <p>The following test fixture would be instantiated by NUnit three times,
@@ -311,7 +316,7 @@ public class DeduceTypeArgsFromArgs&lt;T1, T2&gt;
311
316
  <!-- Submenu -->
312
317
  <div id="subnav">
313
318
  <ul>
314
- <li><a href="index.html">NUnit 2.5.1</a></li>
319
+ <li><a href="index.html">NUnit 2.5.2</a></li>
315
320
  <ul>
316
321
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
317
322
  <li><a href="assertions.html">Assertions</a></li>
@@ -39,7 +39,7 @@ which causes it to remain open as the user clicks on different tests.</p>
39
39
  <!-- Submenu -->
40
40
  <div id="subnav">
41
41
  <ul>
42
- <li><a href="index.html">NUnit 2.5.1</a></li>
42
+ <li><a href="index.html">NUnit 2.5.2</a></li>
43
43
  <ul>
44
44
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
45
45
  <li><a href="assertions.html">Assertions</a></li>
@@ -72,7 +72,7 @@ provided as an argument or null if the method cannot be used.
72
72
  <!-- Submenu -->
73
73
  <div id="subnav">
74
74
  <ul>
75
- <li><a href="index.html">NUnit 2.5.1</a></li>
75
+ <li><a href="index.html">NUnit 2.5.2</a></li>
76
76
  <ul>
77
77
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
78
78
  <li><a href="assertions.html">Assertions</a></li>
@@ -100,7 +100,7 @@ to avoid the overhead of reflecting on the properties.
100
100
  <!-- Submenu -->
101
101
  <div id="subnav">
102
102
  <ul>
103
- <li><a href="index.html">NUnit 2.5.1</a></li>
103
+ <li><a href="index.html">NUnit 2.5.2</a></li>
104
104
  <ul>
105
105
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
106
106
  <li><a href="assertions.html">Assertions</a></li>
data/docs/theory.html CHANGED
@@ -139,7 +139,7 @@ public class SqrtTests
139
139
  <!-- Submenu -->
140
140
  <div id="subnav">
141
141
  <ul>
142
- <li><a href="index.html">NUnit 2.5.1</a></li>
142
+ <li><a href="index.html">NUnit 2.5.2</a></li>
143
143
  <ul>
144
144
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
145
145
  <li><a href="assertions.html">Assertions</a></li>