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.
- data/docs/addinsDialog.html +36 -6
- data/docs/assertions.html +31 -12
- data/docs/attributes.html +59 -36
- data/docs/category.html +32 -9
- data/docs/collectionAssert.html +30 -12
- data/docs/collectionConstraints.html +242 -44
- data/docs/combinatorial.html +130 -0
- data/docs/comparisonAsserts.html +12 -9
- data/docs/comparisonConstraints.html +159 -25
- data/docs/compoundConstraints.html +12 -9
- data/docs/conditionAsserts.html +36 -12
- data/docs/conditionConstraints.html +131 -25
- data/docs/configEditor.html +10 -5
- data/docs/configFiles.html +5 -6
- data/docs/consoleCommandLine.html +51 -24
- data/docs/constraintModel.html +56 -19
- data/docs/contextMenu.html +10 -5
- data/docs/culture.html +32 -9
- data/docs/customConstraints.html +53 -37
- data/docs/datapoint.html +124 -0
- data/docs/datapointProviders.html +105 -0
- data/docs/delayedConstraint.html +98 -0
- data/docs/description.html +32 -9
- data/docs/directoryAssert.html +151 -0
- data/docs/equalConstraint.html +167 -47
- data/docs/equalityAsserts.html +12 -9
- data/docs/eventListeners.html +110 -0
- data/docs/exception.html +61 -36
- data/docs/exceptionAsserts.html +210 -0
- data/docs/explicit.html +32 -9
- data/docs/extensibility.html +8 -8
- data/docs/extensionTips.html +100 -0
- data/docs/fileAssert.html +12 -9
- data/docs/files/TestResult.xml +99 -67
- data/docs/fixtureSetup.html +60 -18
- data/docs/fixtureTeardown.html +56 -17
- data/docs/getStarted.html +9 -4
- data/docs/guiCommandLine.html +10 -5
- data/docs/identityAsserts.html +12 -9
- data/docs/ignore.html +32 -9
- data/docs/img/addinsDialog.JPG +0 -0
- data/docs/img/advancedSettings.jpg +0 -0
- data/docs/img/assembliesTab.jpg +0 -0
- data/docs/img/assemblyReloadSettings.JPG +0 -0
- data/docs/img/configEditor.jpg +0 -0
- data/docs/img/console-mock.jpg +0 -0
- data/docs/img/generalSettings.jpg +0 -0
- data/docs/img/generalTab.jpg +0 -0
- data/docs/img/gui-screenshot.jpg +0 -0
- data/docs/img/gui-verify.jpg +0 -0
- data/docs/img/miniGui.jpg +0 -0
- data/docs/img/testLoadSettings.jpg +0 -0
- data/docs/img/testOutputSettings.jpg +0 -0
- data/docs/img/testProperties.jpg +0 -0
- data/docs/img/testResultSettings.JPG +0 -0
- data/docs/img/textOutputSettings.jpg +0 -0
- data/docs/img/treeDisplaySettings.jpg +0 -0
- data/docs/img/visualStudioSettings.jpg +0 -0
- data/docs/index.html +15 -8
- data/docs/installation.html +33 -75
- data/docs/license.html +9 -4
- data/docs/listMapper.html +12 -9
- data/docs/mainMenu.html +18 -8
- data/docs/maxtime.html +109 -0
- data/docs/multiAssembly.html +5 -6
- data/docs/nunit-console.html +9 -4
- data/docs/nunit-gui.html +32 -15
- data/docs/nunit.css +3 -3
- data/docs/nunitAddins.html +41 -144
- data/docs/pairwise.html +114 -0
- data/docs/parameterizedTests.html +141 -0
- data/docs/pathConstraints.html +162 -0
- data/docs/platform.html +37 -9
- data/docs/pnunit.html +93 -0
- data/docs/projectEditor.html +82 -11
- data/docs/property.html +39 -10
- data/docs/propertyConstraint.html +12 -9
- data/docs/quickStart.html +9 -4
- data/docs/random.html +138 -0
- data/docs/range.html +149 -0
- data/docs/releaseDetail.html +861 -0
- data/docs/releaseNotes.html +457 -1133
- data/docs/repeat.html +104 -0
- data/docs/requiredAddin.html +153 -0
- data/docs/requiresMTA.html +152 -0
- data/docs/requiresSTA.html +153 -0
- data/docs/requiresThread.html +153 -0
- data/docs/sameasConstraint.html +23 -17
- data/docs/samples.html +12 -9
- data/docs/sequential.html +132 -0
- data/docs/setCulture.html +32 -9
- data/docs/{optionsDialog.html → settingsDialog.html} +89 -53
- data/docs/setup.html +61 -16
- data/docs/setupFixture.html +32 -9
- data/docs/stringAssert.html +15 -12
- data/docs/stringConstraints.html +12 -9
- data/docs/suite.html +32 -11
- data/docs/suiteBuilders.html +106 -0
- data/docs/teardown.html +56 -16
- data/docs/test.html +67 -18
- data/docs/testCase.html +168 -0
- data/docs/testCaseSource.html +284 -0
- data/docs/testDecorators.html +117 -0
- data/docs/testFixture.html +228 -16
- data/docs/testProperties.html +10 -5
- data/docs/testcaseBuilders.html +117 -0
- data/docs/testcaseProviders.html +122 -0
- data/docs/theory.html +208 -0
- data/docs/throwsConstraint.html +112 -0
- data/docs/timeout.html +109 -0
- data/docs/typeAsserts.html +47 -14
- data/docs/typeConstraints.html +12 -9
- data/docs/upgrade.html +23 -17
- data/docs/utilityAsserts.html +38 -16
- data/docs/valueSource.html +137 -0
- data/docs/values.html +136 -0
- data/docs/vsSupport.html +5 -6
- data/lib/net-1.1/NUnitTests.config +2 -2
- data/lib/net-1.1/NUnitTests.nunit +8 -11
- data/lib/net-1.1/agent.conf +4 -0
- data/lib/net-1.1/agent.log.conf +18 -0
- data/lib/net-1.1/framework/nunit.framework.dll +0 -0
- data/lib/net-1.1/framework/nunit.framework.xml +9321 -0
- data/lib/net-1.1/framework/nunit.mocks.dll +0 -0
- data/lib/net-1.1/framework/pnunit.framework.dll +0 -0
- data/lib/net-1.1/launcher.log.conf +18 -0
- data/lib/net-1.1/{fit.dll → lib/fit.dll} +0 -0
- data/lib/net-1.1/lib/log4net.dll +0 -0
- data/lib/net-1.1/lib/nunit-console-runner.dll +0 -0
- data/lib/net-1.1/lib/nunit.core.dll +0 -0
- data/lib/net-1.1/lib/nunit.core.interfaces.dll +0 -0
- data/lib/net-1.1/lib/nunit.fixtures.dll +0 -0
- data/lib/net-1.1/lib/nunit.util.dll +0 -0
- data/lib/net-1.1/nunit-agent.exe +0 -0
- data/lib/net-1.1/{nunit.exe.config → nunit-agent.exe.config} +21 -55
- data/lib/net-1.1/nunit-console.exe +0 -0
- data/lib/net-1.1/nunit-console.exe.config +19 -49
- data/lib/net-1.1/nunit.framework.dll +0 -0
- data/lib/net-1.1/pnunit-agent.exe +0 -0
- data/lib/net-1.1/pnunit-agent.exe.config +87 -0
- data/lib/net-1.1/pnunit-launcher.exe +0 -0
- data/lib/net-1.1/pnunit-launcher.exe.config +87 -0
- data/lib/net-1.1/pnunit.framework.dll +0 -0
- data/lib/net-1.1/pnunit.tests.dll +0 -0
- data/lib/net-1.1/runpnunit.bat +2 -0
- data/lib/net-1.1/test.conf +24 -0
- data/lib/net-1.1/{loadtest-assembly.dll → tests/loadtest-assembly.dll} +0 -0
- data/lib/net-1.1/tests/mock-assembly.dll +0 -0
- data/lib/net-1.1/tests/nonamespace-assembly.dll +0 -0
- data/lib/net-1.1/tests/nunit-console.tests.dll +0 -0
- data/lib/net-1.1/tests/nunit.core.tests.dll +0 -0
- data/lib/net-1.1/tests/nunit.fixtures.tests.dll +0 -0
- data/lib/net-1.1/tests/nunit.framework.dll +0 -0
- data/lib/net-1.1/tests/nunit.framework.tests.dll +0 -0
- data/lib/net-1.1/tests/nunit.mocks.tests.dll +0 -0
- data/lib/net-1.1/{nunit.util.tests.dll → tests/nunit.util.tests.dll} +0 -0
- data/lib/net-1.1/tests/test-assembly.dll +0 -0
- data/lib/net-1.1/tests/test-utilities.dll +0 -0
- data/lib/net-1.1/tests/timing-tests.dll +0 -0
- data/lib/net-2.0/NUnitTests.config +2 -2
- data/lib/net-2.0/NUnitTests.nunit +11 -11
- data/lib/net-2.0/agent.conf +4 -0
- data/lib/net-2.0/agent.log.conf +18 -0
- data/lib/net-2.0/framework/nunit.framework.dll +0 -0
- data/lib/net-2.0/framework/nunit.framework.xml +9803 -0
- data/lib/net-2.0/framework/nunit.mocks.dll +0 -0
- data/lib/net-2.0/framework/pnunit.framework.dll +0 -0
- data/lib/net-2.0/launcher.log.conf +18 -0
- data/lib/{net-1.1 → net-2.0/lib}/Failure.jpg +0 -0
- data/lib/net-2.0/{Success.jpg → lib/Gray.jpg} +0 -0
- data/lib/{net-1.1 → net-2.0/lib}/Ignored.jpg +0 -0
- data/lib/{net-1.1 → net-2.0/lib}/Success.jpg +0 -0
- data/lib/net-2.0/{fit.dll → lib/fit.dll} +0 -0
- data/lib/net-2.0/lib/log4net.dll +0 -0
- data/lib/net-2.0/lib/nunit-console-runner.dll +0 -0
- data/lib/net-2.0/lib/nunit-gui-runner.dll +0 -0
- data/lib/net-2.0/lib/nunit.core.dll +0 -0
- data/lib/net-2.0/lib/nunit.core.interfaces.dll +0 -0
- data/lib/net-2.0/lib/nunit.fixtures.dll +0 -0
- data/lib/net-2.0/lib/nunit.uiexception.dll +0 -0
- data/lib/net-2.0/lib/nunit.uikit.dll +0 -0
- data/lib/net-2.0/lib/nunit.util.dll +0 -0
- data/lib/net-2.0/nunit-agent.exe +0 -0
- data/lib/net-2.0/nunit-agent.exe.config +87 -0
- data/lib/net-2.0/nunit-console-x86.exe +0 -0
- data/lib/net-2.0/nunit-console-x86.exe.config +19 -49
- data/lib/net-2.0/nunit-console.exe +0 -0
- data/lib/net-2.0/nunit-console.exe.config +19 -49
- data/lib/net-2.0/nunit-x86.exe +0 -0
- data/lib/net-2.0/nunit-x86.exe.config +48 -74
- data/lib/net-2.0/nunit.exe +0 -0
- data/lib/net-2.0/nunit.exe.config +48 -74
- data/lib/net-2.0/nunit.framework.dll +0 -0
- data/lib/net-2.0/pnunit-agent.exe +0 -0
- data/lib/net-2.0/pnunit-agent.exe.config +87 -0
- data/lib/net-2.0/pnunit-launcher.exe +0 -0
- data/lib/net-2.0/pnunit-launcher.exe.config +87 -0
- data/lib/net-2.0/pnunit.framework.dll +0 -0
- data/lib/net-2.0/pnunit.tests.dll +0 -0
- data/lib/net-2.0/runpnunit.bat +2 -0
- data/lib/net-2.0/test.conf +24 -0
- data/lib/net-2.0/{loadtest-assembly.dll → tests/loadtest-assembly.dll} +0 -0
- data/lib/net-2.0/tests/mock-assembly.dll +0 -0
- data/lib/net-2.0/tests/nonamespace-assembly.dll +0 -0
- data/lib/net-2.0/tests/nunit-console.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit-gui.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit.core.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit.fixtures.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit.framework.dll +0 -0
- data/lib/net-2.0/tests/nunit.framework.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit.mocks.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit.uiexception.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit.uikit.tests.dll +0 -0
- data/lib/net-2.0/{nunit.util.tests.dll → tests/nunit.util.tests.dll} +0 -0
- data/lib/net-2.0/tests/test-assembly.dll +0 -0
- data/lib/net-2.0/tests/test-utilities.dll +0 -0
- data/lib/net-2.0/tests/timing-tests.dll +0 -0
- metadata +131 -74
- data/docs/classicModel.html +0 -92
- data/docs/customAsserts.html +0 -115
- data/docs/features.html +0 -75
- data/docs/files/Thumbs.db +0 -0
- data/docs/platformSupport.html +0 -99
- data/lib/net-1.1/mock-assembly.dll +0 -0
- data/lib/net-1.1/nonamespace-assembly.dll +0 -0
- data/lib/net-1.1/notestfixtures-assembly.dll +0 -0
- data/lib/net-1.1/nunit-console-runner.dll +0 -0
- data/lib/net-1.1/nunit-console.tests.dll +0 -0
- data/lib/net-1.1/nunit-gui-runner.dll +0 -0
- data/lib/net-1.1/nunit-gui.tests.dll +0 -0
- data/lib/net-1.1/nunit.core.dll +0 -0
- data/lib/net-1.1/nunit.core.extensions.dll +0 -0
- data/lib/net-1.1/nunit.core.interfaces.dll +0 -0
- data/lib/net-1.1/nunit.core.tests.dll +0 -0
- data/lib/net-1.1/nunit.exe +0 -0
- data/lib/net-1.1/nunit.extensions.tests.dll +0 -0
- data/lib/net-1.1/nunit.fixtures.dll +0 -0
- data/lib/net-1.1/nunit.fixtures.tests.dll +0 -0
- data/lib/net-1.1/nunit.framework.extensions.dll +0 -0
- data/lib/net-1.1/nunit.framework.tests.dll +0 -0
- data/lib/net-1.1/nunit.framework.xml +0 -5622
- data/lib/net-1.1/nunit.mocks.dll +0 -0
- data/lib/net-1.1/nunit.mocks.tests.dll +0 -0
- data/lib/net-1.1/nunit.uikit.dll +0 -0
- data/lib/net-1.1/nunit.uikit.tests.dll +0 -0
- data/lib/net-1.1/nunit.util.dll +0 -0
- data/lib/net-1.1/test-assembly.dll +0 -0
- data/lib/net-1.1/test-utilities.dll +0 -0
- data/lib/net-1.1/timing-tests.dll +0 -0
- data/lib/net-2.0/Failure.jpg +0 -0
- data/lib/net-2.0/Ignored.jpg +0 -0
- data/lib/net-2.0/mock-assembly.dll +0 -0
- data/lib/net-2.0/nonamespace-assembly.dll +0 -0
- data/lib/net-2.0/notestfixtures-assembly.dll +0 -0
- data/lib/net-2.0/nunit-console-runner.dll +0 -0
- data/lib/net-2.0/nunit-console.tests.dll +0 -0
- data/lib/net-2.0/nunit-gui-runner.dll +0 -0
- data/lib/net-2.0/nunit-gui.tests.dll +0 -0
- data/lib/net-2.0/nunit.core.dll +0 -0
- data/lib/net-2.0/nunit.core.extensions.dll +0 -0
- data/lib/net-2.0/nunit.core.interfaces.dll +0 -0
- data/lib/net-2.0/nunit.core.tests.dll +0 -0
- data/lib/net-2.0/nunit.extensions.tests.dll +0 -0
- data/lib/net-2.0/nunit.fixtures.dll +0 -0
- data/lib/net-2.0/nunit.fixtures.tests.dll +0 -0
- data/lib/net-2.0/nunit.framework.extensions.dll +0 -0
- data/lib/net-2.0/nunit.framework.tests.dll +0 -0
- data/lib/net-2.0/nunit.framework.xml +0 -5622
- data/lib/net-2.0/nunit.mocks.dll +0 -0
- data/lib/net-2.0/nunit.mocks.tests.dll +0 -0
- data/lib/net-2.0/nunit.uikit.dll +0 -0
- data/lib/net-2.0/nunit.uikit.tests.dll +0 -0
- data/lib/net-2.0/nunit.util.dll +0 -0
- data/lib/net-2.0/test-assembly.dll +0 -0
- data/lib/net-2.0/test-utilities.dll +0 -0
- data/lib/net-2.0/timing-tests.dll +0 -0
data/docs/explicit.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
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>
|
@@ -210,33 +210,56 @@ public class SuccessTests
|
|
210
210
|
<!-- Submenu -->
|
211
211
|
<div id="subnav">
|
212
212
|
<ul>
|
213
|
-
<li><a href="index.html">NUnit 2.
|
213
|
+
<li><a href="index.html">NUnit 2.5</a></li>
|
214
214
|
<ul>
|
215
215
|
<li><a href="getStarted.html">Getting Started</a></li>
|
216
216
|
<li><a href="assertions.html">Assertions</a></li>
|
217
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
217
218
|
<li><a href="attributes.html">Attributes</a></li>
|
218
219
|
<ul>
|
219
220
|
<li><a href="category.html">Category</a></li>
|
221
|
+
<li><a href="combinatorial.html">Combinatorial</a></li>
|
220
222
|
<li><a href="culture.html">Culture</a></li>
|
223
|
+
<li><a href="datapoint.html">Datapoint(s)</a></li>
|
221
224
|
<li><a href="description.html">Description</a></li>
|
222
|
-
<li><a href="exception.html">
|
225
|
+
<li><a href="exception.html">Exception</a></li>
|
223
226
|
<li id="current"><a href="explicit.html">Explicit</a></li>
|
224
227
|
<li><a href="ignore.html">Ignore</a></li>
|
228
|
+
<li><a href="maxtime.html">Maxtime</a></li>
|
229
|
+
<li><a href="pairwise.html">Pairwise</a></li>
|
225
230
|
<li><a href="platform.html">Platform</a></li>
|
226
231
|
<li><a href="property.html">Property</a></li>
|
232
|
+
<li><a href="random.html">Random</a></li>
|
233
|
+
<li><a href="range.html">Range</a></li>
|
234
|
+
<li><a href="repeat.html">Repeat</a></li>
|
235
|
+
<li><a href="requiredAddin.html">RequiredAddin</a></li>
|
236
|
+
<li><a href="requiresMTA.html">Requires MTA</a></li>
|
237
|
+
<li><a href="requiresSTA.html">Requires STA</a></li>
|
238
|
+
<li><a href="requiresThread.html">Requires Thread</a></li>
|
239
|
+
<li><a href="sequential.html">Sequential</a></li>
|
227
240
|
<li><a href="setCulture.html">SetCulture</a></li>
|
228
241
|
<li><a href="setup.html">Setup</a></li>
|
229
|
-
<li><a href="setupFixture.html">
|
242
|
+
<li><a href="setupFixture.html">SetupFixture</a></li>
|
230
243
|
<li><a href="suite.html">Suite</a></li>
|
231
244
|
<li><a href="teardown.html">Teardown</a></li>
|
232
245
|
<li><a href="test.html">Test</a></li>
|
233
|
-
<li><a href="
|
234
|
-
<li><a href="
|
235
|
-
<li><a href="
|
246
|
+
<li><a href="testCase.html">TestCase</a></li>
|
247
|
+
<li><a href="testCaseSource.html">TestCaseSource</a></li>
|
248
|
+
<li><a href="testFixture.html">TestFixture</a></li>
|
249
|
+
<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
|
250
|
+
<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
|
251
|
+
<li><a href="theory.html">Theory</a></li>
|
252
|
+
<li><a href="timeout.html">Timeout</a></li>
|
253
|
+
<li><a href="values.html">Values</a></li>
|
254
|
+
<li><a href="valueSource.html">ValueSource</a></li>
|
236
255
|
</ul>
|
237
256
|
<li><a href="nunit-console.html">Console Runner</a></li>
|
238
257
|
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
239
|
-
<li><a href="
|
258
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
259
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
260
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
261
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
262
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
240
263
|
<li><a href="releaseNotes.html">Release Notes</a></li>
|
241
264
|
<li><a href="samples.html">Samples</a></li>
|
242
265
|
<li><a href="license.html">License</a></li>
|
@@ -248,7 +271,7 @@ public class SuccessTests
|
|
248
271
|
|
249
272
|
<!-- Standard Footer for NUnit.org -->
|
250
273
|
<div id="footer">
|
251
|
-
Copyright ©
|
274
|
+
Copyright © 2009 Charlie Poole. All Rights Reserved.
|
252
275
|
</div>
|
253
276
|
<!-- End of Footer -->
|
254
277
|
|
data/docs/extensibility.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
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
|
|
31
31
|
<p>Extensions to the NUnit framework - the part of NUnit that is referenced
|
32
32
|
by tests - usually take the form of
|
33
|
-
<a href="
|
33
|
+
<a href="customConstraints.html">Custom Constaints</a>, written by users to
|
34
34
|
encapsulate tests that pertain to their specific projects.</p>
|
35
35
|
|
36
36
|
<p>Extending the features found within NUnit itself depends on the use of
|
@@ -46,23 +46,23 @@ including the GUI.</p>
|
|
46
46
|
<!-- Submenu -->
|
47
47
|
<div id="subnav">
|
48
48
|
<ul>
|
49
|
-
<li><a href="index.html">NUnit 2.
|
49
|
+
<li><a href="index.html">NUnit 2.5</a></li>
|
50
50
|
<ul>
|
51
51
|
<li><a href="getStarted.html">Getting Started</a></li>
|
52
52
|
<li><a href="assertions.html">Assertions</a></li>
|
53
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
53
54
|
<li><a href="attributes.html">Attributes</a></li>
|
54
55
|
<li><a href="nunit-console.html">Console Runner</a></li>
|
55
56
|
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
56
|
-
<li><a href="features.html">Other Features</a></li>
|
57
|
-
<ul>
|
58
57
|
<li><a href="configFiles.html">Configuration Files</a></li>
|
58
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
59
59
|
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
60
60
|
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
61
61
|
<li id="current"><a href="extensibility.html">Extensibility</a></li>
|
62
62
|
<ul>
|
63
|
-
<li><a href="
|
63
|
+
<li><a href="customConstraints.html">Custom Constraints</a></li>
|
64
64
|
<li><a href="nunitAddins.html">NUnit Addins</a></li>
|
65
|
-
</
|
65
|
+
<li><a href="extensionTips.html">Tips for Extenders</a></li>
|
66
66
|
</ul>
|
67
67
|
<li><a href="releaseNotes.html">Release Notes</a></li>
|
68
68
|
<li><a href="samples.html">Samples</a></li>
|
@@ -75,7 +75,7 @@ including the GUI.</p>
|
|
75
75
|
|
76
76
|
<!-- Standard Footer for NUnit.org -->
|
77
77
|
<div id="footer">
|
78
|
-
Copyright ©
|
78
|
+
Copyright © 2009 Charlie Poole. All Rights Reserved.
|
79
79
|
</div>
|
80
80
|
<!-- End of Footer -->
|
81
81
|
|
@@ -0,0 +1,100 @@
|
|
1
|
+
<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
2
|
+
<html>
|
3
|
+
<!-- Standard Head Part -->
|
4
|
+
<head>
|
5
|
+
<title>NUnit - ExtensionTips</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
|
+
<h3>Tips for Writing Extensions</h3>
|
28
|
+
|
29
|
+
<p>An Extenders Guide will be published in the future. At the moment, writing an
|
30
|
+
extension is a bit of an adventure. Extension authors are advised to join the
|
31
|
+
nunit-developer list and post questions and comments there.
|
32
|
+
|
33
|
+
<p>For the moment, the following tips may be of assistance.
|
34
|
+
<ul>
|
35
|
+
<li>The <b>nunit.core.interfaces</b> assembly is intended to be stable in the future
|
36
|
+
while the <b>nunit.core</b> assembly will change from release to release. Right now,
|
37
|
+
both assemblies are still in flux, but extensions that depend solely on the interfaces
|
38
|
+
assembly will have a much better chance of surviving NUnit version changes. Unfortunately,
|
39
|
+
this is rather difficult to do without duplicating a great deal of NUnit code. Most
|
40
|
+
of the add-in samples provided with NUnit are currently version dependent.
|
41
|
+
|
42
|
+
<li>If you place the definition of a custom attribute in the same assembly as your
|
43
|
+
add-in, then user tests are dependent on the add-in assembly. If the add-in is
|
44
|
+
version-dependent, then the user tests will also be version-dependent. We suggest
|
45
|
+
placing any types referenced by user tests in a separate assembly, particularly if
|
46
|
+
your extension relies on nunit.core.
|
47
|
+
|
48
|
+
<li>If using Visual Studio, set Copy Local to false for any references to nunit.core
|
49
|
+
or nunit.core.interfaces. This is especially important if you are also building
|
50
|
+
NUnit itself.
|
51
|
+
|
52
|
+
<li>There is currently no mechanism to allow decorators to apply in a particular order.
|
53
|
+
NUnit applies decorators in the order in which they are returned through reflection,
|
54
|
+
which may vary among different runtimes.
|
55
|
+
|
56
|
+
<li>Avoid trying to "stretch" the existing extension points to do more than they were
|
57
|
+
intended to do. Rather, let us know what further extension points you would like to see!
|
58
|
+
</ul>
|
59
|
+
|
60
|
+
|
61
|
+
</div>
|
62
|
+
|
63
|
+
<!-- Submenu -->
|
64
|
+
<div id="subnav">
|
65
|
+
<ul>
|
66
|
+
<li><a href="index.html">NUnit 2.5</a></li>
|
67
|
+
<ul>
|
68
|
+
<li><a href="getStarted.html">Getting Started</a></li>
|
69
|
+
<li><a href="assertions.html">Assertions</a></li>
|
70
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
71
|
+
<li><a href="attributes.html">Attributes</a></li>
|
72
|
+
<li><a href="nunit-console.html">Console Runner</a></li>
|
73
|
+
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
74
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
75
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
76
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
77
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
78
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
79
|
+
<ul>
|
80
|
+
<li><a href="customConstraints.html">Custom Constraints</a></li>
|
81
|
+
<li><a href="nunitAddins.html">NUnit Addins</a></li>
|
82
|
+
<li id="current"><a href="extensionTips.html">Tips for Extenders</a></li>
|
83
|
+
</ul>
|
84
|
+
<li><a href="releaseNotes.html">Release Notes</a></li>
|
85
|
+
<li><a href="samples.html">Samples</a></li>
|
86
|
+
<li><a href="license.html">License</a></li>
|
87
|
+
</ul>
|
88
|
+
</ul>
|
89
|
+
</div>
|
90
|
+
<!-- End of Submenu -->
|
91
|
+
|
92
|
+
|
93
|
+
<!-- Standard Footer for NUnit.org -->
|
94
|
+
<div id="footer">
|
95
|
+
Copyright © 2009 Charlie Poole. All Rights Reserved.
|
96
|
+
</div>
|
97
|
+
<!-- End of Footer -->
|
98
|
+
|
99
|
+
</body>
|
100
|
+
</html>
|
data/docs/fileAssert.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
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>
|
@@ -72,29 +72,32 @@ FileAssert.AreNotEqual( string expected, string actual,
|
|
72
72
|
<!-- Submenu -->
|
73
73
|
<div id="subnav">
|
74
74
|
<ul>
|
75
|
-
<li><a href="index.html">NUnit 2.
|
75
|
+
<li><a href="index.html">NUnit 2.5</a></li>
|
76
76
|
<ul>
|
77
77
|
<li><a href="getStarted.html">Getting Started</a></li>
|
78
78
|
<li><a href="assertions.html">Assertions</a></li>
|
79
79
|
<ul>
|
80
|
-
<li><a href="classicModel.html">Classic Model</a></li>
|
81
|
-
<ul>
|
82
80
|
<li><a href="equalityAsserts.html">Equality Asserts</a></li>
|
83
81
|
<li><a href="identityAsserts.html">Identity Asserts</a></li>
|
84
|
-
<li><a href="conditionAsserts.html">Condition
|
82
|
+
<li><a href="conditionAsserts.html">Condition Asserts</a></li>
|
85
83
|
<li><a href="comparisonAsserts.html">Comparison Asserts</a></li>
|
86
84
|
<li><a href="typeAsserts.html">Type Asserts</a></li>
|
85
|
+
<li><a href="exceptionAsserts.html">Exception Asserts</a></li>
|
87
86
|
<li><a href="utilityAsserts.html">Utility Methods</a></li>
|
88
87
|
<li><a href="stringAssert.html">String Assert</a></li>
|
89
88
|
<li><a href="collectionAssert.html">Collection Assert</a></li>
|
90
89
|
<li id="current"><a href="fileAssert.html">File Assert</a></li>
|
90
|
+
<li><a href="directoryAssert.html">Directory Assert</a></li>
|
91
91
|
</ul>
|
92
|
-
<li><a href="constraintModel.html">
|
93
|
-
</ul>
|
92
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
94
93
|
<li><a href="attributes.html">Attributes</a></li>
|
95
94
|
<li><a href="nunit-console.html">Console Runner</a></li>
|
96
95
|
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
97
|
-
<li><a href="
|
96
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
97
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
98
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
99
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
100
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
98
101
|
<li><a href="releaseNotes.html">Release Notes</a></li>
|
99
102
|
<li><a href="samples.html">Samples</a></li>
|
100
103
|
<li><a href="license.html">License</a></li>
|
@@ -106,7 +109,7 @@ FileAssert.AreNotEqual( string expected, string actual,
|
|
106
109
|
|
107
110
|
<!-- Standard Footer for NUnit.org -->
|
108
111
|
<div id="footer">
|
109
|
-
Copyright ©
|
112
|
+
Copyright © 2009 Charlie Poole. All Rights Reserved.
|
110
113
|
</div>
|
111
114
|
<!-- End of Footer -->
|
112
115
|
|
data/docs/files/TestResult.xml
CHANGED
@@ -1,95 +1,127 @@
|
|
1
1
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2
2
|
<!--This file represents the results of running a test suite-->
|
3
|
-
<test-results name="
|
4
|
-
<environment nunit-version="2.
|
3
|
+
<test-results name="tests\mock-assembly.dll" total="8" errors="1" failures="1" not-run="7" ignored="4" skipped="0" invalid="3" date="2008-11-22" time="20:17:48">
|
4
|
+
<environment nunit-version="2.5.0.8327" clr-version="2.0.50727.1433" os-version="Microsoft Windows NT 5.1.2600 Service Pack 2" platform="Win32NT" cwd="C:\Program Files\NUnit 2.5\bin\net-2.0" machine-name="FERRARI" user="Charlie" user-domain="FERRARI" />
|
5
5
|
<culture-info current-culture="en-US" current-uiculture="en-US" />
|
6
|
-
<test-suite name="
|
6
|
+
<test-suite name="tests\mock-assembly.dll" executed="True" success="False" time="0.125" asserts="0">
|
7
7
|
<results>
|
8
|
-
<test-suite name="
|
8
|
+
<test-suite name="NUnit" executed="True" success="False" time="0.109" asserts="0">
|
9
9
|
<results>
|
10
|
-
<test-suite name="
|
10
|
+
<test-suite name="Tests" executed="True" success="False" time="0.109" asserts="0">
|
11
11
|
<results>
|
12
|
-
<test-suite name="
|
12
|
+
<test-suite name="Assemblies" executed="True" success="False" time="0.109" asserts="0">
|
13
13
|
<results>
|
14
|
-
<test-suite name="
|
14
|
+
<test-suite name="MockTestFixture" description="Fake Test Fixture" executed="True" success="False" time="0.109" asserts="0">
|
15
|
+
<categories>
|
16
|
+
<category name="FixtureCategory" />
|
17
|
+
</categories>
|
15
18
|
<results>
|
16
|
-
<test-
|
19
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.FailingTest" executed="True" success="False" time="0.047" asserts="0">
|
20
|
+
<failure>
|
21
|
+
<message><![CDATA[Intentional failure]]></message>
|
22
|
+
<stack-trace><![CDATA[at NUnit.Tests.Assemblies.MockTestFixture.FailingTest()
|
23
|
+
]]></stack-trace>
|
24
|
+
</failure>
|
25
|
+
</test-case>
|
26
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest1" description="Mock Test #1" executed="True" success="True" time="0.000" asserts="0" />
|
27
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest2" executed="True" success="True" time="0.000" asserts="0">
|
17
28
|
<categories>
|
18
|
-
<category name="
|
29
|
+
<category name="MockCategory" />
|
30
|
+
</categories>
|
31
|
+
<properties>
|
32
|
+
<property name="Severity" value="Critical" />
|
33
|
+
</properties>
|
34
|
+
</test-case>
|
35
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest3" executed="True" success="True" time="0.000" asserts="0">
|
36
|
+
<categories>
|
37
|
+
<category name="AnotherCategory" />
|
38
|
+
<category name="MockCategory" />
|
39
|
+
</categories>
|
40
|
+
</test-case>
|
41
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest4" executed="False">
|
42
|
+
<categories>
|
43
|
+
<category name="Foo" />
|
19
44
|
</categories>
|
20
|
-
<results>
|
21
|
-
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.ExplicitlyRunTest" executed="False">
|
22
|
-
<categories>
|
23
|
-
<category name="Special" />
|
24
|
-
</categories>
|
25
|
-
<reason>
|
26
|
-
<message><![CDATA[Explicit selection required]]></message>
|
27
|
-
</reason>
|
28
|
-
</test-case>
|
29
|
-
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest1" description="Mock Test #1" executed="True" success="True" time="0.000" asserts="0" />
|
30
|
-
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest2" executed="True" success="True" time="0.000" asserts="0">
|
31
|
-
<categories>
|
32
|
-
<category name="MockCategory" />
|
33
|
-
</categories>
|
34
|
-
</test-case>
|
35
|
-
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest3" executed="True" success="True" time="0.000" asserts="0">
|
36
|
-
<categories>
|
37
|
-
<category name="MockCategory" />
|
38
|
-
<category name="AnotherCategory" />
|
39
|
-
</categories>
|
40
|
-
</test-case>
|
41
|
-
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest4" executed="False">
|
42
|
-
<categories>
|
43
|
-
<category name="Foo" />
|
44
|
-
</categories>
|
45
|
-
<reason>
|
46
|
-
<message><![CDATA[ignoring this test method for now]]></message>
|
47
|
-
</reason>
|
48
|
-
</test-case>
|
49
|
-
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest5" executed="False">
|
50
|
-
<reason>
|
51
|
-
<message><![CDATA[Method MockTest5's signature is not correct: it must be a public method.]]></message>
|
52
|
-
</reason>
|
53
|
-
</test-case>
|
54
|
-
</results>
|
55
|
-
</test-suite>
|
56
|
-
</results>
|
57
|
-
</test-suite>
|
58
|
-
<test-suite name="NUnit.Tests.IgnoredFixture" success="True" time="0.000" asserts="0">
|
59
|
-
<results>
|
60
|
-
<test-case name="NUnit.Tests.IgnoredFixture.Test1" executed="False">
|
61
45
|
<reason>
|
62
|
-
<message><![CDATA[]]></message>
|
46
|
+
<message><![CDATA[ignoring this test method for now]]></message>
|
63
47
|
</reason>
|
64
48
|
</test-case>
|
65
|
-
<test-case name="NUnit.Tests.
|
49
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest5" executed="False">
|
66
50
|
<reason>
|
67
|
-
<message><![CDATA[]]></message>
|
51
|
+
<message><![CDATA[Method is not public]]></message>
|
68
52
|
</reason>
|
69
53
|
</test-case>
|
70
|
-
<test-case name="NUnit.Tests.
|
54
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.NotRunnableTest" executed="False">
|
71
55
|
<reason>
|
72
|
-
<message><![CDATA[]]></message>
|
56
|
+
<message><![CDATA[No arguments provided]]></message>
|
73
57
|
</reason>
|
74
58
|
</test-case>
|
59
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.TestWithException" executed="True" success="False" time="0.000" asserts="0">
|
60
|
+
<failure>
|
61
|
+
<message><![CDATA[System.ApplicationException : Intentional Exception]]></message>
|
62
|
+
<stack-trace><![CDATA[at NUnit.Tests.Assemblies.MockTestFixture.MethodThrowsException()
|
63
|
+
at NUnit.Tests.Assemblies.MockTestFixture.TestWithException()
|
64
|
+
]]></stack-trace>
|
65
|
+
</failure>
|
66
|
+
</test-case>
|
67
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.TestWithManyProperties" executed="True" success="True" time="0.000" asserts="0">
|
68
|
+
<properties>
|
69
|
+
<property name="Size" value="5" />
|
70
|
+
<property name="TargetMethod" value="SomeClassName" />
|
71
|
+
</properties>
|
72
|
+
</test-case>
|
75
73
|
</results>
|
76
74
|
</test-suite>
|
77
|
-
|
75
|
+
</results>
|
76
|
+
</test-suite>
|
77
|
+
<test-suite name="BadFixture" executed="False">
|
78
|
+
<reason>
|
79
|
+
<message><![CDATA[No suitable constructor was found]]></message>
|
80
|
+
</reason>
|
81
|
+
<results>
|
82
|
+
<test-case name="NUnit.Tests.BadFixture.SomeTest" executed="False">
|
83
|
+
<reason>
|
84
|
+
<message><![CDATA[No suitable constructor was found]]></message>
|
85
|
+
</reason>
|
86
|
+
</test-case>
|
87
|
+
</results>
|
88
|
+
</test-suite>
|
89
|
+
<test-suite name="IgnoredFixture" executed="False">
|
90
|
+
<reason>
|
91
|
+
<message><![CDATA[]]></message>
|
92
|
+
</reason>
|
93
|
+
<results>
|
94
|
+
<test-case name="NUnit.Tests.IgnoredFixture.Test1" executed="False">
|
95
|
+
<reason>
|
96
|
+
<message><![CDATA[]]></message>
|
97
|
+
</reason>
|
98
|
+
</test-case>
|
99
|
+
<test-case name="NUnit.Tests.IgnoredFixture.Test2" executed="False">
|
100
|
+
<reason>
|
101
|
+
<message><![CDATA[]]></message>
|
102
|
+
</reason>
|
103
|
+
</test-case>
|
104
|
+
<test-case name="NUnit.Tests.IgnoredFixture.Test3" executed="False">
|
105
|
+
<reason>
|
106
|
+
<message><![CDATA[]]></message>
|
107
|
+
</reason>
|
108
|
+
</test-case>
|
109
|
+
</results>
|
110
|
+
</test-suite>
|
111
|
+
<test-suite name="Singletons" executed="True" success="True" time="0.000" asserts="0">
|
112
|
+
<results>
|
113
|
+
<test-suite name="OneTestCase" executed="True" success="True" time="0.000" asserts="0">
|
78
114
|
<results>
|
79
|
-
<test-
|
80
|
-
<results>
|
81
|
-
<test-case name="NUnit.Tests.Singletons.OneTestCase.TestCase" executed="True" success="True" time="0.000" asserts="0" />
|
82
|
-
</results>
|
83
|
-
</test-suite>
|
115
|
+
<test-case name="NUnit.Tests.Singletons.OneTestCase.TestCase" executed="True" success="True" time="0.000" asserts="0" />
|
84
116
|
</results>
|
85
117
|
</test-suite>
|
86
|
-
|
118
|
+
</results>
|
119
|
+
</test-suite>
|
120
|
+
<test-suite name="TestAssembly" executed="True" success="True" time="0.000" asserts="0">
|
121
|
+
<results>
|
122
|
+
<test-suite name="MockTestFixture" executed="True" success="True" time="0.000" asserts="0">
|
87
123
|
<results>
|
88
|
-
<test-
|
89
|
-
<results>
|
90
|
-
<test-case name="NUnit.Tests.TestAssembly.MockTestFixture.MyTest" executed="True" success="True" time="0.000" asserts="0" />
|
91
|
-
</results>
|
92
|
-
</test-suite>
|
124
|
+
<test-case name="NUnit.Tests.TestAssembly.MockTestFixture.MyTest" executed="True" success="True" time="0.000" asserts="0" />
|
93
125
|
</results>
|
94
126
|
</test-suite>
|
95
127
|
</results>
|