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/pairwise.html
ADDED
@@ -0,0 +1,114 @@
|
|
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 - Pairwise</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>PairwiseAttribute (NUnit 2.5)</h3>
|
28
|
+
|
29
|
+
<p>The <b>PairwiseAttribute</b> is used on a test to specify that NUnit should
|
30
|
+
generate test cases in such a way that all possible pairs of
|
31
|
+
values are used. This is a well-known approach for combatting
|
32
|
+
the combinatorial explosion of test cases when more than
|
33
|
+
two features (parameters) are involved.
|
34
|
+
|
35
|
+
<p><b>Note:</b> In the current Alpha release, this attribute is
|
36
|
+
accepted but ignored and data items are combined usin the default
|
37
|
+
combinatorial approach.
|
38
|
+
|
39
|
+
<h4>See also...</h4>
|
40
|
+
<ul>
|
41
|
+
<li><a href="sequential.html">SequentialAttribute</a><li><a href="combinatorial.html">CombinatorialAttribute</a></ul>
|
42
|
+
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<!-- Submenu -->
|
46
|
+
<div id="subnav">
|
47
|
+
<ul>
|
48
|
+
<li><a href="index.html">NUnit 2.5</a></li>
|
49
|
+
<ul>
|
50
|
+
<li><a href="getStarted.html">Getting Started</a></li>
|
51
|
+
<li><a href="assertions.html">Assertions</a></li>
|
52
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
53
|
+
<li><a href="attributes.html">Attributes</a></li>
|
54
|
+
<ul>
|
55
|
+
<li><a href="category.html">Category</a></li>
|
56
|
+
<li><a href="combinatorial.html">Combinatorial</a></li>
|
57
|
+
<li><a href="culture.html">Culture</a></li>
|
58
|
+
<li><a href="datapoint.html">Datapoint(s)</a></li>
|
59
|
+
<li><a href="description.html">Description</a></li>
|
60
|
+
<li><a href="exception.html">Exception</a></li>
|
61
|
+
<li><a href="explicit.html">Explicit</a></li>
|
62
|
+
<li><a href="ignore.html">Ignore</a></li>
|
63
|
+
<li><a href="maxtime.html">Maxtime</a></li>
|
64
|
+
<li id="current"><a href="pairwise.html">Pairwise</a></li>
|
65
|
+
<li><a href="platform.html">Platform</a></li>
|
66
|
+
<li><a href="property.html">Property</a></li>
|
67
|
+
<li><a href="random.html">Random</a></li>
|
68
|
+
<li><a href="range.html">Range</a></li>
|
69
|
+
<li><a href="repeat.html">Repeat</a></li>
|
70
|
+
<li><a href="requiredAddin.html">RequiredAddin</a></li>
|
71
|
+
<li><a href="requiresMTA.html">Requires MTA</a></li>
|
72
|
+
<li><a href="requiresSTA.html">Requires STA</a></li>
|
73
|
+
<li><a href="requiresThread.html">Requires Thread</a></li>
|
74
|
+
<li><a href="sequential.html">Sequential</a></li>
|
75
|
+
<li><a href="setCulture.html">SetCulture</a></li>
|
76
|
+
<li><a href="setup.html">Setup</a></li>
|
77
|
+
<li><a href="setupFixture.html">SetupFixture</a></li>
|
78
|
+
<li><a href="suite.html">Suite</a></li>
|
79
|
+
<li><a href="teardown.html">Teardown</a></li>
|
80
|
+
<li><a href="test.html">Test</a></li>
|
81
|
+
<li><a href="testCase.html">TestCase</a></li>
|
82
|
+
<li><a href="testCaseSource.html">TestCaseSource</a></li>
|
83
|
+
<li><a href="testFixture.html">TestFixture</a></li>
|
84
|
+
<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
|
85
|
+
<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
|
86
|
+
<li><a href="theory.html">Theory</a></li>
|
87
|
+
<li><a href="timeout.html">Timeout</a></li>
|
88
|
+
<li><a href="values.html">Values</a></li>
|
89
|
+
<li><a href="valueSource.html">ValueSource</a></li>
|
90
|
+
</ul>
|
91
|
+
<li><a href="nunit-console.html">Console Runner</a></li>
|
92
|
+
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
93
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
94
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
95
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
96
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
97
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
98
|
+
<li><a href="releaseNotes.html">Release Notes</a></li>
|
99
|
+
<li><a href="samples.html">Samples</a></li>
|
100
|
+
<li><a href="license.html">License</a></li>
|
101
|
+
</ul>
|
102
|
+
</ul>
|
103
|
+
</div>
|
104
|
+
<!-- End of Submenu -->
|
105
|
+
|
106
|
+
|
107
|
+
<!-- Standard Footer for NUnit.org -->
|
108
|
+
<div id="footer">
|
109
|
+
Copyright © 2009 Charlie Poole. All Rights Reserved.
|
110
|
+
</div>
|
111
|
+
<!-- End of Footer -->
|
112
|
+
|
113
|
+
</body>
|
114
|
+
</html>
|
@@ -0,0 +1,141 @@
|
|
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 - ParameterizedTests</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>Parameterized Tests</h2>
|
28
|
+
|
29
|
+
<p>NUnit 2.5 supports parameterized tests. Test methods
|
30
|
+
may have parameters and various attributes are available
|
31
|
+
to indicate what arguments should be supplied by NUnit.
|
32
|
+
|
33
|
+
<p>Multiple sets of arguments cause the creation of multiple
|
34
|
+
tests. All arguments are created at the point of loading the
|
35
|
+
tests, so the individual test cases are available for
|
36
|
+
display and selection in the Gui, if desired.
|
37
|
+
|
38
|
+
<p>Some attributes allow you to specify arguments inline - directly on
|
39
|
+
the attribute - while others use a separate method, property or field
|
40
|
+
to hold the arguments. In addition, some attributes identify complete test cases,
|
41
|
+
including all the necessary arguments, while others only provide data
|
42
|
+
for a single argument. This gives rise to four groups of attributes,
|
43
|
+
as shown in the following table.
|
44
|
+
|
45
|
+
<table class="nunit">
|
46
|
+
<tr><th></th><th>Complete Test Cases</th><th>Data for One Argument</th></tr>
|
47
|
+
<tr><th>Inline</th>
|
48
|
+
<td><a href="testCase.html">TestCaseAttribute</a></td>
|
49
|
+
<td><a href="random.html">RandomAttribute</a><br>
|
50
|
+
<a href="range.html">RangeAttribute</a><br>
|
51
|
+
<a href="values.html">ValuesAttribute</a></td></tr>
|
52
|
+
<tr><th>Separate</th>
|
53
|
+
<td><a href="testCaseSource.html">TestCaseSourceAttribute</a></td>
|
54
|
+
<td><a href="valueSource.html">ValueSourceAttribute</a></td></tr>
|
55
|
+
</table>
|
56
|
+
|
57
|
+
<p>In addition, when data is specified for individual arguments, special attributes
|
58
|
+
may be added to the test method itself in order to tell NUnit how
|
59
|
+
to go about combining the arguments. Currently, the following attributes
|
60
|
+
are provided:
|
61
|
+
|
62
|
+
<ul>
|
63
|
+
<li><a href="combinatorial.html">CombinatorialAttribute</a> (default)
|
64
|
+
<li><a href="pairwise.html">PairwiseAttribute</a><li><a href="sequential.html">SequentialAttribute</a></ul>
|
65
|
+
|
66
|
+
|
67
|
+
</div>
|
68
|
+
|
69
|
+
<!-- Submenu -->
|
70
|
+
<div id="subnav">
|
71
|
+
<ul>
|
72
|
+
<li><a href="index.html">NUnit 2.5</a></li>
|
73
|
+
<ul>
|
74
|
+
<li><a href="getStarted.html">Getting Started</a></li>
|
75
|
+
<li><a href="assertions.html">Assertions</a></li>
|
76
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
77
|
+
<li><a href="attributes.html">Attributes</a></li>
|
78
|
+
<ul>
|
79
|
+
<li><a href="category.html">Category</a></li>
|
80
|
+
<li><a href="combinatorial.html">Combinatorial</a></li>
|
81
|
+
<li><a href="culture.html">Culture</a></li>
|
82
|
+
<li><a href="datapoint.html">Datapoint(s)</a></li>
|
83
|
+
<li><a href="description.html">Description</a></li>
|
84
|
+
<li><a href="exception.html">Exception</a></li>
|
85
|
+
<li><a href="explicit.html">Explicit</a></li>
|
86
|
+
<li><a href="ignore.html">Ignore</a></li>
|
87
|
+
<li><a href="maxtime.html">Maxtime</a></li>
|
88
|
+
<li><a href="pairwise.html">Pairwise</a></li>
|
89
|
+
<li><a href="platform.html">Platform</a></li>
|
90
|
+
<li><a href="property.html">Property</a></li>
|
91
|
+
<li><a href="random.html">Random</a></li>
|
92
|
+
<li><a href="range.html">Range</a></li>
|
93
|
+
<li><a href="repeat.html">Repeat</a></li>
|
94
|
+
<li><a href="requiredAddin.html">RequiredAddin</a></li>
|
95
|
+
<li><a href="requiresMTA.html">Requires MTA</a></li>
|
96
|
+
<li><a href="requiresSTA.html">Requires STA</a></li>
|
97
|
+
<li><a href="requiresThread.html">Requires Thread</a></li>
|
98
|
+
<li><a href="sequential.html">Sequential</a></li>
|
99
|
+
<li><a href="setCulture.html">SetCulture</a></li>
|
100
|
+
<li><a href="setup.html">Setup</a></li>
|
101
|
+
<li><a href="setupFixture.html">SetupFixture</a></li>
|
102
|
+
<li><a href="suite.html">Suite</a></li>
|
103
|
+
<li><a href="teardown.html">Teardown</a></li>
|
104
|
+
<li><a href="test.html">Test</a></li>
|
105
|
+
<ul>
|
106
|
+
<li id="current"><a href="parameterizedTests.html">Parameterized Tests</a></li>
|
107
|
+
</ul>
|
108
|
+
<li><a href="testCase.html">TestCase</a></li>
|
109
|
+
<li><a href="testCaseSource.html">TestCaseSource</a></li>
|
110
|
+
<li><a href="testFixture.html">TestFixture</a></li>
|
111
|
+
<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
|
112
|
+
<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
|
113
|
+
<li><a href="theory.html">Theory</a></li>
|
114
|
+
<li><a href="timeout.html">Timeout</a></li>
|
115
|
+
<li><a href="values.html">Values</a></li>
|
116
|
+
<li><a href="valueSource.html">ValueSource</a></li>
|
117
|
+
</ul>
|
118
|
+
<li><a href="nunit-console.html">Console Runner</a></li>
|
119
|
+
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
120
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
121
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
122
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
123
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
124
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
125
|
+
<li><a href="releaseNotes.html">Release Notes</a></li>
|
126
|
+
<li><a href="samples.html">Samples</a></li>
|
127
|
+
<li><a href="license.html">License</a></li>
|
128
|
+
</ul>
|
129
|
+
</ul>
|
130
|
+
</div>
|
131
|
+
<!-- End of Submenu -->
|
132
|
+
|
133
|
+
|
134
|
+
<!-- Standard Footer for NUnit.org -->
|
135
|
+
<div id="footer">
|
136
|
+
Copyright © 2009 Charlie Poole. All Rights Reserved.
|
137
|
+
</div>
|
138
|
+
<!-- End of Footer -->
|
139
|
+
|
140
|
+
</body>
|
141
|
+
</html>
|
@@ -0,0 +1,162 @@
|
|
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 - PathConstraints</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>Path Constraints (NUnit 2.5)</h2>
|
28
|
+
|
29
|
+
<p>Path constraints perform tests on paths, without reference to any
|
30
|
+
actual files or directories. This allows testing paths that are
|
31
|
+
created by an application for reference or later use, without
|
32
|
+
any effect on the environment.
|
33
|
+
|
34
|
+
<p>Path constraints are intended to work across multiple file systems,
|
35
|
+
and convert paths to a canonical form before comparing them.
|
36
|
+
|
37
|
+
<p>It is usually not necessary to know the file system of the paths
|
38
|
+
in order to compare them. Where necessary, the programmer may
|
39
|
+
use the <b>IgnoreCase</b> and <b>RespectCase</b> modifiers to provide
|
40
|
+
behavior other than the system default.
|
41
|
+
|
42
|
+
<h3>SamePathConstraint</h3>
|
43
|
+
|
44
|
+
<h4>Action</h4>
|
45
|
+
<p>Tests that two paths are equivalent.
|
46
|
+
|
47
|
+
<h4>Constructor</h4>
|
48
|
+
<div class="code"><pre>
|
49
|
+
SamePathConstraint( string expectedPath )
|
50
|
+
</pre></div>
|
51
|
+
|
52
|
+
<h4>Syntax</h4>
|
53
|
+
<div class="code"><pre>
|
54
|
+
Is.SamePath( string expectedPath )
|
55
|
+
</pre></div>
|
56
|
+
|
57
|
+
<h4>Modifiers</h4>
|
58
|
+
<div class="code"><pre>
|
59
|
+
...IgnoreCase
|
60
|
+
...RespectCase
|
61
|
+
</pre></div>
|
62
|
+
|
63
|
+
<h4>Examples of Use</h4>
|
64
|
+
<div class="code"><pre>
|
65
|
+
Assert.That( "/folder1/./junk/../folder2",
|
66
|
+
Is.SamePath( "/folder1/folder2" ) );
|
67
|
+
Assert.That( "/folder1/./junk/../folder2/x",
|
68
|
+
Is.Not.SamePath( "/folder1/folder2" ) );
|
69
|
+
|
70
|
+
Assert.That( @"C:\folder1\folder2",
|
71
|
+
Is.SamePath( @"C:\Folder1\Folder2" ).IgnoreCase );
|
72
|
+
Assert.That( "/folder1/folder2",
|
73
|
+
Is.Not.SamePath( "/Folder1/Folder2" ).RespectCase );
|
74
|
+
</pre></div>
|
75
|
+
|
76
|
+
<h3>SamePathOrUnderConstraint</h3>
|
77
|
+
|
78
|
+
<h4>Action</h4>
|
79
|
+
<p>Tests that one path is equivalent another path or that it is under it.
|
80
|
+
|
81
|
+
<h4>Constructor</h4>
|
82
|
+
<div class="code"><pre>
|
83
|
+
SamePathOrUnderConstraint( string expectedPath )
|
84
|
+
</pre></div>
|
85
|
+
|
86
|
+
<h4>Syntax</h4>
|
87
|
+
<div class="code"><pre>
|
88
|
+
Is.SamePathOrUnder( string expectedPath )
|
89
|
+
</pre></div>
|
90
|
+
|
91
|
+
<h4>Modifiers</h4>
|
92
|
+
<div class="code"><pre>
|
93
|
+
...IgnoreCase
|
94
|
+
...RespectCase
|
95
|
+
</pre></div>
|
96
|
+
|
97
|
+
<h4>Examples of Use</h4>
|
98
|
+
|
99
|
+
<div class="code"><pre>
|
100
|
+
Assert.That( "/folder1/./junk/../folder2",
|
101
|
+
Is.SamePathOrUnder( "/folder1/folder2" ) );
|
102
|
+
Assert.That( "/folder1/junk/../folder2/./folder3",
|
103
|
+
Is.SamePathOrUnder( "/folder1/folder2" ) );
|
104
|
+
Assert.That( "/folder1/junk/folder2/folder3",
|
105
|
+
Is.Not.SamePathOrUnder( "/folder1/folder2" ) );
|
106
|
+
|
107
|
+
Assert.That( @"C:\folder1\folder2\folder3",
|
108
|
+
Is.SamePathOrUnder( @"C:\Folder1\Folder2" ).IgnoreCase );
|
109
|
+
Assert.That( "/folder1/folder2/folder3",
|
110
|
+
Is.Not.SamePathOrUnder( "/Folder1/Folder2" ).RespectCase );
|
111
|
+
</pre></div>
|
112
|
+
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<!-- Submenu -->
|
116
|
+
<div id="subnav">
|
117
|
+
<ul>
|
118
|
+
<li><a href="index.html">NUnit 2.5</a></li>
|
119
|
+
<ul>
|
120
|
+
<li><a href="getStarted.html">Getting Started</a></li>
|
121
|
+
<li><a href="assertions.html">Assertions</a></li>
|
122
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
123
|
+
<ul>
|
124
|
+
<li><a href="equalConstraint.html">Equal Constraint</a></li>
|
125
|
+
<li><a href="sameasConstraint.html">SameAs Constraint</a></li>
|
126
|
+
<li><a href="conditionConstraints.html">Condition Constraints</a></li>
|
127
|
+
<li><a href="comparisonConstraints.html">Comparison Constrants</a></li>
|
128
|
+
<li id="current"><a href="pathConstraints.html">Path Constraints</a></li>
|
129
|
+
<li><a href="typeConstraints.html">Type Constraints</a></li>
|
130
|
+
<li><a href="stringConstraints.html">String Constraints</a></li>
|
131
|
+
<li><a href="collectionConstraints.html">Collection Constraints</a></li>
|
132
|
+
<li><a href="propertyConstraint.html">Property Constraint</a></li>
|
133
|
+
<li><a href="throwsConstraint.html">Throws Constraint</a></li>
|
134
|
+
<li><a href="compoundConstraints.html">Compound Constraints</a></li>
|
135
|
+
<li><a href="delayedConstraint.html">Delayed Constraint</a></li>
|
136
|
+
<li><a href="listMapper.html">List Mapper</a></li>
|
137
|
+
</ul>
|
138
|
+
<li><a href="attributes.html">Attributes</a></li>
|
139
|
+
<li><a href="nunit-console.html">Console Runner</a></li>
|
140
|
+
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
141
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
142
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
143
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
144
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
145
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
146
|
+
<li><a href="releaseNotes.html">Release Notes</a></li>
|
147
|
+
<li><a href="samples.html">Samples</a></li>
|
148
|
+
<li><a href="license.html">License</a></li>
|
149
|
+
</ul>
|
150
|
+
</ul>
|
151
|
+
</div>
|
152
|
+
<!-- End of Submenu -->
|
153
|
+
|
154
|
+
|
155
|
+
<!-- Standard Footer for NUnit.org -->
|
156
|
+
<div id="footer">
|
157
|
+
Copyright © 2009 Charlie Poole. All Rights Reserved.
|
158
|
+
</div>
|
159
|
+
<!-- End of Footer -->
|
160
|
+
|
161
|
+
</body>
|
162
|
+
</html>
|
data/docs/platform.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>
|
@@ -219,9 +219,12 @@ public class SuccessTests
|
|
219
219
|
<li>NT3</li>
|
220
220
|
<li>NT4</li>
|
221
221
|
<li>NT5</li>
|
222
|
+
<li>NT6</li>
|
222
223
|
<li>Win2K</li>
|
223
224
|
<li>WinXP</li>
|
224
225
|
<li>Win2003Server</li>
|
226
|
+
<li>Vista</li>
|
227
|
+
<li>Win2008Server</li>
|
225
228
|
<li>Unix</li>
|
226
229
|
<li>Linux</li>
|
227
230
|
<li>Net</li>
|
@@ -232,6 +235,8 @@ public class SuccessTests
|
|
232
235
|
<li>SSCLI</li>
|
233
236
|
<li>Rotor</li>
|
234
237
|
<li>Mono</li>
|
238
|
+
<li>Mono-1.0</li>
|
239
|
+
<li>Mono-2.0</li>
|
235
240
|
</ul>
|
236
241
|
|
237
242
|
</div>
|
@@ -239,33 +244,56 @@ public class SuccessTests
|
|
239
244
|
<!-- Submenu -->
|
240
245
|
<div id="subnav">
|
241
246
|
<ul>
|
242
|
-
<li><a href="index.html">NUnit 2.
|
247
|
+
<li><a href="index.html">NUnit 2.5</a></li>
|
243
248
|
<ul>
|
244
249
|
<li><a href="getStarted.html">Getting Started</a></li>
|
245
250
|
<li><a href="assertions.html">Assertions</a></li>
|
251
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
246
252
|
<li><a href="attributes.html">Attributes</a></li>
|
247
253
|
<ul>
|
248
254
|
<li><a href="category.html">Category</a></li>
|
255
|
+
<li><a href="combinatorial.html">Combinatorial</a></li>
|
249
256
|
<li><a href="culture.html">Culture</a></li>
|
257
|
+
<li><a href="datapoint.html">Datapoint(s)</a></li>
|
250
258
|
<li><a href="description.html">Description</a></li>
|
251
|
-
<li><a href="exception.html">
|
259
|
+
<li><a href="exception.html">Exception</a></li>
|
252
260
|
<li><a href="explicit.html">Explicit</a></li>
|
253
261
|
<li><a href="ignore.html">Ignore</a></li>
|
262
|
+
<li><a href="maxtime.html">Maxtime</a></li>
|
263
|
+
<li><a href="pairwise.html">Pairwise</a></li>
|
254
264
|
<li id="current"><a href="platform.html">Platform</a></li>
|
255
265
|
<li><a href="property.html">Property</a></li>
|
266
|
+
<li><a href="random.html">Random</a></li>
|
267
|
+
<li><a href="range.html">Range</a></li>
|
268
|
+
<li><a href="repeat.html">Repeat</a></li>
|
269
|
+
<li><a href="requiredAddin.html">RequiredAddin</a></li>
|
270
|
+
<li><a href="requiresMTA.html">Requires MTA</a></li>
|
271
|
+
<li><a href="requiresSTA.html">Requires STA</a></li>
|
272
|
+
<li><a href="requiresThread.html">Requires Thread</a></li>
|
273
|
+
<li><a href="sequential.html">Sequential</a></li>
|
256
274
|
<li><a href="setCulture.html">SetCulture</a></li>
|
257
275
|
<li><a href="setup.html">Setup</a></li>
|
258
|
-
<li><a href="setupFixture.html">
|
276
|
+
<li><a href="setupFixture.html">SetupFixture</a></li>
|
259
277
|
<li><a href="suite.html">Suite</a></li>
|
260
278
|
<li><a href="teardown.html">Teardown</a></li>
|
261
279
|
<li><a href="test.html">Test</a></li>
|
262
|
-
<li><a href="
|
263
|
-
<li><a href="
|
264
|
-
<li><a href="
|
280
|
+
<li><a href="testCase.html">TestCase</a></li>
|
281
|
+
<li><a href="testCaseSource.html">TestCaseSource</a></li>
|
282
|
+
<li><a href="testFixture.html">TestFixture</a></li>
|
283
|
+
<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
|
284
|
+
<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
|
285
|
+
<li><a href="theory.html">Theory</a></li>
|
286
|
+
<li><a href="timeout.html">Timeout</a></li>
|
287
|
+
<li><a href="values.html">Values</a></li>
|
288
|
+
<li><a href="valueSource.html">ValueSource</a></li>
|
265
289
|
</ul>
|
266
290
|
<li><a href="nunit-console.html">Console Runner</a></li>
|
267
291
|
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
268
|
-
<li><a href="
|
292
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
293
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
294
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
295
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
296
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
269
297
|
<li><a href="releaseNotes.html">Release Notes</a></li>
|
270
298
|
<li><a href="samples.html">Samples</a></li>
|
271
299
|
<li><a href="license.html">License</a></li>
|
@@ -277,7 +305,7 @@ public class SuccessTests
|
|
277
305
|
|
278
306
|
<!-- Standard Footer for NUnit.org -->
|
279
307
|
<div id="footer">
|
280
|
-
Copyright ©
|
308
|
+
Copyright © 2009 Charlie Poole. All Rights Reserved.
|
281
309
|
</div>
|
282
310
|
<!-- End of Footer -->
|
283
311
|
|