nunit 2.4.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/docs/addinsDialog.html +74 -0
- data/docs/assertions.html +91 -0
- data/docs/attributes.html +89 -0
- data/docs/category.html +265 -0
- data/docs/classicModel.html +92 -0
- data/docs/codeFuncs.js +77 -0
- data/docs/collectionAssert.html +162 -0
- data/docs/collectionConstraints.html +130 -0
- data/docs/comparisonAsserts.html +271 -0
- data/docs/comparisonConstraints.html +109 -0
- data/docs/compoundConstraints.html +97 -0
- data/docs/conditionAsserts.html +123 -0
- data/docs/conditionConstraints.html +106 -0
- data/docs/configEditor.html +93 -0
- data/docs/configFiles.html +155 -0
- data/docs/consoleCommandLine.html +271 -0
- data/docs/constraintModel.html +134 -0
- data/docs/contextMenu.html +106 -0
- data/docs/culture.html +255 -0
- data/docs/customAsserts.html +115 -0
- data/docs/customConstraints.html +101 -0
- data/docs/description.html +178 -0
- data/docs/equalConstraint.html +139 -0
- data/docs/equalityAsserts.html +187 -0
- data/docs/exception.html +296 -0
- data/docs/explicit.html +256 -0
- data/docs/extensibility.html +83 -0
- data/docs/favicon.ico +0 -0
- data/docs/features.html +75 -0
- data/docs/fileAssert.html +114 -0
- data/docs/files/QuickStart.Spanish.doc +0 -0
- data/docs/files/QuickStart.doc +0 -0
- data/docs/files/Results.xsd +70 -0
- data/docs/files/Summary.xslt +47 -0
- data/docs/files/TestResult.xml +103 -0
- data/docs/files/Thumbs.db +0 -0
- data/docs/fixtureSetup.html +201 -0
- data/docs/fixtureTeardown.html +204 -0
- data/docs/getStarted.html +80 -0
- data/docs/guiCommandLine.html +183 -0
- data/docs/identityAsserts.html +99 -0
- data/docs/ignore.html +249 -0
- data/docs/img/addinsDialog.JPG +0 -0
- data/docs/img/assembliesTab.jpg +0 -0
- data/docs/img/assemblyReloadOptions.JPG +0 -0
- data/docs/img/bulletOff.gif +0 -0
- data/docs/img/bulletOn.gif +0 -0
- data/docs/img/configEditor.jpg +0 -0
- data/docs/img/console-mock.jpg +0 -0
- data/docs/img/displayTab.jpg +0 -0
- data/docs/img/generalOptions.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/langFilter.gif +0 -0
- data/docs/img/logo.gif +0 -0
- data/docs/img/miniGui.jpg +0 -0
- data/docs/img/optionsDialog.jpg +0 -0
- data/docs/img/resultTab.jpg +0 -0
- data/docs/img/testLoadOptions.jpg +0 -0
- data/docs/img/testOutputOptions.jpg +0 -0
- data/docs/img/testProperties.jpg +0 -0
- data/docs/img/testResultOptions.JPG +0 -0
- data/docs/img/testTab.jpg +0 -0
- data/docs/img/testsTab.JPG +0 -0
- data/docs/img/textOutputOptions.jpg +0 -0
- data/docs/img/treeDisplayOptions.JPG +0 -0
- data/docs/img/visualStudioOptions.JPG +0 -0
- data/docs/index.html +75 -0
- data/docs/installation.html +172 -0
- data/docs/license.html +88 -0
- data/docs/listMapper.html +100 -0
- data/docs/mainMenu.html +260 -0
- data/docs/multiAssembly.html +130 -0
- data/docs/nunit-console.html +84 -0
- data/docs/nunit-gui.html +115 -0
- data/docs/nunit.css +118 -0
- data/docs/nunitAddins.html +331 -0
- data/docs/optionsDialog.html +262 -0
- data/docs/platform.html +285 -0
- data/docs/platformSupport.html +99 -0
- data/docs/projectEditor.html +127 -0
- data/docs/property.html +219 -0
- data/docs/propertyConstraint.html +89 -0
- data/docs/quickStart.html +314 -0
- data/docs/releaseNotes.html +1235 -0
- data/docs/sameasConstraint.html +98 -0
- data/docs/samples.html +126 -0
- data/docs/setCulture.html +173 -0
- data/docs/setup.html +199 -0
- data/docs/setupFixture.html +198 -0
- data/docs/stringAssert.html +107 -0
- data/docs/stringConstraints.html +111 -0
- data/docs/suite.html +222 -0
- data/docs/teardown.html +204 -0
- data/docs/test.html +171 -0
- data/docs/testFixture.html +168 -0
- data/docs/testProperties.html +76 -0
- data/docs/typeAsserts.html +101 -0
- data/docs/typeConstraints.html +103 -0
- data/docs/upgrade.html +97 -0
- data/docs/utilityAsserts.html +108 -0
- data/docs/vsSupport.html +140 -0
- data/lib/net-1.1/Failure.jpg +0 -0
- data/lib/net-1.1/Ignored.jpg +0 -0
- data/lib/net-1.1/NUnitFitTests.html +277 -0
- data/lib/net-1.1/NUnitTests.config +84 -0
- data/lib/net-1.1/NUnitTests.nunit +14 -0
- data/lib/net-1.1/Success.jpg +0 -0
- data/lib/net-1.1/clr.bat +96 -0
- data/lib/net-1.1/fit.dll +0 -0
- data/lib/net-1.1/loadtest-assembly.dll +0 -0
- 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.exe +0 -0
- data/lib/net-1.1/nunit-console.exe.config +117 -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.exe.config +121 -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.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 +5622 -0
- 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/nunit.util.tests.dll +0 -0
- data/lib/net-1.1/runFile.exe +0 -0
- data/lib/net-1.1/runFile.exe.config +43 -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/NUnitFitTests.html +277 -0
- data/lib/net-2.0/NUnitTests.config +84 -0
- data/lib/net-2.0/NUnitTests.nunit +14 -0
- data/lib/net-2.0/Success.jpg +0 -0
- data/lib/net-2.0/clr.bat +96 -0
- data/lib/net-2.0/fit.dll +0 -0
- data/lib/net-2.0/loadtest-assembly.dll +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-x86.exe +0 -0
- data/lib/net-2.0/nunit-console-x86.exe.config +117 -0
- data/lib/net-2.0/nunit-console.exe +0 -0
- data/lib/net-2.0/nunit-console.exe.config +117 -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-x86.exe +0 -0
- data/lib/net-2.0/nunit-x86.exe.config +121 -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.exe +0 -0
- data/lib/net-2.0/nunit.exe.config +121 -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.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 +5622 -0
- 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/nunit.util.tests.dll +0 -0
- data/lib/net-2.0/runFile.exe +0 -0
- data/lib/net-2.0/runFile.exe.config +43 -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
- metadata +262 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/docs/img/logo.gif
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/docs/index.html
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
|
2
|
+
<html>
|
|
3
|
+
<!-- Standard Head Part -->
|
|
4
|
+
<head>
|
|
5
|
+
<title>NUnit - DocHome</title>
|
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
|
7
|
+
<meta http-equiv="Content-Language" content="en-US">
|
|
8
|
+
<link rel="stylesheet" type="text/css" href="nunit.css">
|
|
9
|
+
<link rel="shortcut icon" href="favicon.ico">
|
|
10
|
+
</head>
|
|
11
|
+
<!-- End Standard Head Part -->
|
|
12
|
+
|
|
13
|
+
<body>
|
|
14
|
+
|
|
15
|
+
<!-- Standard Header for NUnit.org -->
|
|
16
|
+
<div id="header">
|
|
17
|
+
<a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
|
|
18
|
+
<div id="nav">
|
|
19
|
+
<a href="http://www.nunit.org">NUnit</a>
|
|
20
|
+
<a class="active" href="index.html">Documentation</a>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
<!-- End of Header -->
|
|
24
|
+
|
|
25
|
+
<div id="content">
|
|
26
|
+
|
|
27
|
+
<h2>NUnit 2.4.8</h2>
|
|
28
|
+
|
|
29
|
+
<p>This documentation covers the NUnit 2.4.8 release, which corrects several
|
|
30
|
+
issues found in the prior release and introduces some minor features.
|
|
31
|
+
Where applicable, we have marked sections with the version in which a feature
|
|
32
|
+
first appeared.</p>
|
|
33
|
+
|
|
34
|
+
<p>If you are new to NUnit, we suggest you begin by reading the
|
|
35
|
+
<a href="getStarted.html">Getting Started</a> section of this site.
|
|
36
|
+
Those who have used earlier releases may want to begin with the
|
|
37
|
+
<a href="upgrade.html">Upgrading</a> section.</p>
|
|
38
|
+
|
|
39
|
+
<p>See the
|
|
40
|
+
<a href="releaseNotes.html">Release Notes</a> for more information on this release.</p>
|
|
41
|
+
|
|
42
|
+
<p>All documentation is included in the release packages of NUnit. Beginning with NUnit
|
|
43
|
+
2.4.2, you may choose to <a href="http://www.nunit.org/download.html">download</a> the documentation
|
|
44
|
+
separately.</p>
|
|
45
|
+
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<!-- Submenu -->
|
|
49
|
+
<div id="subnav">
|
|
50
|
+
<ul>
|
|
51
|
+
<li id="current"><a href="index.html">NUnit 2.4.8</a></li>
|
|
52
|
+
<ul>
|
|
53
|
+
<li><a href="getStarted.html">Getting Started</a></li>
|
|
54
|
+
<li><a href="assertions.html">Assertions</a></li>
|
|
55
|
+
<li><a href="attributes.html">Attributes</a></li>
|
|
56
|
+
<li><a href="nunit-console.html">Console Runner</a></li>
|
|
57
|
+
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
|
58
|
+
<li><a href="features.html">Other Features</a></li>
|
|
59
|
+
<li><a href="releaseNotes.html">Release Notes</a></li>
|
|
60
|
+
<li><a href="samples.html">Samples</a></li>
|
|
61
|
+
<li><a href="license.html">License</a></li>
|
|
62
|
+
</ul>
|
|
63
|
+
</ul>
|
|
64
|
+
</div>
|
|
65
|
+
<!-- End of Submenu -->
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
<!-- Standard Footer for NUnit.org -->
|
|
69
|
+
<div id="footer">
|
|
70
|
+
Copyright © 2008 Charlie Poole. All Rights Reserved.
|
|
71
|
+
</div>
|
|
72
|
+
<!-- End of Footer -->
|
|
73
|
+
|
|
74
|
+
</body>
|
|
75
|
+
</html>
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
|
2
|
+
<html>
|
|
3
|
+
<!-- Standard Head Part -->
|
|
4
|
+
<head>
|
|
5
|
+
<title>NUnit - Installation</title>
|
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
|
7
|
+
<meta http-equiv="Content-Language" content="en-US">
|
|
8
|
+
<link rel="stylesheet" type="text/css" href="nunit.css">
|
|
9
|
+
<link rel="shortcut icon" href="favicon.ico">
|
|
10
|
+
</head>
|
|
11
|
+
<!-- End Standard Head Part -->
|
|
12
|
+
|
|
13
|
+
<body>
|
|
14
|
+
|
|
15
|
+
<!-- Standard Header for NUnit.org -->
|
|
16
|
+
<div id="header">
|
|
17
|
+
<a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
|
|
18
|
+
<div id="nav">
|
|
19
|
+
<a href="http://www.nunit.org">NUnit</a>
|
|
20
|
+
<a class="active" href="index.html">Documentation</a>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
<!-- End of Header -->
|
|
24
|
+
|
|
25
|
+
<div id="content">
|
|
26
|
+
|
|
27
|
+
<h2>Installation</h2>
|
|
28
|
+
<p>By default the <b>NUnit</b> installation program places all of the files into the
|
|
29
|
+
<b>C:\Program Files\NUnit 2.4.8</b> directory. In the installation directory
|
|
30
|
+
there are three sub-directories: bin, doc, and samples. Source code is no
|
|
31
|
+
longer provided with the binary installation package. Download the source
|
|
32
|
+
package if source is needed.
|
|
33
|
+
<h3>Running NUnit</h3>
|
|
34
|
+
<p>The installation program places a number of items in the Start menu. There are
|
|
35
|
+
a number of shortcuts, which run the NUnit GUI under various versions of .NET
|
|
36
|
+
or under Mono, depending on the versions available on your system at the time
|
|
37
|
+
of installation.</p>
|
|
38
|
+
<h3>Configuration</h3>
|
|
39
|
+
<p>When running NUnit from the command line or through the desktop shortcut, the
|
|
40
|
+
configuration files files nunit.exe.config and nunit-console.exe.config control
|
|
41
|
+
which version of the CLR is used. As installed, the <startup> section of the
|
|
42
|
+
config file is commented out and may be left that way unless problems arise.
|
|
43
|
+
If uncommented, the order of precedence is .NET 2.0, .NET 1.1 and .NET 1.0.
|
|
44
|
+
To change which version is used, simply change the order of the elements
|
|
45
|
+
in the config files. The nunit About Box shows the version currently being used.</p>
|
|
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
|
|
49
|
+
should be named test.dll.config. If you are running tests from the NUnit test
|
|
50
|
+
project MyTests.nunit, the config file should be named MyTests.config. In
|
|
51
|
+
either case the config file must reside in the same directory as the file from
|
|
52
|
+
which it takes its name.</p>
|
|
53
|
+
<p>In addition to settings of your own, the config file for a set of tests may
|
|
54
|
+
contain information used by NUnit in loading your tests. In particular, this
|
|
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. See the file
|
|
57
|
+
nunit.tests.dll for an example.</p>
|
|
58
|
+
<h3>Installation Verification</h3>
|
|
59
|
+
<p>Verify that the installation has worked successfully by running the NUnit gui and
|
|
60
|
+
loading and running NUnitTests.nunit in the bin directory. All tests should pass.
|
|
61
|
+
<div class="screenshot-left">
|
|
62
|
+
<img src="img/gui-verify.jpg"></div>
|
|
63
|
+
<p>
|
|
64
|
+
<p><b>Note:</b> Although the NUnit installation has been modified to allow non-admin
|
|
65
|
+
users to install, there are still a large number of tests which can only run
|
|
66
|
+
successfully under an administrative id. This is a problem with the code in
|
|
67
|
+
the tests themselves, not with NUnit.</p>
|
|
68
|
+
<h3>Timing Tests</h3>
|
|
69
|
+
<p>The assembly timing-tests.dll contains several tests that measure the performance of
|
|
70
|
+
NUnit in loading tests. In addition, it contains some long-running tests that are used
|
|
71
|
+
to verify that all remoting timeout problems have been fixed. The test cases
|
|
72
|
+
all run for six to 12 minutes and give no indication whatsoever that they are
|
|
73
|
+
working! This is required since correct handling of a non-communicative user
|
|
74
|
+
test is what these tests are all about.</p>
|
|
75
|
+
<h3>Additional Tests</h3>
|
|
76
|
+
<p>Additional tests are included with the samples and in separate assemblies used
|
|
77
|
+
as data by the verification tests themselves. Failures or not run conditions in
|
|
78
|
+
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
|
+
|
|
128
|
+
<h4>Installation Under Mono</h4>
|
|
129
|
+
|
|
130
|
+
<p>Mono is delivered with a version of NUnit already pre-installed. The Mono 1.0 release
|
|
131
|
+
included a beta version of NUnit 2.2. Later builds may include a more up-to-date
|
|
132
|
+
version of NUnit. Before attempting to install NUnit under Mono, determine whether
|
|
133
|
+
an equivalent or newer version is already installed. It may be necessary to remove
|
|
134
|
+
the pre-installed version from the GAC in order for the new version to be recognized.</p>
|
|
135
|
+
|
|
136
|
+
</div>
|
|
137
|
+
|
|
138
|
+
<!-- Submenu -->
|
|
139
|
+
<div id="subnav">
|
|
140
|
+
<ul>
|
|
141
|
+
<li><a href="index.html">NUnit 2.4.8</a></li>
|
|
142
|
+
<ul>
|
|
143
|
+
<li><a href="getStarted.html">Getting Started</a></li>
|
|
144
|
+
<ul>
|
|
145
|
+
<li><a href="quickStart.html">Quick Start</a></li>
|
|
146
|
+
<li id="current"><a href="installation.html">Installation</a></li>
|
|
147
|
+
<ul>
|
|
148
|
+
<li><a href="upgrade.html">Upgrading</a></li>
|
|
149
|
+
</ul>
|
|
150
|
+
</ul>
|
|
151
|
+
<li><a href="assertions.html">Assertions</a></li>
|
|
152
|
+
<li><a href="attributes.html">Attributes</a></li>
|
|
153
|
+
<li><a href="nunit-console.html">Console Runner</a></li>
|
|
154
|
+
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
|
155
|
+
<li><a href="features.html">Other Features</a></li>
|
|
156
|
+
<li><a href="releaseNotes.html">Release Notes</a></li>
|
|
157
|
+
<li><a href="samples.html">Samples</a></li>
|
|
158
|
+
<li><a href="license.html">License</a></li>
|
|
159
|
+
</ul>
|
|
160
|
+
</ul>
|
|
161
|
+
</div>
|
|
162
|
+
<!-- End of Submenu -->
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<!-- Standard Footer for NUnit.org -->
|
|
166
|
+
<div id="footer">
|
|
167
|
+
Copyright © 2008 Charlie Poole. All Rights Reserved.
|
|
168
|
+
</div>
|
|
169
|
+
<!-- End of Footer -->
|
|
170
|
+
|
|
171
|
+
</body>
|
|
172
|
+
</html>
|
data/docs/license.html
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
|
2
|
+
<html>
|
|
3
|
+
<!-- Standard Head Part -->
|
|
4
|
+
<head>
|
|
5
|
+
<title>NUnit - License</title>
|
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
|
7
|
+
<meta http-equiv="Content-Language" content="en-US">
|
|
8
|
+
<link rel="stylesheet" type="text/css" href="nunit.css">
|
|
9
|
+
<link rel="shortcut icon" href="favicon.ico">
|
|
10
|
+
</head>
|
|
11
|
+
<!-- End Standard Head Part -->
|
|
12
|
+
|
|
13
|
+
<body>
|
|
14
|
+
|
|
15
|
+
<!-- Standard Header for NUnit.org -->
|
|
16
|
+
<div id="header">
|
|
17
|
+
<a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
|
|
18
|
+
<div id="nav">
|
|
19
|
+
<a href="http://www.nunit.org">NUnit</a>
|
|
20
|
+
<a class="active" href="index.html">Documentation</a>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
<!-- End of Header -->
|
|
24
|
+
|
|
25
|
+
<div id="content">
|
|
26
|
+
|
|
27
|
+
<h2>NUnit License</h2>
|
|
28
|
+
|
|
29
|
+
<p>
|
|
30
|
+
Copyright © 2002-2007 Charlie Poole<br>
|
|
31
|
+
Copyright © 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov<br>
|
|
32
|
+
Copyright © 2000-2002 Philip A. Craig</p>
|
|
33
|
+
<p> This software is provided 'as-is', without any express or implied warranty. In
|
|
34
|
+
no event will the authors be held liable for any damages arising from the use
|
|
35
|
+
of this software.</p>
|
|
36
|
+
<p>Permission is granted to anyone to use this software for any purpose, including
|
|
37
|
+
commercial applications, and to alter it and redistribute it freely, subject to
|
|
38
|
+
the following restrictions:</p>
|
|
39
|
+
<p>1. The origin of this software must not be misrepresented; you must not claim
|
|
40
|
+
that you wrote the original software. If you use this software in a product, an
|
|
41
|
+
acknowledgment (see the following) in the product documentation is required.</p>
|
|
42
|
+
<p>Portions Copyright © 2002-2007 Charlie Poole or
|
|
43
|
+
Copyright © 2002-2004 James W. Newkirk, Michael C. Two, Alexei A.
|
|
44
|
+
Vorontsov or Copyright © 2000-2002 Philip A. Craig</p>
|
|
45
|
+
<p>2. Altered source versions must be plainly marked as such, and must not be
|
|
46
|
+
misrepresented as being the original software.</p>
|
|
47
|
+
<p>3. This notice may not be removed or altered from any source distribution.</p>
|
|
48
|
+
|
|
49
|
+
<h4>License Note</h4>
|
|
50
|
+
<p>This license is based on <A href="http://www.opensource.org/licenses/zlib-license.html">
|
|
51
|
+
the open source zlib/libpng license</A>. The idea was to keep the license
|
|
52
|
+
as simple as possible to encourage use of NUnit in free and commercial
|
|
53
|
+
applications and libraries, but to keep the source code together and to give
|
|
54
|
+
credit to the NUnit contributors for their efforts. While this license allows
|
|
55
|
+
shipping NUnit in source and binary form, if shipping a NUnit variant is the
|
|
56
|
+
sole purpose of your product, please <a href="mailto:cpoole@pooleconsulting.com">let
|
|
57
|
+
us know</a>.</p>
|
|
58
|
+
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
<!-- Submenu -->
|
|
62
|
+
<div id="subnav">
|
|
63
|
+
<ul>
|
|
64
|
+
<li><a href="index.html">NUnit 2.4.8</a></li>
|
|
65
|
+
<ul>
|
|
66
|
+
<li><a href="getStarted.html">Getting Started</a></li>
|
|
67
|
+
<li><a href="assertions.html">Assertions</a></li>
|
|
68
|
+
<li><a href="attributes.html">Attributes</a></li>
|
|
69
|
+
<li><a href="nunit-console.html">Console Runner</a></li>
|
|
70
|
+
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
|
71
|
+
<li><a href="features.html">Other Features</a></li>
|
|
72
|
+
<li><a href="releaseNotes.html">Release Notes</a></li>
|
|
73
|
+
<li><a href="samples.html">Samples</a></li>
|
|
74
|
+
<li id="current"><a href="license.html">License</a></li>
|
|
75
|
+
</ul>
|
|
76
|
+
</ul>
|
|
77
|
+
</div>
|
|
78
|
+
<!-- End of Submenu -->
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
<!-- Standard Footer for NUnit.org -->
|
|
82
|
+
<div id="footer">
|
|
83
|
+
Copyright © 2008 Charlie Poole. All Rights Reserved.
|
|
84
|
+
</div>
|
|
85
|
+
<!-- End of Footer -->
|
|
86
|
+
|
|
87
|
+
</body>
|
|
88
|
+
</html>
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
|
2
|
+
<html>
|
|
3
|
+
<!-- Standard Head Part -->
|
|
4
|
+
<head>
|
|
5
|
+
<title>NUnit - ListMapper</title>
|
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
|
7
|
+
<meta http-equiv="Content-Language" content="en-US">
|
|
8
|
+
<link rel="stylesheet" type="text/css" href="nunit.css">
|
|
9
|
+
<link rel="shortcut icon" href="favicon.ico">
|
|
10
|
+
</head>
|
|
11
|
+
<!-- End Standard Head Part -->
|
|
12
|
+
|
|
13
|
+
<body>
|
|
14
|
+
|
|
15
|
+
<!-- Standard Header for NUnit.org -->
|
|
16
|
+
<div id="header">
|
|
17
|
+
<a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
|
|
18
|
+
<div id="nav">
|
|
19
|
+
<a href="http://www.nunit.org">NUnit</a>
|
|
20
|
+
<a class="active" href="index.html">Documentation</a>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
<!-- End of Header -->
|
|
24
|
+
|
|
25
|
+
<div id="content">
|
|
26
|
+
|
|
27
|
+
<h2>List Mapper (NUnit 2.4.2)</h2>
|
|
28
|
+
|
|
29
|
+
<p>Unlike Constraint classes, <b>ListMapper</b> is used to modify the actual
|
|
30
|
+
value argument to Assert.That(). It transforms the actual value, which
|
|
31
|
+
must be a collection, creating a new collection to be tested against the
|
|
32
|
+
supplied constraint. Currently, ListMapper supports one transformation: creating
|
|
33
|
+
a collection of property values.
|
|
34
|
+
|
|
35
|
+
<p>Normally, ListMapper will be used through the <b>List.Map()</b> syntax helper
|
|
36
|
+
or the inherited syntax equivalent, <b>Map()</b>. The following example
|
|
37
|
+
shows three forms of the same assert:
|
|
38
|
+
|
|
39
|
+
<div class="code"><pre>
|
|
40
|
+
string[] strings = new string[] { "a", "ab", "abc" };
|
|
41
|
+
int[] lengths = new int[] { 1, 2, 3 };
|
|
42
|
+
|
|
43
|
+
Assert.That(List.Map(strings).Property("Length"),
|
|
44
|
+
Is.EqualTo(lengths));
|
|
45
|
+
|
|
46
|
+
Assert.That(new ListMapper(strings).Property("Length"),
|
|
47
|
+
Is.EqualTo(lengths));
|
|
48
|
+
|
|
49
|
+
// Assuming inheritance from AssertionHelper
|
|
50
|
+
Expect(Map(strings).Property("Length"), EqualTo(lengths));
|
|
51
|
+
</pre></div>
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<!-- Submenu -->
|
|
57
|
+
<div id="subnav">
|
|
58
|
+
<ul>
|
|
59
|
+
<li><a href="index.html">NUnit 2.4.8</a></li>
|
|
60
|
+
<ul>
|
|
61
|
+
<li><a href="getStarted.html">Getting Started</a></li>
|
|
62
|
+
<li><a href="assertions.html">Assertions</a></li>
|
|
63
|
+
<ul>
|
|
64
|
+
<li><a href="classicModel.html">Classic Model</a></li>
|
|
65
|
+
<li><a href="constraintModel.html">Constraint Model</a></li>
|
|
66
|
+
<ul>
|
|
67
|
+
<li><a href="equalConstraint.html">Equal Constraint</a></li>
|
|
68
|
+
<li><a href="sameasConstraint.html">SameAs Constraint</a></li>
|
|
69
|
+
<li><a href="conditionConstraints.html">Condition Constraints</a></li>
|
|
70
|
+
<li><a href="comparisonConstraints.html">Comparison Constrants</a></li>
|
|
71
|
+
<li><a href="typeConstraints.html">Type Constraints</a></li>
|
|
72
|
+
<li><a href="stringConstraints.html">String Constraints</a></li>
|
|
73
|
+
<li><a href="collectionConstraints.html">Collection Constraints</a></li>
|
|
74
|
+
<li><a href="propertyConstraint.html">Property Constraint</a></li>
|
|
75
|
+
<li><a href="compoundConstraints.html">Compound Constraints</a></li>
|
|
76
|
+
<li><a href="customConstraints.html">Custom Constraints</a></li>
|
|
77
|
+
<li id="current"><a href="listMapper.html">List Mapper</a></li>
|
|
78
|
+
</ul>
|
|
79
|
+
</ul>
|
|
80
|
+
<li><a href="attributes.html">Attributes</a></li>
|
|
81
|
+
<li><a href="nunit-console.html">Console Runner</a></li>
|
|
82
|
+
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
|
83
|
+
<li><a href="features.html">Other Features</a></li>
|
|
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 © 2008 Charlie Poole. All Rights Reserved.
|
|
96
|
+
</div>
|
|
97
|
+
<!-- End of Footer -->
|
|
98
|
+
|
|
99
|
+
</body>
|
|
100
|
+
</html>
|