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/img/addinsDialog.JPG
CHANGED
Binary file
|
Binary file
|
data/docs/img/assembliesTab.jpg
CHANGED
Binary file
|
Binary file
|
data/docs/img/configEditor.jpg
CHANGED
Binary file
|
data/docs/img/console-mock.jpg
CHANGED
Binary file
|
Binary file
|
data/docs/img/generalTab.jpg
CHANGED
Binary file
|
data/docs/img/gui-screenshot.jpg
CHANGED
Binary file
|
data/docs/img/gui-verify.jpg
CHANGED
Binary file
|
data/docs/img/miniGui.jpg
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/docs/img/testProperties.jpg
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/docs/index.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>
|
@@ -24,11 +24,13 @@
|
|
24
24
|
|
25
25
|
<div id="content">
|
26
26
|
|
27
|
-
<h2>NUnit 2.
|
27
|
+
<h2>NUnit 2.5</h2>
|
28
28
|
|
29
|
-
<p>This documentation covers the NUnit 2.
|
30
|
-
|
31
|
-
|
29
|
+
<p>This documentation covers the NUnit 2.5 release,
|
30
|
+
introducing a large set of new features to NUnit, particularly in
|
31
|
+
the area of parameterized or data-driven testing.
|
32
|
+
|
33
|
+
<p>Where applicable, we have marked sections with the version in which a feature
|
32
34
|
first appeared.</p>
|
33
35
|
|
34
36
|
<p>If you are new to NUnit, we suggest you begin by reading the
|
@@ -48,14 +50,19 @@ separately.</p>
|
|
48
50
|
<!-- Submenu -->
|
49
51
|
<div id="subnav">
|
50
52
|
<ul>
|
51
|
-
<li id="current"><a href="index.html">NUnit 2.
|
53
|
+
<li id="current"><a href="index.html">NUnit 2.5</a></li>
|
52
54
|
<ul>
|
53
55
|
<li><a href="getStarted.html">Getting Started</a></li>
|
54
56
|
<li><a href="assertions.html">Assertions</a></li>
|
57
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
55
58
|
<li><a href="attributes.html">Attributes</a></li>
|
56
59
|
<li><a href="nunit-console.html">Console Runner</a></li>
|
57
60
|
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
58
|
-
<li><a href="
|
61
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
62
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
63
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
64
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
65
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
59
66
|
<li><a href="releaseNotes.html">Release Notes</a></li>
|
60
67
|
<li><a href="samples.html">Samples</a></li>
|
61
68
|
<li><a href="license.html">License</a></li>
|
@@ -67,7 +74,7 @@ separately.</p>
|
|
67
74
|
|
68
75
|
<!-- Standard Footer for NUnit.org -->
|
69
76
|
<div id="footer">
|
70
|
-
Copyright ©
|
77
|
+
Copyright © 2009 Charlie Poole. All Rights Reserved.
|
71
78
|
</div>
|
72
79
|
<!-- End of Footer -->
|
73
80
|
|
data/docs/installation.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>
|
@@ -26,26 +26,26 @@
|
|
26
26
|
|
27
27
|
<h2>Installation</h2>
|
28
28
|
<p>By default the <b>NUnit</b> installation program places all of the files into the
|
29
|
-
<b>C:\Program Files\NUnit 2.
|
30
|
-
there are
|
29
|
+
<b>C:\Program Files\NUnit 2.5</b> directory.
|
30
|
+
In the installation directory there are up to four sub-directories: net-1.1,
|
31
|
+
net-2.0, doc, and samples. The actual number depends on what the user has
|
32
|
+
chosen to install. Source code is no
|
31
33
|
longer provided with the binary installation package. Download the source
|
32
34
|
package if source is needed.
|
33
35
|
<h3>Running NUnit</h3>
|
34
|
-
<p>The installation program places a number of
|
35
|
-
|
36
|
-
|
37
|
-
|
36
|
+
<p>The installation program places a number of shortcuts in the start menu, which
|
37
|
+
run NUnit under .NET or Mono, depending on what is installed on your system.
|
38
|
+
For NUnit 2.5, the gui only runs under version 2.0 of the CLR, although tests
|
39
|
+
may be executed under other versions using a separate process.
|
40
|
+
|
38
41
|
<h3>Configuration</h3>
|
39
42
|
<p>When running NUnit from the command line or through the desktop shortcut, the
|
40
43
|
configuration files files nunit.exe.config and nunit-console.exe.config control
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
<p>Settings that you place in these files are not available to your tests or to the
|
47
|
-
production code you are testing. A separate config file is used when running
|
48
|
-
tests. If you are running tests from the test.dll assembly, the config file
|
44
|
+
the operation of NUnit itself.
|
45
|
+
Settings that you place in these files are not available to your tests or to the
|
46
|
+
production code you are testing.
|
47
|
+
<p>A separate config file is used for your tests themselves.
|
48
|
+
If you are running tests from the test.dll assembly, the config file
|
49
49
|
should be named test.dll.config. If you are running tests from the NUnit test
|
50
50
|
project MyTests.nunit, the config file should be named MyTests.config. In
|
51
51
|
either case the config file must reside in the same directory as the file from
|
@@ -53,11 +53,13 @@
|
|
53
53
|
<p>In addition to settings of your own, the config file for a set of tests may
|
54
54
|
contain information used by NUnit in loading your tests. In particular, this
|
55
55
|
allows you to control the apartment state and priority of the thread that NUnit
|
56
|
-
uses to run your tests. Other settings may be added in the future
|
57
|
-
|
56
|
+
uses to run your tests. Other settings may be added in the future.</p>
|
57
|
+
<p>See the <a href="configFiles.html">Configuration Files</a>
|
58
|
+
page for further information on configuration.</p>
|
59
|
+
|
58
60
|
<h3>Installation Verification</h3>
|
59
61
|
<p>Verify that the installation has worked successfully by running the NUnit gui and
|
60
|
-
loading and running NUnitTests.nunit
|
62
|
+
loading and running NUnitTests.nunit. All tests should pass.
|
61
63
|
<div class="screenshot-left">
|
62
64
|
<img src="img/gui-verify.jpg"></div>
|
63
65
|
<p>
|
@@ -76,69 +78,20 @@ loading and running NUnitTests.nunit in the bin directory. All tests should pass
|
|
76
78
|
<p>Additional tests are included with the samples and in separate assemblies used
|
77
79
|
as data by the verification tests themselves. Failures or not run conditions in
|
78
80
|
these tests are intentional.</p>
|
79
|
-
<h3>Manual Installation</h3>
|
80
|
-
<p>If you are building NUnit from source, it is recommended that you use the
|
81
|
-
NAnt script for your final build, since it puts all the required files
|
82
|
-
into one directory, from which you can easily copy them. Perform a manual
|
83
|
-
installation by following these steps:</p>
|
84
|
-
<ol>
|
85
|
-
<p><li>Copy the following files to the target directory:
|
86
|
-
<ul>
|
87
|
-
<li>nunit.framework.dll</li>
|
88
|
-
<li>nunit.framework.extensions.dll</li>
|
89
|
-
<li>nunit.core.dll</li>
|
90
|
-
<li>nunit.core.interfaces.dll</li>
|
91
|
-
<li>nunit.core.extensions.dll</li>
|
92
|
-
<li>nunit.mocks.dll</li>
|
93
|
-
<li>nunit.uikit.dll</li>
|
94
|
-
<li>nunit.util.dll</li>
|
95
|
-
<li>nunit-console-runner.dll</li>
|
96
|
-
<li>nunit-console.exe</li>
|
97
|
-
<li>nunit-console.exe.config</li>
|
98
|
-
<li>nunit-gui-runner.dll</li>
|
99
|
-
<li>nunit.exe</li>
|
100
|
-
<li>nunit.exe.config</li>
|
101
|
-
</ul>
|
102
|
-
</li>
|
103
|
-
<p><li>Create shortcuts as needed.</li>
|
104
|
-
<p><li>If you want to be able to run the nunit tests, copy the following files to the
|
105
|
-
same location as the others, along with any additional config files
|
106
|
-
for the dlls.
|
107
|
-
<ul>
|
108
|
-
<li>mock-assembly.dll</li>
|
109
|
-
<li>nonamespace-assembly.dll</li>
|
110
|
-
<li>notestfixtures-assembly.dll</li>
|
111
|
-
<li>nunit.core.tests.dll</li>
|
112
|
-
<li>nunit.extensions.tests.dll</li>
|
113
|
-
<li>nunit.framework.tests.dll</li>
|
114
|
-
<li>nunit.mocks.tests.dll</li>
|
115
|
-
<li>nunit.uikit.tests.dll</li>
|
116
|
-
<li>nunit.util.tests.dll</li>
|
117
|
-
<li>nunit-console.tests.dll</li>
|
118
|
-
<li>nunit-gui.tests.dll</li>
|
119
|
-
<li>nunit.testutilities.dll</li>
|
120
|
-
<li>test-assembly.dll</li>
|
121
|
-
<li>timing-tests.dll</li>
|
122
|
-
<li>NunitTests.nunit</li>
|
123
|
-
<li>NUnitTests.config</li>
|
124
|
-
</ul>
|
125
|
-
</li>
|
126
|
-
</ol>
|
127
81
|
|
128
|
-
<
|
82
|
+
<h3>Manual Installation</h3>
|
129
83
|
|
130
|
-
<p>
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
the pre-installed version from the GAC in order for the new version to be recognized.</p>
|
84
|
+
<p>You may build NUnit from source using one of the Visual Studio solutions or
|
85
|
+
the NAnt script. In either case, an output directory is created, which
|
86
|
+
contains all files needed in the proper relative location. Just copy this
|
87
|
+
directory to a permanent location and create shortcuts if desired.
|
135
88
|
|
136
89
|
</div>
|
137
90
|
|
138
91
|
<!-- Submenu -->
|
139
92
|
<div id="subnav">
|
140
93
|
<ul>
|
141
|
-
<li><a href="index.html">NUnit 2.
|
94
|
+
<li><a href="index.html">NUnit 2.5</a></li>
|
142
95
|
<ul>
|
143
96
|
<li><a href="getStarted.html">Getting Started</a></li>
|
144
97
|
<ul>
|
@@ -149,10 +102,15 @@ loading and running NUnitTests.nunit in the bin directory. All tests should pass
|
|
149
102
|
</ul>
|
150
103
|
</ul>
|
151
104
|
<li><a href="assertions.html">Assertions</a></li>
|
105
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
152
106
|
<li><a href="attributes.html">Attributes</a></li>
|
153
107
|
<li><a href="nunit-console.html">Console Runner</a></li>
|
154
108
|
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
155
|
-
<li><a href="
|
109
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
110
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
111
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
112
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
113
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
156
114
|
<li><a href="releaseNotes.html">Release Notes</a></li>
|
157
115
|
<li><a href="samples.html">Samples</a></li>
|
158
116
|
<li><a href="license.html">License</a></li>
|
@@ -164,7 +122,7 @@ loading and running NUnitTests.nunit in the bin directory. All tests should pass
|
|
164
122
|
|
165
123
|
<!-- Standard Footer for NUnit.org -->
|
166
124
|
<div id="footer">
|
167
|
-
Copyright ©
|
125
|
+
Copyright © 2009 Charlie Poole. All Rights Reserved.
|
168
126
|
</div>
|
169
127
|
<!-- End of Footer -->
|
170
128
|
|
data/docs/license.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>
|
@@ -61,14 +61,19 @@ us know</a>.</p>
|
|
61
61
|
<!-- Submenu -->
|
62
62
|
<div id="subnav">
|
63
63
|
<ul>
|
64
|
-
<li><a href="index.html">NUnit 2.
|
64
|
+
<li><a href="index.html">NUnit 2.5</a></li>
|
65
65
|
<ul>
|
66
66
|
<li><a href="getStarted.html">Getting Started</a></li>
|
67
67
|
<li><a href="assertions.html">Assertions</a></li>
|
68
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
68
69
|
<li><a href="attributes.html">Attributes</a></li>
|
69
70
|
<li><a href="nunit-console.html">Console Runner</a></li>
|
70
71
|
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
71
|
-
<li><a href="
|
72
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
73
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
74
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
75
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
76
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
72
77
|
<li><a href="releaseNotes.html">Release Notes</a></li>
|
73
78
|
<li><a href="samples.html">Samples</a></li>
|
74
79
|
<li id="current"><a href="license.html">License</a></li>
|
@@ -80,7 +85,7 @@ us know</a>.</p>
|
|
80
85
|
|
81
86
|
<!-- Standard Footer for NUnit.org -->
|
82
87
|
<div id="footer">
|
83
|
-
Copyright ©
|
88
|
+
Copyright © 2009 Charlie Poole. All Rights Reserved.
|
84
89
|
</div>
|
85
90
|
<!-- End of Footer -->
|
86
91
|
|
data/docs/listMapper.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>
|
@@ -56,31 +56,34 @@ Expect(Map(strings).Property("Length"), EqualTo(lengths));
|
|
56
56
|
<!-- Submenu -->
|
57
57
|
<div id="subnav">
|
58
58
|
<ul>
|
59
|
-
<li><a href="index.html">NUnit 2.
|
59
|
+
<li><a href="index.html">NUnit 2.5</a></li>
|
60
60
|
<ul>
|
61
61
|
<li><a href="getStarted.html">Getting Started</a></li>
|
62
62
|
<li><a href="assertions.html">Assertions</a></li>
|
63
|
-
<
|
64
|
-
<li><a href="classicModel.html">Classic Model</a></li>
|
65
|
-
<li><a href="constraintModel.html">Constraint Model</a></li>
|
63
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
66
64
|
<ul>
|
67
65
|
<li><a href="equalConstraint.html">Equal Constraint</a></li>
|
68
66
|
<li><a href="sameasConstraint.html">SameAs Constraint</a></li>
|
69
67
|
<li><a href="conditionConstraints.html">Condition Constraints</a></li>
|
70
68
|
<li><a href="comparisonConstraints.html">Comparison Constrants</a></li>
|
69
|
+
<li><a href="pathConstraints.html">Path Constraints</a></li>
|
71
70
|
<li><a href="typeConstraints.html">Type Constraints</a></li>
|
72
71
|
<li><a href="stringConstraints.html">String Constraints</a></li>
|
73
72
|
<li><a href="collectionConstraints.html">Collection Constraints</a></li>
|
74
73
|
<li><a href="propertyConstraint.html">Property Constraint</a></li>
|
74
|
+
<li><a href="throwsConstraint.html">Throws Constraint</a></li>
|
75
75
|
<li><a href="compoundConstraints.html">Compound Constraints</a></li>
|
76
|
-
<li><a href="
|
76
|
+
<li><a href="delayedConstraint.html">Delayed Constraint</a></li>
|
77
77
|
<li id="current"><a href="listMapper.html">List Mapper</a></li>
|
78
78
|
</ul>
|
79
|
-
</ul>
|
80
79
|
<li><a href="attributes.html">Attributes</a></li>
|
81
80
|
<li><a href="nunit-console.html">Console Runner</a></li>
|
82
81
|
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
83
|
-
<li><a href="
|
82
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
83
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
84
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
85
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
86
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
84
87
|
<li><a href="releaseNotes.html">Release Notes</a></li>
|
85
88
|
<li><a href="samples.html">Samples</a></li>
|
86
89
|
<li><a href="license.html">License</a></li>
|
@@ -92,7 +95,7 @@ Expect(Map(strings).Property("Length"), EqualTo(lengths));
|
|
92
95
|
|
93
96
|
<!-- Standard Footer for NUnit.org -->
|
94
97
|
<div id="footer">
|
95
|
-
Copyright ©
|
98
|
+
Copyright © 2009 Charlie Poole. All Rights Reserved.
|
96
99
|
</div>
|
97
100
|
<!-- End of Footer -->
|
98
101
|
|
data/docs/mainMenu.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>
|
@@ -55,10 +55,15 @@ should be saved.</p>
|
|
55
55
|
<h4>Reload Tests</h4>
|
56
56
|
<p>Reloads the tests, merging any changes into the tree.</p>
|
57
57
|
|
58
|
+
<h4>Select Runtime</h4>
|
59
|
+
<p>Displays a list of runtime versions you may select in order to reload
|
60
|
+
the tests using that runtime. This submenu is only present if you have
|
61
|
+
more than one runtime version available. Any framework versions not supported
|
62
|
+
by your NUnit installation will be disabled until you install the
|
63
|
+
necessary NUnit components.
|
64
|
+
|
58
65
|
<h4>Recent Files�</h4>
|
59
|
-
<p>Displays a list of recently opened files from which the user is able to select one for opening
|
60
|
-
If you are running under a CLR version prior to 2.0, files that were last opened under 2.0 will not
|
61
|
-
appear.</p>
|
66
|
+
<p>Displays a list of recently opened files from which the user is able to select one for opening.</p>
|
62
67
|
|
63
68
|
<h4>Exit</h4>
|
64
69
|
<p>Closes and exits the application. If a test is running, the user is given the opportunity to
|
@@ -223,10 +228,11 @@ connect to the NUnit web site.</p>
|
|
223
228
|
<!-- Submenu -->
|
224
229
|
<div id="subnav">
|
225
230
|
<ul>
|
226
|
-
<li><a href="index.html">NUnit 2.
|
231
|
+
<li><a href="index.html">NUnit 2.5</a></li>
|
227
232
|
<ul>
|
228
233
|
<li><a href="getStarted.html">Getting Started</a></li>
|
229
234
|
<li><a href="assertions.html">Assertions</a></li>
|
235
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
230
236
|
<li><a href="attributes.html">Attributes</a></li>
|
231
237
|
<li><a href="nunit-console.html">Console Runner</a></li>
|
232
238
|
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
@@ -234,13 +240,17 @@ connect to the NUnit web site.</p>
|
|
234
240
|
<li><a href="guiCommandLine.html">Command-Line</a></li>
|
235
241
|
<li id="current"><a href="mainMenu.html">Main Menu</a></li>
|
236
242
|
<li><a href="contextMenu.html">Context Menu</a></li>
|
237
|
-
<li><a href="
|
243
|
+
<li><a href="settingsDialog.html">Settings Dialog</a></li>
|
238
244
|
<li><a href="addinsDialog.html">Addins Dialog</a></li>
|
239
245
|
<li><a href="testProperties.html">Test Properties</a></li>
|
240
246
|
<li><a href="configEditor.html">Configuration Editor</a></li>
|
241
247
|
<li><a href="projectEditor.html">Project Editor</a></li>
|
242
248
|
</ul>
|
243
|
-
<li><a href="
|
249
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
250
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
251
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
252
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
253
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
244
254
|
<li><a href="releaseNotes.html">Release Notes</a></li>
|
245
255
|
<li><a href="samples.html">Samples</a></li>
|
246
256
|
<li><a href="license.html">License</a></li>
|
@@ -252,7 +262,7 @@ connect to the NUnit web site.</p>
|
|
252
262
|
|
253
263
|
<!-- Standard Footer for NUnit.org -->
|
254
264
|
<div id="footer">
|
255
|
-
Copyright ©
|
265
|
+
Copyright © 2009 Charlie Poole. All Rights Reserved.
|
256
266
|
</div>
|
257
267
|
<!-- End of Footer -->
|
258
268
|
|
data/docs/maxtime.html
ADDED
@@ -0,0 +1,109 @@
|
|
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 - Maxtime</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>MaxtimeAttribute (NUnit 2.5)</h3>
|
28
|
+
|
29
|
+
<p>The <b>MaxtimeAttribute</b> is used to specify a maximum time in milliseconds
|
30
|
+
for a test case. If the test case takes longer than the specified time to
|
31
|
+
complete, it is considered to have failed.
|
32
|
+
|
33
|
+
<p><b>Note:</b> This attribute does not cancel the test if the time
|
34
|
+
is exceeded. It merely waits for the test to complete and then
|
35
|
+
compares the elapsed time to the specified maximum. If you want to
|
36
|
+
cancel a long-running tests, see <a href="timeout.html">TimeoutAttribute</a>.
|
37
|
+
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<!-- Submenu -->
|
41
|
+
<div id="subnav">
|
42
|
+
<ul>
|
43
|
+
<li><a href="index.html">NUnit 2.5</a></li>
|
44
|
+
<ul>
|
45
|
+
<li><a href="getStarted.html">Getting Started</a></li>
|
46
|
+
<li><a href="assertions.html">Assertions</a></li>
|
47
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
48
|
+
<li><a href="attributes.html">Attributes</a></li>
|
49
|
+
<ul>
|
50
|
+
<li><a href="category.html">Category</a></li>
|
51
|
+
<li><a href="combinatorial.html">Combinatorial</a></li>
|
52
|
+
<li><a href="culture.html">Culture</a></li>
|
53
|
+
<li><a href="datapoint.html">Datapoint(s)</a></li>
|
54
|
+
<li><a href="description.html">Description</a></li>
|
55
|
+
<li><a href="exception.html">Exception</a></li>
|
56
|
+
<li><a href="explicit.html">Explicit</a></li>
|
57
|
+
<li><a href="ignore.html">Ignore</a></li>
|
58
|
+
<li id="current"><a href="maxtime.html">Maxtime</a></li>
|
59
|
+
<li><a href="pairwise.html">Pairwise</a></li>
|
60
|
+
<li><a href="platform.html">Platform</a></li>
|
61
|
+
<li><a href="property.html">Property</a></li>
|
62
|
+
<li><a href="random.html">Random</a></li>
|
63
|
+
<li><a href="range.html">Range</a></li>
|
64
|
+
<li><a href="repeat.html">Repeat</a></li>
|
65
|
+
<li><a href="requiredAddin.html">RequiredAddin</a></li>
|
66
|
+
<li><a href="requiresMTA.html">Requires MTA</a></li>
|
67
|
+
<li><a href="requiresSTA.html">Requires STA</a></li>
|
68
|
+
<li><a href="requiresThread.html">Requires Thread</a></li>
|
69
|
+
<li><a href="sequential.html">Sequential</a></li>
|
70
|
+
<li><a href="setCulture.html">SetCulture</a></li>
|
71
|
+
<li><a href="setup.html">Setup</a></li>
|
72
|
+
<li><a href="setupFixture.html">SetupFixture</a></li>
|
73
|
+
<li><a href="suite.html">Suite</a></li>
|
74
|
+
<li><a href="teardown.html">Teardown</a></li>
|
75
|
+
<li><a href="test.html">Test</a></li>
|
76
|
+
<li><a href="testCase.html">TestCase</a></li>
|
77
|
+
<li><a href="testCaseSource.html">TestCaseSource</a></li>
|
78
|
+
<li><a href="testFixture.html">TestFixture</a></li>
|
79
|
+
<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
|
80
|
+
<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
|
81
|
+
<li><a href="theory.html">Theory</a></li>
|
82
|
+
<li><a href="timeout.html">Timeout</a></li>
|
83
|
+
<li><a href="values.html">Values</a></li>
|
84
|
+
<li><a href="valueSource.html">ValueSource</a></li>
|
85
|
+
</ul>
|
86
|
+
<li><a href="nunit-console.html">Console Runner</a></li>
|
87
|
+
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
88
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
89
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
90
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
91
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
92
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
93
|
+
<li><a href="releaseNotes.html">Release Notes</a></li>
|
94
|
+
<li><a href="samples.html">Samples</a></li>
|
95
|
+
<li><a href="license.html">License</a></li>
|
96
|
+
</ul>
|
97
|
+
</ul>
|
98
|
+
</div>
|
99
|
+
<!-- End of Submenu -->
|
100
|
+
|
101
|
+
|
102
|
+
<!-- Standard Footer for NUnit.org -->
|
103
|
+
<div id="footer">
|
104
|
+
Copyright © 2009 Charlie Poole. All Rights Reserved.
|
105
|
+
</div>
|
106
|
+
<!-- End of Footer -->
|
107
|
+
|
108
|
+
</body>
|
109
|
+
</html>
|