Update documentation for NUnit 2.4
|
@ -66,7 +66,7 @@ menu. It lists all addins that have been found and loaded by NUnit.</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -263,7 +263,7 @@ public void MyTest()
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -159,7 +159,7 @@ CollectionAssert.IsNotEmpty( Collection collection, string message,
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ Expect( new int[] { 1, 3 }, SubsetOf( iarray ) );
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -231,7 +231,7 @@ Assert.LessOrEqual( IComparable arg1, IComparable arg2, string message,
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ Expect( 3, AtMost(7));
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ Expect( 2.3, GreaterThan( 2.0 ) & LessThan( 3.0 ) );
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ or a collection.</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ Expect( collection, Unique );
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ existing configuration to use as a template.</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -52,10 +52,16 @@ is run, specific naming conventions must be followed.</p>
|
|||
file with the config extension. For example, the configuration file used to run nunit.tests.dll must
|
||||
be named nunit.tests.dll.config and located in the same directory as the dll.</p>
|
||||
|
||||
<p>If an NUnit project is being loaded, the configuration file uses the name of the project file with
|
||||
the extension <i>changed</i> to config. For example, the project AllTests.nunit would require a
|
||||
configuration file named AllTests.config, located in the same directory as AllTests.nunit. The
|
||||
same rule is followed when loading Visual Studio projects or solutions.</p>
|
||||
<p>If an NUnit project is being loaded into a single AppDomain, the configuration file uses the
|
||||
name of the project file with the extension <i>changed</i> to config. For example, the project
|
||||
AllTests.nunit would require a configuration file named AllTests.config, located in the same
|
||||
directory as AllTests.nunit. The same rule is followed when loading Visual Studio projects or solutions.</p>
|
||||
|
||||
<blockquote>
|
||||
<p><b>Note:</b> The above only applies if a single AppDomain is being used. If an NUnit
|
||||
project is loaded using a separate AppDomain for each assembly, then the individual
|
||||
configuration files for each of the assemblies are used.
|
||||
</blockquote>
|
||||
|
||||
<p>Generally, you should be able to simply copy your application config file and rename it as
|
||||
described above. However, see the next section if you wish to run tests compiled for an earlier
|
||||
|
@ -93,7 +99,7 @@ version of NUnit.</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -214,7 +214,7 @@ separate them.
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -133,7 +133,7 @@ Asser.IsTrue.
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -100,7 +100,7 @@ should give you a good idea of how to use it.
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ how to do this, see the <b>StringAssert</b> class in the NUnit source.</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ new applciations. If both are used, the Description attribute takes precedence.<
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -137,7 +137,7 @@ Expect( i3, Not.EqualTo( iunequal ) );
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -182,7 +182,7 @@ as equal. Special values are handled so that the following Asserts succeed:</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -294,7 +294,7 @@ namespace NUnitTests {
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -254,7 +254,7 @@ public class SuccessTests
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ including the GUI.</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ creating and running tests as <a href="multiAssembly.html">NUnit Test Projects</
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -114,7 +114,7 @@ FileAssert.AreNotEqual( string expected, string actual,
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -195,7 +195,7 @@ public class SuccessTests
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ public class SuccessTests
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -128,6 +128,8 @@ option:
|
|||
<p>The forms interface does <b>not</b> currently provide for specifying more than
|
||||
one assembly on the command line. Multiple-assembly projects must be loaded by
|
||||
specifying the name of a Visual Studio solution file or an NUnit test project.</p>
|
||||
<h4>Clearing the ShadowCopy Cache</h4>
|
||||
<p>The <b>/cleanup</b> option erases the shadow copy cache and exits.
|
||||
<h4>Displaying Help</h4>
|
||||
<p>The <b>/help</b> or <b>/?</b> option displays a message box containing a brief
|
||||
help message.</p>
|
||||
|
@ -166,7 +168,7 @@ option:
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -99,7 +99,7 @@ Assert.Contains( object anObject, IList collection,
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -247,7 +247,7 @@ public class SuccessTests
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
Двоичные данные
doc/img/addinsDialog.jpg
До Ширина: | Высота: | Размер: 23 KiB После Ширина: | Высота: | Размер: 22 KiB |
Двоичные данные
doc/img/assembliesTab.jpg
До Ширина: | Высота: | Размер: 62 KiB После Ширина: | Высота: | Размер: 61 KiB |
Двоичные данные
doc/img/console-mock.jpg
До Ширина: | Высота: | Размер: 57 KiB После Ширина: | Высота: | Размер: 58 KiB |
Двоичные данные
doc/img/displayTab.jpg
До Ширина: | Высота: | Размер: 30 KiB |
После Ширина: | Высота: | Размер: 30 KiB |
Двоичные данные
doc/img/generalTab.jpg
До Ширина: | Высота: | Размер: 43 KiB После Ширина: | Высота: | Размер: 40 KiB |
Двоичные данные
doc/img/gui-screenshot.jpg
До Ширина: | Высота: | Размер: 56 KiB После Ширина: | Высота: | Размер: 54 KiB |
Двоичные данные
doc/img/gui-verify.jpg
До Ширина: | Высота: | Размер: 59 KiB После Ширина: | Высота: | Размер: 56 KiB |
Двоичные данные
doc/img/miniGui.jpg
До Ширина: | Высота: | Размер: 46 KiB После Ширина: | Высота: | Размер: 46 KiB |
Двоичные данные
doc/img/resultTab.jpg
До Ширина: | Высота: | Размер: 16 KiB |
После Ширина: | Высота: | Размер: 32 KiB |
После Ширина: | Высота: | Размер: 32 KiB |
Двоичные данные
doc/img/testProperties.jpg
До Ширина: | Высота: | Размер: 31 KiB После Ширина: | Высота: | Размер: 37 KiB |
Двоичные данные
doc/img/testTab.jpg
До Ширина: | Высота: | Размер: 12 KiB |
Двоичные данные
doc/img/testsTab.JPG
До Ширина: | Высота: | Размер: 35 KiB |
|
@ -24,10 +24,10 @@
|
|||
|
||||
<div id="content">
|
||||
|
||||
<h2>NUnit 2.4 Release Candidate</h2>
|
||||
<h2>NUnit 2.4</h2>
|
||||
|
||||
<p>This documentation covers the NUnit 2.4 Release Candidate, version number
|
||||
2.4.0. Where applicable, we have marked sections with the version in which
|
||||
<p>This documentation covers the NUnit 2.4 final release, version number
|
||||
2.4.0.2. Where applicable, we have marked sections with the version in which
|
||||
a feature first appeared.</p>
|
||||
|
||||
<p>If you are new to NUnit, we suggest you begin by reading the
|
||||
|
@ -62,7 +62,7 @@
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -158,7 +158,7 @@ loading and running NUnitTests.nunit in the bin directory. All tests should pass
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ us know</a>.</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -53,7 +53,9 @@ should be saved.</p>
|
|||
<p>Reloads the currently loaded project using the latest saved copy of each assembly.</p>
|
||||
|
||||
<h4>Recent Files…</h4>
|
||||
<p>Displays a list of recently opened files from which the user is able to select one for opening.</p>
|
||||
<p>Displays a list of recently opened files from which the user is able to select one for opening.
|
||||
If you are running under a CLR version prior to 2.0, files that were last opened under 2.0 will not
|
||||
appear.</p>
|
||||
|
||||
<h4>Exit</h4>
|
||||
<p>Closes and exits the application. If a test is running, the user is given the opportunity to
|
||||
|
@ -70,16 +72,13 @@ is given the opportunity to save it.</p>
|
|||
<p>Switches the display to the mini-gui, which consists of the tree display
|
||||
only.</p>
|
||||
|
||||
<h4>Tabs</h4>
|
||||
<h4>Result Tabs</h4>
|
||||
<p>Displays a submenu that allows showing or hiding the tabs on the right
|
||||
hand side of the display.</p>
|
||||
|
||||
<blockquote>
|
||||
<h5>Errors, Not Run, etc.</h5>
|
||||
<h5>Errors & Failures, Tests Not Run, etc.</h5>
|
||||
<p>Selects the individual tabs to display.</p>
|
||||
|
||||
<h5>Show All</h5>
|
||||
<p>Causes all the tabs to display.</p>
|
||||
</blockquote>
|
||||
|
||||
<h4>Tree</h4>
|
||||
|
@ -164,14 +163,14 @@ project if necessary.</p>
|
|||
|
||||
<hr><h3>Test Menu</h3><hr>
|
||||
|
||||
<h4>Run All</h4>
|
||||
<p>Runs all the tests.</p>
|
||||
|
||||
<h4>Run Selected</h4>
|
||||
<p>Runs the test or tests that are selected in the tree. If checkboxes are visible,
|
||||
any checked tests are run by preference. This is the same function provided by
|
||||
the Run button.</p>
|
||||
|
||||
<h4>Run All</h4>
|
||||
<p>Runs all the tests.</p>
|
||||
|
||||
<h4>Run Failed</h4>
|
||||
<p>Runs only the tests that failed on the previous run.</p>
|
||||
|
||||
|
@ -194,8 +193,9 @@ the Run button.</p>
|
|||
|
||||
<hr><h3>Help Menu</h3><hr>
|
||||
|
||||
<h4>Help</h4>
|
||||
<p>Displays this documentation.</p>
|
||||
<h4>NUnit Help</h4>
|
||||
<p>Displays the NUnit documentation, if installed. Otherwise, attempts to
|
||||
connect to the NUnit web site.</p>
|
||||
|
||||
<h4>About NUnit…</h4>
|
||||
<p>Displays info about your version of NUnit and a link to the nunit.org site.</p>
|
||||
|
@ -234,7 +234,7 @@ the Run button.</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -124,7 +124,7 @@ and the user may need to place the directory containing the unmanaged dll on the
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -248,7 +248,7 @@ code of NUnit itself, since NUnit uses the same mechanism internally.</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<p>The Options Dialog is displayed using the Tools | Options menu item and allows the user to
|
||||
control some aspects of NUnit’s operation.</p>
|
||||
|
||||
<hr><h3>Display Tab</h3><hr>
|
||||
<hr><h3>General Options</h3><hr>
|
||||
|
||||
<h3>Recent Files</h3>
|
||||
|
||||
|
@ -38,7 +38,7 @@ If <b>Load most recent project at startup</b> is checked, the GUI will load the
|
|||
is run with a specific filename or with the <code>/noload</code> parameter.</p>
|
||||
|
||||
<div class="screenshot-right">
|
||||
<img src="img/displayTab.jpg"></div>
|
||||
<img src="img/generalOptions.jpg"></div>
|
||||
|
||||
<h3>Tree View</h3>
|
||||
|
||||
|
@ -54,20 +54,23 @@ is run with a specific filename or with the <code>/noload</code> parameter.</p>
|
|||
test nodes in the tree (grey display) – if it is not checked, result information for tests that do
|
||||
not seem to have changed will be retained.</p>
|
||||
|
||||
<h3>Test Output</h3>
|
||||
<h3>Visual Studio</h3>
|
||||
|
||||
<p>Check <b>Label Test Cases in Console output</b> to precede text in the output window with the name of the test that produced it.</p>
|
||||
<p>If <b>Enable Visual Studio Support</b> is checked, the user will be able to open Visual Studio projects
|
||||
and solutions and add Visual Studio projects to existing test projects.</p>
|
||||
|
||||
<p>Check <b>Display Failure ToolTips</b> to display the tip window over the
|
||||
Errors and Failures display and the stack trace. Clear it if you prefer not
|
||||
to see the tip window.</p>
|
||||
<h3>Shadow Copy</h3>
|
||||
|
||||
<p>Check <b>Enable Word Wrap in Error Display</b> to turn on word wrapping
|
||||
in the Errors and Failures display. While you can select this item and the
|
||||
preceding one at the same time, they do not interact well, so you will
|
||||
normally choose one or the other.</p>
|
||||
<p>NUnit normally uses .Net shadow-copying in order to allow you to edit
|
||||
and recompile assemblies while it is running. Uncheck this box to disable
|
||||
shadow-copy only if you have a particular problem that requires it.</p>
|
||||
|
||||
<hr><h3>Tests Tab</h3><hr>
|
||||
<p><b>Note:</b> If you are tempted to disable shadow copy in order to access
|
||||
files in the same directory as your assembly, you should be aware that there
|
||||
are alternatives. Consider using the Assembly.Codebase property rather than
|
||||
Assembly.Location.
|
||||
|
||||
<hr><h3>Test Load Options</h3><hr>
|
||||
|
||||
<h3>Test Structure</h3>
|
||||
|
||||
|
@ -79,7 +82,7 @@ normally choose one or the other.</p>
|
|||
shown as a sequential list of fixtures.
|
||||
|
||||
<div class="screenshot-right">
|
||||
<img src="img/testsTab.jpg"></div>
|
||||
<img src="img/testLoadOptions.jpg"></div>
|
||||
|
||||
<h3>Multiple Assemblies</h3>
|
||||
|
||||
|
@ -106,10 +109,51 @@ an automatic reload is initiated. This item is disabled on Windows 98 or ME.</p>
|
|||
<p>If <b>Re-run tests automatically</b> is checked, tests are re-run whenever a Reload
|
||||
takes place.</p>
|
||||
|
||||
<h3>Visual Studio</h3>
|
||||
<hr><h3>Test Output Options</h3><hr>
|
||||
|
||||
<h3>Test Results</h3>
|
||||
|
||||
<p>Check <b>Display Errors and Failures</b> to display the
|
||||
<b>Errors and Failures</b> tab, which shows information about failing tests.
|
||||
|
||||
<p>Check <b>Display Failure ToolTips</b> to display the tip window over the
|
||||
Errors and Failures display and the stack trace. Clear it if you prefer not
|
||||
to see the tip window.</p>
|
||||
|
||||
<div class="screenshot-right">
|
||||
<img src="img/testOutputOptions.jpg"></div>
|
||||
|
||||
<p>Check <b>Enable Word Wrap in Error Display</b> to turn on word wrapping
|
||||
in the Errors and Failures display. While you can select this item and the
|
||||
preceding one at the same time, they do not interact well, so you will
|
||||
normally choose one or the other.</p>
|
||||
|
||||
<p>Check <b>Display Tests Not Run</b> to display the
|
||||
<b>Tests Not Run</b> tab, which shows information about tests that were
|
||||
skipped or ignored.
|
||||
|
||||
<h3>Test Output</h3>
|
||||
|
||||
<p>Check <b>Display Console Standard Output</b> to display the
|
||||
<b>Console.Out</b> tab, which shows text written to the Console by your tests.
|
||||
|
||||
<p>Check <b>Label Test Cases</b> to precede text in the output window with the
|
||||
name of the test that produced it.</p>
|
||||
|
||||
<p>Check <b>Display Console Error Output</b> to display text written to
|
||||
Console.Error by your tests.
|
||||
|
||||
<p>Select <b>In Separate Tab</b> to show error output in the <b>Console.Error</b> tab.
|
||||
<p>Select <b>Merge with Console Output</b> to hide the <b>Console.Error</b> tab
|
||||
and display error output in the <b>Console.Out</b> tab.
|
||||
|
||||
<p>Check <b>Display Trace Output</b> to display trace output written by your tests.
|
||||
|
||||
<p>Select <b>In Separate Tab</b> to show trace output in the <b>Trace Output</b> tab.
|
||||
<p>Select <b>Merge with Console Output</b> to hide the <b>Trace Output</b> tab
|
||||
and display trace output in the <b>Console.Out</b> tab.
|
||||
|
||||
|
||||
<p>If <b>Enable Visual Studio Support</b> is checked, the user will be able to open Visual Studio projects
|
||||
and solutions and add Visual Studio projects to existing test projects.</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -145,7 +189,7 @@ and solutions and add Visual Studio projects to existing test projects.</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -283,7 +283,7 @@ public class SuccessTests
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
one build with .Net 2.0. Users may also build NUnit on other platforms.
|
||||
|
||||
<p>The following table lists the platforms under which we have successfully built
|
||||
and tested NUnit. We have heard of people building and running NUnit under OS/X,
|
||||
and tested NUnit. We have heard of people building and running NUnit under OSX,
|
||||
but have not tested it ourselves. If you have information about other platforms
|
||||
on which you have built or run NUnit, please let us know.
|
||||
|
||||
|
@ -78,7 +78,7 @@ on which you have built or run NUnit, please let us know.
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -65,12 +65,7 @@ specified manually or using this editor or placed in the configuration file.</p>
|
|||
|
||||
<h3>Assemblies Tab</h3>
|
||||
|
||||
<p>The assemblies tab contains the list of assemblies that form part of this test project. A checkbox is
|
||||
used to indicate which assemblies contain tests. This allows use of the automatically generated
|
||||
private bin path by including assemblies that the tests depend upon but leaving the box
|
||||
unchecked. The GUI does not attempt to load these unchecked assemblies but does use their
|
||||
locations in generating the PrivateBinPath and also watches them for changes, if automatic
|
||||
reloading of tests is enabled.</p>
|
||||
<p>The assemblies tab contains the list of assemblies that form part of this test project.</p>
|
||||
|
||||
<p>Note: Although the dialog shows the location of assemblies as absolute paths, they are always
|
||||
persisted in the NUnit project file as paths relative to the application base. This allows moving
|
||||
|
@ -126,7 +121,7 @@ configuration.</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -217,7 +217,7 @@ public void MyTest()
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -305,7 +305,7 @@ public void TransferWithInsufficientFundsAtomicity()
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -32,7 +32,67 @@ dt { font-weight: bold }
|
|||
|
||||
<h2>Release Notes</h2>
|
||||
|
||||
<h3>NUnit 2.4 Release Candidate (2.4.0) - February 25, 2007</h3>
|
||||
<h3>NUnit 2.4 Final Release (2.4.0.2) - March 16, 2007</h3>
|
||||
|
||||
<h4>Gui</h4>
|
||||
|
||||
<ul>
|
||||
<li>A new /cleanup commandline option deletes NUnit's shadow copy
|
||||
cache and then exits.
|
||||
|
||||
<li>When NUnit is run under .Net 1.1, assemblies built with .Net 2.0
|
||||
are not displayed in the recent files list. NUnit automatically loads
|
||||
the last assembly that was opened under .Net 1.1.
|
||||
<br><br>
|
||||
<b>Note:</b> When a program built with .Net 1.1 is run under .Net 2.0,
|
||||
it will not appear in the Recent Files list the next time NUnit is run
|
||||
under .Net 1.1. This issue will be fixed in a future release.
|
||||
|
||||
<li>When the NUnit documentation is not installed, the Help menu item
|
||||
now displays the NUnit web site.
|
||||
</ul>
|
||||
|
||||
<h4>Bug Fixes</h4>
|
||||
|
||||
<ul>
|
||||
<li>The user interface (NUnitForm.cs) was not properly displayed at
|
||||
design time due to a problem with detecting DesignMode in nested
|
||||
User Controls.
|
||||
|
||||
<li>CollectionConstraint was failing to find contained items in
|
||||
a collection implementing ICollection only - that is not implementing
|
||||
IList. This is now fixed and all collections use the same code path
|
||||
to avoid future problems.
|
||||
|
||||
<li>The Tree setting "Show Checkboxes" was not being saved properly.
|
||||
|
||||
<li>Many of NUnit's own tests were leaving files in the shadow
|
||||
copy cache due to not closing the test domain.
|
||||
|
||||
<li>NUnit was attempting to instantiate an abstract class, derived
|
||||
from another abstract class marked with TestFixtureAttribute. NUnit
|
||||
will now mark all abstract classes with this attribute, or inheriting
|
||||
from classes with this attribute as non-runnable.
|
||||
</ul>
|
||||
|
||||
<h3>NUnit 2.4 RC2 (2.4.0.1) - March 9, 2007</h3>
|
||||
|
||||
<h4>Framework</h4>
|
||||
|
||||
<ul>
|
||||
<li>The Is class has been moved to the SyntaxHelpers namespace in order
|
||||
to eliminate conflicts with mock object frameworks. Additional helper
|
||||
classes <b>List</b>, <b>Has</b> and <b>Text</b> have been added.
|
||||
<li>The <b>AssertionHelper</b> class has been added as an optional
|
||||
base class for user fixtures. Use of this class as a base makes methods
|
||||
available for creating constraints needing to use one of the helper
|
||||
classes.
|
||||
|
||||
<li>A PropertyConstraint has been added, which allows testing the
|
||||
value of one of an object's properties.
|
||||
</ul>
|
||||
|
||||
<h3>NUnit 2.4 RC1 (2.4.0) - February 25, 2007</h3>
|
||||
|
||||
<h4>General</h4>
|
||||
|
||||
|
@ -596,7 +656,7 @@ Cumulative notes through NUnit 2.2.9 are available <a href="docs/2.2.9/releaseNo
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ Expect( ex3, Not.SameAs( ex1 ) );
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ by language, with an additional folder for Extensility examples.
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -193,7 +193,7 @@ public class SuccessTests
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@ public class MySetUpClass
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ StringAssert.IsMatch( string expected, string actual,
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ Expect( phrase, Matches( "Make.*pass" ) );
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -197,7 +197,7 @@ public class SuccessTests
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -169,7 +169,7 @@ public class SuccessTests
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -170,7 +170,7 @@ public class SuccessTests
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ which causes it to remain open as the user clicks on different tests.</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ Assert.IsNotAssignableFrom( Type expected, object actual,
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ Expect( "Hello", AssignableFrom(typeOf(string)));
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ versions of NUnit 2.x without recompilation.</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ public void AssertStringContains( string expected, string actual,
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ specified in the VS project.</p>
|
|||
|
||||
<!-- Standard Footer for NUnit.org -->
|
||||
<div id="footer">
|
||||
Copyright © 2006 Charlie Poole. All Rights Reserved.
|
||||
Copyright © 2007 Charlie Poole. All Rights Reserved.
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
|
||||
|
|