Updated the docs to work with an ASP.NET website
This commit is contained in:
Родитель
641cdfe91a
Коммит
eb783f0f29
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.6") ?>
|
||||
unchangedSince("2.6")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4.6") ?>
|
||||
unchangedSince("2.4.6")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4") ?>
|
||||
unchangedSince("2.4")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.6") ?>
|
||||
unchangedSince("2.6")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4.1") ?>
|
||||
unchangedSince("2.4.1")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.6") ?>
|
||||
unchangedSince("2.6")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4") ?>
|
||||
unchangedSince("2.4")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.4") ?>
|
||||
unchangedSince("2.5.4")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4.2") ?>
|
||||
unchangedSince("2.4.2")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4") ?>
|
||||
unchangedSince("2.4")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.6") ?>
|
||||
unchangedSince("2.6")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.5") ?>
|
||||
unchangedSince("2.5.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4") ?>
|
||||
unchangedSince("2.4")
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
the area of parameterized or data-driven testing.
|
||||
|
||||
<p>If you are new to NUnit, we suggest you begin by reading the
|
||||
<?php echo nunit_doc_link( "getStarted", "Getting Started" ) ?> section of this site.
|
||||
nunit_doc_link( "getStarted", "Getting Started" ) section of this site.
|
||||
Those who have used earlier releases may want to begin with the
|
||||
<?php echo nunit_doc_link( "upgrade", "Upgrading" ) ?> section.</p>
|
||||
nunit_doc_link( "upgrade", "Upgrading" ) section.</p>
|
||||
|
||||
<p>See the
|
||||
<?php echo nunit_doc_link( "releaseNotes", "Release Notes" ) ?>
|
||||
nunit_doc_link( "releaseNotes", "Release Notes" )
|
||||
for more information on this release.</p>
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.6") ?>
|
||||
unchangedSince("2.6")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4.4") ?>
|
||||
unchangedSince("2.4.4")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.2") ?>
|
||||
unchangedSince("2.5.2")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4") ?>
|
||||
unchangedSince("2.4")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4.7") ?>
|
||||
unchangedSince("2.4.7")
|
||||
|
|
Двоичные данные
docs/1.0/files/Thumbs.db
Двоичные данные
docs/1.0/files/Thumbs.db
Двоичный файл не отображается.
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.2.3") ?>
|
||||
unchangedSince("2.2.3")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4") ?>
|
||||
unchangedSince("2.4")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4.2") ?>
|
||||
unchangedSince("2.4.2")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1,102 +0,0 @@
|
|||
/* HTML Elements */
|
||||
html, body { margin: 0; padding: 0; }
|
||||
body { font: 90% "Verdana", "Arial", "Helvetica", sans-serif; }
|
||||
img { border: none; padding: 0; margin: 0;}
|
||||
table { font: 1em "Verdana", "Arial", "Helvetica", sans-serif; }
|
||||
h1 { font-size: 1.8em; font-weight: bold; }
|
||||
h2 { font-size: 1.5em; font-weight: bold; }
|
||||
h3 { font-size: 1.2em; font-weight: bold; }
|
||||
h4 { font-size: 1em; font-weight: bold; margin: 0; padding: 0; }
|
||||
ul.across { width: 100%; display: block; list-style: none }
|
||||
ul.across li { float: left; display: block; width: 9em }
|
||||
|
||||
/* Masthead and Main Menu */
|
||||
#header { margin: 0; padding: 0; width: 100%; }
|
||||
#header img { border: none; padding: 0; margin: 0;}
|
||||
#header #logo { margin: 0; padding: 0; position: absolute; top: 15px; left: 15px}
|
||||
#header #nav { min-width: 670px; margin: 25px 0 10px 200px; padding: 15px 0 15px 5px;
|
||||
border-top: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black;
|
||||
white-space: nowrap; }
|
||||
/* Hide from IE-mac \*/
|
||||
* html #nav { height: 1%; }
|
||||
/* End of IE-mac hack */
|
||||
|
||||
#nav a{ text-decoration: none; color: #000; font: 1em "Times New Roman", Roman, serif;
|
||||
text-transform: uppercase; margin: 0 5px; padding: 5px 10px; border: 1px solid black; }
|
||||
#nav a.active { background: #999; }
|
||||
#nav a:hover { background: #CCC; }
|
||||
|
||||
/* Submenu */
|
||||
#subnav { position: absolute; top: 100px; left: 76%; background-color: #ffd;
|
||||
width: 24%; margin: 1em 0 0; padding: .25em ; border: solid #ccc;
|
||||
border-width: .1em 0 .1em .1em; }
|
||||
#subnav ul { margin: 0; padding: 0; list-style: none; }
|
||||
#subnav li{ margin: 0; padding: 2px 0 2px; }
|
||||
#subnav a { font: 1em "Times New Roman", Roman, serif; margin: 0; padding: 0 0 0 26px;
|
||||
text-transform: uppercase; text-decoration: none; color: #000; white-space: nowrap;
|
||||
background: url(img/bulletOff.gif) no-repeat 10px 50%; display: block}
|
||||
#subnav ul ul a { padding: 0 0 0 46px; background-position: 30px 50%; }
|
||||
#subnav ul ul ul a { padding: 0 0 0 66px; background-position: 50px 50%; }
|
||||
#subnav ul ul ul ul a { padding: 0 0 0 86px; background-position: 70px 50%; }
|
||||
#subnav li#current a{ background-image: url(img/bulletOn.gif) }
|
||||
#subnav li a:hover { background-image: url(img/bulletOn.gif) }
|
||||
|
||||
/* Main Content */
|
||||
#content { margin: 3em 25% 0 0; padding: 0 5% 1em 5%; border: 1px solid red}
|
||||
#content.wide { margin: 3em 0 0 0; padding: 0 5% 1em 5%; }
|
||||
#content p { padding: 0; margin: 0 0 1em 0; max-width: 660px; border: 1px solid #c00}
|
||||
#content blockquote { max-width: 580px }
|
||||
#content div.screenshot { text-align: center; margin: 1em 0; }
|
||||
#content div.screenshot-left { text-align: center; float: left; margin: 0, 1em, 0, 0; }
|
||||
#content div.screenshot-right { text-align: center; float: right; margin: 0, 0, 0, 1em; }
|
||||
#content img { padding: 0; margin: 0; border: 0 }
|
||||
|
||||
/* Page Footer */
|
||||
#footer { text-align: center; font-size: .8em; color: #444; clear: both;
|
||||
border-top: 2px solid #999; margin: 0 30% 10px 5%; padding: 5px 0 0 0; }
|
||||
#sig { text-align: right; font-size: .8em; width: 95%; display: none }
|
||||
|
||||
table.nunit { margin: 1em 5%; padding: 0; width: auto; border-collapse: collapse; }
|
||||
table.nunit td { border: 1px solid black; padding: 10px; text-align: left }
|
||||
table.nunit th { background: #eef; font-weight: bold; }
|
||||
|
||||
table.articles { margin: 20px 0 0 5%; padding: 0 10px 0 0; }
|
||||
|
||||
table.downloads { margin: 1em 5%; padding: 0; width: 24em; border-collapse: collapse; }
|
||||
table.downloads td, table.downloads th { border: 1px solid black; padding: 2px; text-align: left }
|
||||
table.downloads th { background: #eef; font-weight: bold; }
|
||||
|
||||
table.roadmap { margin: 1em 0; padding: 0; width: auto; border-collapse: collapse; }
|
||||
table.roadmap td, table.roadmap th { border: 1px solid black; padding: 10px; text-align: left }
|
||||
table.roadmap th { background: #eef; font-weight: bold; }
|
||||
|
||||
table.constraints { margin: 1em 5%; padding: 0; width: auto; border-collapse: collapse; }
|
||||
table.constraints td, table.roadmap th { border: 1px solid black; padding: 10px; text-align: left }
|
||||
table.constraints th { background: #eef; font-weight: bold; }
|
||||
|
||||
table.quote { margin-left: 30px; margin-right: 30px; background: #FFFFFF; border: 3px black solid;
|
||||
font: 1.1em/1.5em "Times New Roman", Roman, serif; font-variant: small-caps;
|
||||
letter-spacing: .1em; padding: 0 }
|
||||
table.quote td { padding: 0 }
|
||||
table.quote td.sig { border-left: solid black 1px; padding-left: 15px }
|
||||
|
||||
#news { position: absolute; top: 100px; left: 76%; border-left: 1px solid black;
|
||||
width: 14%; margin: 1em 0 0; padding: 0 5%; font-size: .8em; background-color: #fff }
|
||||
#news h4 { font: 1.2em "Times New Roman", Roman, serif; font-variant: small-caps; text-align: center; margin: 0 0 1em; }
|
||||
|
||||
div.code { border: .1em solid #ccc; background-color: #eef; width: 36em;
|
||||
margin: 1.5em 0; padding: 0; position: relative; }
|
||||
div.code pre { font: .8em "Courier New", Courier, monospace; margin: 0 1em .25em; }
|
||||
div.code div.langFilter { position: absolute; top: -15px; left: 0; }
|
||||
.dropdown { position: absolute; left: 14px; top: 0; padding: 0 10px; width: 20px;
|
||||
text-align: left; border: 1px solid #ccc; background-color: #ffd; }
|
||||
|
||||
#content.wide p { width: expression( document.documentElement.clientWidth > 700 ? "660px" : "auto" ); }
|
||||
#content.wide blockquote { width: expression( document.documentElement.clientWidth > 700 ? "580px" : "auto" ); }
|
||||
|
||||
//pre, .programText { font-family: "Courier New", Courier, Monospace; color: #000; font-size: 1em }
|
||||
|
||||
// The following was needed for IE in quirks mode - probably still needed for IE 5
|
||||
// div.code div.langFilter { position: absolute; top: -14px; left: -1em; }
|
||||
|
||||
// Special handling for absence of max-width in IE
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.1") ?>
|
||||
unchangedSince("2.5.1")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.9") ?>
|
||||
unchangedSince("2.5.9")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4.2") ?>
|
||||
unchangedSince("2.4.2")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.1") ?>
|
||||
unchangedSince("2.5.1")
|
||||
|
|
|
@ -7,11 +7,11 @@ dt { font-weight: bold }
|
|||
<h2>Release Notes</h2>
|
||||
|
||||
<div style="max-width:660px;text-align:right">
|
||||
<a href="index.php?p=releaseNotes&r=2.6.2">View combined changes for each NUnit version</a>
|
||||
<a href="/Documentation?p=releaseNotes&r=2.6.2">View combined changes for each NUnit version</a>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
include "docs/2.6.2/releaseDetail.html";
|
||||
include "docs/2.6.1/releaseDetail.html";
|
||||
include "docs/2.6/releaseDetail.html";
|
||||
?>
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.6") ?>
|
||||
unchangedSince("2.5.6")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.9") ?>
|
||||
unchangedSince("2.5.9")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.1") ?>
|
||||
unchangedSince("2.5.1")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4.2") ?>
|
||||
unchangedSince("2.4.2")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.2") ?>
|
||||
unchangedSince("2.5.2")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4") ?>
|
||||
unchangedSince("2.4")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.3") ?>
|
||||
unchangedSince("2.5.3")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4.4") ?>
|
||||
unchangedSince("2.4.4")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
values, provided that NUnit is told what values to use for the
|
||||
arguments and how to handle the return value. For more information
|
||||
on these capabilities, see
|
||||
<?php echo nunit_doc_link("parameterizedTests", "Parameterized Tests" ) ?>
|
||||
nunit_doc_link("parameterizedTests", "Parameterized Tests" )
|
||||
as well as some of the related attributes
|
||||
listed at the end of this page.
|
||||
|
||||
|
@ -122,6 +122,6 @@ public class SuccessTests
|
|||
<h4>See also...</h4>
|
||||
|
||||
<ul>
|
||||
<li><?php echo nunit_doc_link("parameterizedTests", "Parameterized Tests" ) ?>
|
||||
<li><?php echo nunit_doc_link("testCase", "TestCaseAttribute" ) ?>
|
||||
<li> nunit_doc_link("parameterizedTests", "Parameterized Tests" )
|
||||
<li> nunit_doc_link("testCase", "TestCaseAttribute" )
|
||||
</ul>
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.6") ?>
|
||||
unchangedSince("2.6")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.6") ?>
|
||||
unchangedSince("2.6")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.10") ?>
|
||||
unchangedSince("2.5.10")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.6") ?>
|
||||
unchangedSince("2.6")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.2") ?>
|
||||
unchangedSince("2.5.2")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.5") ?>
|
||||
unchangedSince("2.5.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.2.3") ?>
|
||||
unchangedSince("2.2.3")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.4") ?>
|
||||
unchangedSince("2.4")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5") ?>
|
||||
unchangedSince("2.5")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.1") ?>
|
||||
unchangedSince("2.5.1")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.5.1") ?>
|
||||
unchangedSince("2.5.1")
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
<p>NUnitLite tests may be written using any .NET language that supports attributes.
|
||||
|
||||
<p><?php echo nunit_doc_link("attributes", "Attributes") ?> are used to indicate
|
||||
<p> nunit_doc_link("attributes", "Attributes") are used to indicate
|
||||
test classes and methods and to modify their behavior in various ways.
|
||||
|
||||
<p><?php echo nunit_doc_link("assertions", "Assertions") ?> test an actual value
|
||||
against one or more <?php echo nunit_doc_link("constraintModel", "Constraints") ?>
|
||||
<p> nunit_doc_link("assertions", "Assertions") test an actual value
|
||||
against one or more nunit_doc_link("constraintModel", "Constraints")
|
||||
and result in either a successful test or a failure.
|
||||
|
||||
<p>User code may acquire information about the test and it's environment by
|
||||
use of the <?php echo nunit_doc_link("testContext", "Test Context") ?>.
|
||||
use of the nunit_doc_link("testContext", "Test Context").
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
provided text and arguments.</p>
|
||||
|
||||
<p>For convenience of presentation, we list the available assertions in three
|
||||
groups: <?php echo nunit_doc_link( "comparisonAsserts", "comparisons" ) ?>, single
|
||||
<?php echo nunit_doc_link( "conditionAsserts", "condition tests" ) ?> and
|
||||
<?php echo nunit_doc_link( "utilityAsserts", "utility methods" ) ?>.</p>
|
||||
groups: nunit_doc_link( "comparisonAsserts", "comparisons" ), single
|
||||
nunit_doc_link( "conditionAsserts", "condition tests" ) and
|
||||
nunit_doc_link( "utilityAsserts", "utility methods" ).</p>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
supports the following operations:</p>
|
||||
|
||||
<div class="screenshot-right">
|
||||
<?php echo nunit_doc_img( "configEditor.jpg" ) ?>
|
||||
nunit_doc_img( "configEditor.jpg" )
|
||||
</div>
|
||||
|
||||
<h3>Remove</h3>
|
||||
|
|
|
@ -47,8 +47,8 @@ separate them.
|
|||
<p><b>Note:</b>In the current release, you may choose to either include or exclude
|
||||
categories in a run, but not both. For a clear understanding of how category
|
||||
selection works, review the documentation for both the
|
||||
<?php echo nunit_doc_link( "category", "Category Attribute" ) ?> and the
|
||||
<?php echo nunit_doc_link( "explicit", "Explicit Attribute" ) ?>.</p>
|
||||
nunit_doc_link( "category", "Category Attribute" ) and the
|
||||
nunit_doc_link( "explicit", "Explicit Attribute" ).</p>
|
||||
<h4>Redirecting Output</h4>
|
||||
<p>The output that is normally shown on the console may be redirected to a file.
|
||||
This includes output created by the test program as well as what NUnit itself
|
||||
|
@ -79,8 +79,8 @@ separate them.
|
|||
</p>
|
||||
<p><b>Note:</b> For additional information see the XML schema for the test results.
|
||||
This file is in the same directory as the executable and is called
|
||||
<?php echo nunit_doc_file( "Results.xsd" ) ?>.
|
||||
The default transform <?php echo nunit_doc_file( "Summary.xslt" ) ?>
|
||||
nunit_doc_file( "Results.xsd" ).
|
||||
The default transform nunit_doc_file( "Summary.xslt" )
|
||||
is located in the core source directory.</p>
|
||||
<h4>Specifying which Configuration to run</h4>
|
||||
<p>When running tests from a Visual Studio or NUnit project, the first
|
||||
|
|
|
@ -12,4 +12,4 @@
|
|||
<p>Collapses the selected test node – invisible if the node is collapsed or has no children.</p>
|
||||
|
||||
<h4>Properties</h4>
|
||||
<p>Displays the <?php echo nunit_doc_link( "testProperties", "Test Properties" ) ?> for the selected test node.</p>
|
||||
<p>Displays the nunit_doc_link( "testProperties", "Test Properties" ) for the selected test node.</p>
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
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
|
||||
<?php echo nunit_doc_link( "getStarted", "Getting Started" ) ?> section of this site.
|
||||
nunit_doc_link( "getStarted", "Getting Started" ) section of this site.
|
||||
Those who have used earlier releases may want to begin with the
|
||||
<?php echo nunit_doc_link( "upgrade", "Upgrading" ) ?> section.</p>
|
||||
nunit_doc_link( "upgrade", "Upgrading" ) section.</p>
|
||||
|
||||
<p>NUnit 2.2 was the first release of NUnit, for which the documentation was packaged
|
||||
in HTML format. At the time of its release, some documentation had not yet been
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
<h2>NUnit Features</h2>
|
||||
|
||||
<p>In order to test an application under NUnit, you write test code that is
|
||||
specially annotated using custom <?php echo nunit_doc_link( "attributes", "Attributes" ) ?>.
|
||||
Your test code contains <?php echo nunit_doc_link( "assertions", "Assertions" ) ?>, which
|
||||
specially annotated using custom nunit_doc_link( "attributes", "Attributes" ).
|
||||
Your test code contains nunit_doc_link( "assertions", "Assertions" ), which
|
||||
demonstrate the correct working of the application.</p>
|
||||
|
||||
<p>If your application stores settings in <?php echo nunit_doc_link( "configFiles", "Configuration Files" ) ?>,
|
||||
<p>If your application stores settings in nunit_doc_link( "configFiles", "Configuration Files" ),
|
||||
NUnit provides you with the ability to have settings for your test, which are different
|
||||
from those uesed in production.</p>
|
||||
|
||||
<p>In addition to running tests in a single assembly, NUnit provides support for tests
|
||||
organized as <?php echo nunit_doc_link( "multiAssembly", "Multiple Assemblies" ) ?> and for
|
||||
creating and running tests as <?php echo nunit_doc_link( "projects", "NUnit Test Projects" ) ?>.
|
||||
organized as nunit_doc_link( "multiAssembly", "Multiple Assemblies" ) and for
|
||||
creating and running tests as nunit_doc_link( "projects", "NUnit Test Projects" ).
|
||||
|
||||
<p>For those using NUnit on a Windows system with Visual Studio installed,
|
||||
<?php echo nunit_doc_link( "vsSupport", "Visual Studio Support" ) ?> is available.
|
||||
nunit_doc_link( "vsSupport", "Visual Studio Support" ) is available.
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
<h2>Getting Started with NUnit</h2>
|
||||
|
||||
<p>If you haven't already done so, go to our <?php echo nunit_link( "download", "Download" ) ?>
|
||||
<p>If you haven't already done so, go to our nunit_link( "download", "Download" )
|
||||
page, select a version of NUnit and download it. The
|
||||
<?php echo nunit_doc_link( "installation", "Installation" ) ?> page
|
||||
nunit_doc_link( "installation", "Installation" ) page
|
||||
contains instructions for installing on your system.</p>
|
||||
|
||||
<p>To get started using NUnit, read the <?php echo nunit_doc_link( "quickStart", "Quick Start" ) ?>
|
||||
<p>To get started using NUnit, read the nunit_doc_link( "quickStart", "Quick Start" )
|
||||
page. This article demonstrates the development process with NUnit in the
|
||||
context of a C# banking application. Check the
|
||||
<?php echo nunit_doc_link( "samples", "Samples" ) ?> page for additional examples,
|
||||
nunit_doc_link( "samples", "Samples" ) page for additional examples,
|
||||
including some in VB.Net, J# and managed C++.</p>
|
||||
|
||||
<h3>Which Test Runner to use?</h3>
|
||||
|
||||
<p>NUnit has two different ways to run your tests. The
|
||||
<?php echo nunit_doc_link( "nunit-console", "console runner" ) ?>, nunit-console.exe,
|
||||
nunit_doc_link( "nunit-console", "console runner" ), nunit-console.exe,
|
||||
is the fastest to launch, but is not interactive.
|
||||
The <?php echo nunit_doc_link( "nunit-gui", "gui runner" ) ?>,
|
||||
The nunit_doc_link( "nunit-gui", "gui runner" ),
|
||||
nunit-gui.exe, is a Windows Forms application that allows you to work
|
||||
selectively with your tests and provides graphical feedback.</p>
|
||||
|
|
Двоичные данные
docs/2.1/img/Thumbs.db
Двоичные данные
docs/2.1/img/Thumbs.db
Двоичный файл не отображается.
|
@ -35,7 +35,7 @@ the program and run the tests that were used to build the program. These tests
|
|||
can be found in the assembly nunit.tests.dll. There should be 605 tests and
|
||||
they should all pass.</p>
|
||||
<div class="screenshot">
|
||||
<?php echo nunit_doc_img( "gui-verify.gif" ) ?>
|
||||
nunit_doc_img( "gui-verify.gif" )
|
||||
</div>
|
||||
<h3>Timing Tests</h3>
|
||||
<p>The assembly timing-tests.dll contains several long-running tests that are used
|
||||
|
|
|
@ -70,7 +70,7 @@ is given the opportunity to save it.</p>
|
|||
configuration and specifying an existing configuration to use as a template.</p>
|
||||
|
||||
<h5>Edit…</h5>
|
||||
<p>Opens the <?php echo nunit_doc_link( "configEditor", "Configuration Editor" ) ?>.</p>
|
||||
<p>Opens the nunit_doc_link( "configEditor", "Configuration Editor" ).</p>
|
||||
|
||||
<h4>Add Assembly…</h4>
|
||||
<p>Displays a FileOpen dialog to allow selecting an assembly to be added to the active
|
||||
|
@ -83,7 +83,7 @@ for each configuration specified in the VS project, creating new configurations
|
|||
project if necessary.</p>
|
||||
|
||||
<h4>Edit…</h4>
|
||||
<p>Opens the <?php echo nunit_doc_link( "projectEditor", "Project Editor" ) ?>.</p>
|
||||
<p>Opens the nunit_doc_link( "projectEditor", "Project Editor" ).</p>
|
||||
|
||||
<h3>Tools</h3>
|
||||
|
||||
|
@ -94,7 +94,7 @@ project if necessary.</p>
|
|||
<p>Displays detailed information about the last exception.</p>
|
||||
|
||||
<h4>Options</h4>
|
||||
<p>Displays the <?php echo nunit_doc_link( "optionsDialog", "Options Dialog" ) ?>.</p>
|
||||
<p>Displays the nunit_doc_link( "optionsDialog", "Options Dialog" ).</p>
|
||||
|
||||
<h3>Help</h3>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ the root suite for each assembly. Tests are run and reported just as for a singl
|
|||
<h3>Adhoc Usage</h3>
|
||||
|
||||
<p>Using the console runner, multiple assemblies may be run simply by specifying their names on the
|
||||
command line. See <?php echo nunit_doc_link( "consoleCommandLine", "NUnit-Console Command Line Options" ) ?> for
|
||||
command line. See nunit_doc_link( "consoleCommandLine", "NUnit-Console Command Line Options" ) for
|
||||
an example of this usage.</p>
|
||||
|
||||
<p>The gui runner does not support specifying multiple assemblies on the command-line.
|
||||
|
@ -40,7 +40,7 @@ configuration is currently active. By default, the assemblies will be loaded usi
|
|||
containing this file as the ApplicationBase. The PrivateBinPath will be set automatically to
|
||||
<code>LibraryCore\bin\Debug;LibraryUI\bin\Debug</code> or to the corresonding release path.
|
||||
XML attributes are used to specify non-default values for the ApplicationBase, Configuration
|
||||
File and PrivateBinPath. The <?php echo nunit_doc_link( "projectEditor", "Project Editor" ) ?> may
|
||||
File and PrivateBinPath. The nunit_doc_link( "projectEditor", "Project Editor" ) may
|
||||
be used to create or modify NUnit projects.</p>
|
||||
|
||||
<p>Even when you are running a single test assembly, NUnit creates an internal project
|
||||
|
@ -48,7 +48,7 @@ to contain that assembly. If you are using the gui, you can save this project, e
|
|||
add additional assemblies, etc. Note that the gui does not display the internal project
|
||||
unless you add assemblies or modify it in some other way.
|
||||
|
||||
<p>If you use <?php echo nunit_doc_link( "vsSupport", "Visual Studio Support" ) ?> to load Visual
|
||||
<p>If you use nunit_doc_link( "vsSupport", "Visual Studio Support" ) to load Visual
|
||||
Studio .Net project or solution files, NUnit converts them to Test projects internally.
|
||||
As with other internal projects, these test projects are not saved automatically but may
|
||||
be saved by use of the File menu.</p>
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
program.</p>
|
||||
|
||||
<div class="screenshot">
|
||||
<?php echo nunit_doc_img( "console-mock.gif" ) ?></div>
|
||||
nunit_doc_img( "console-mock.gif" )</div>
|
||||
|
||||
<p>In this example, nunit-console has just run the tests in the mock-assembly.dll
|
||||
that is part of the NUnit distribution. This assembly contains seven tests,
|
||||
three of which are not run. The first ignored test has an incorrect method
|
||||
signature, the second has been marked with the Ignore attribute and the third
|
||||
uses the Explicit attribute, so that it can only be run directly. Click
|
||||
<?php echo nunit_doc_file( "TestResult.xml", "here" ) ?> to see the XML produced for this test run.</p>
|
||||
nunit_doc_file( "TestResult.xml", "here" ) to see the XML produced for this test run.</p>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
previous example.</p>
|
||||
|
||||
<div class="screenshot">
|
||||
<?php echo nunit_doc_img( "gui-screenshot.gif" ) ?>
|
||||
nunit_doc_img( "gui-screenshot.gif" )
|
||||
</div>
|
||||
|
||||
<p>As you can see, the tests that were not run are marked with a yellow circle,
|
||||
|
|
|
@ -1,90 +0,0 @@
|
|||
/* HTML Elements */
|
||||
html, body { margin: 0; padding: 0; }
|
||||
body { font: 90% "Verdana", "Arial", "Helvetica", sans-serif; }
|
||||
img { border: none; padding: 0; margin: 0;}
|
||||
table { font: 1em "Verdana", "Arial", "Helvetica", sans-serif; }
|
||||
h1 { font-size: 1.8em; font-weight: bold; }
|
||||
h2 { font-size: 1.5em; font-weight: bold; }
|
||||
h3 { font-size: 1.2em; font-weight: bold; }
|
||||
h4 { font-size: 1em; font-weight: bold; margin: 0; padding: 0; }
|
||||
ul.across { width: 100%; display: block; list-style: none; }
|
||||
ul.across li { float: left; display: block; width: 9em }
|
||||
|
||||
/* Masthead and Main Menu */
|
||||
#header { margin: 0; padding: 0; width: 100%; }
|
||||
#header img { border: none; padding: 0; margin: 0;}
|
||||
#header #logo { margin: 0; padding: 0; position: absolute; top: 15px; left: 15px}
|
||||
#header #nav { min-width: 670px; margin: 25px 0 10px 200px; padding: 15px 0 15px 5px;
|
||||
border-top: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black;
|
||||
white-space: nowrap; }
|
||||
/* Hide from IE-mac \*/
|
||||
* html #nav { height: 1%; }
|
||||
/* End of IE-mac hack */
|
||||
|
||||
#nav a{ text-decoration: none; color: #000; font: 1em "Times New Roman", Roman, serif;
|
||||
text-transform: uppercase; margin: 0 5px; padding: 5px 10px; border: 1px solid black; }
|
||||
#nav a.active { background: #999; }
|
||||
#nav a:hover { background: #CCC; }
|
||||
|
||||
/* Submenu */
|
||||
#subnav { position: absolute; top: 100px; left: 76%; background-color: #ffd;
|
||||
width: 24%; margin: 1em 0 0; padding: .25em ; border: solid #ccc;
|
||||
border-width: .1em 0 .1em .1em; }
|
||||
#subnav ul { margin: 0; padding: 0; list-style: none; }
|
||||
#subnav li{ margin: 0; padding: 2px 0 2px; }
|
||||
#subnav a { font: 1em "Times New Roman", Roman, serif; margin: 0; padding: 0 0 0 26px;
|
||||
text-transform: uppercase; text-decoration: none; color: #000; white-space: nowrap;
|
||||
background: url(img/bulletOff.gif) no-repeat 10px 50%; display: block}
|
||||
#subnav ul ul a { padding: 0 0 0 46px; background-position: 30px 50%; }
|
||||
#subnav ul ul ul a { padding: 0 0 0 66px; background-position: 50px 50%; }
|
||||
#subnav ul ul ul ul a { padding: 0 0 0 86px; background-position: 70px 50%; }
|
||||
#subnav li#current a{ background-image: url(img/bulletOn.gif) }
|
||||
#subnav li a:hover { background-image: url(img/bulletOn.gif) }
|
||||
|
||||
/* Main Content */
|
||||
#content { margin: 3em 25% 0 0; padding: 0 5% 1em 5%; }
|
||||
#content.wide { margin: 3em 0 0 0; padding: 0 5% 1em 5%; }
|
||||
#content p { padding: 0; margin: 0 0 1em 0; max-width: 660px; }
|
||||
#content blockquote { max-width: 580px }
|
||||
#content div.screenshot { text-align: center; margin: 1em 0; }
|
||||
#content div.screenshot-right { text-align: center; float: right; margin: 0, 0, 0, 1em; }
|
||||
#content img { padding: 0; margin: 0; border: 0 }
|
||||
|
||||
/* Page Footer */
|
||||
#footer { text-align: center; font-size: .8em; color: #444; clear: both;
|
||||
border-top: 2px solid #999; margin: 0 30% 10px 5%; padding: 5px 0 0 0; }
|
||||
#sig { text-align: right; font-size: .8em; width: 95%; display: none }
|
||||
|
||||
|
||||
table.articles { margin: 20px 0 0 5%; padding: 0 10px 0 0; }
|
||||
|
||||
table.downloads { margin: 1em 5%; padding: 0; width: 24em; border-collapse: collapse; }
|
||||
table.downloads td, table.downloads th { border: 1px solid black; padding: 2px; text-align: left }
|
||||
table.downloads th { background: #eef; font-weight: bold; }
|
||||
|
||||
table.quote { margin-left: 30px; margin-right: 30px; background: #FFFFFF; border: 3px black solid;
|
||||
font: 1.1em/1.5em "Times New Roman", Roman, serif; font-variant: small-caps;
|
||||
letter-spacing: .1em; padding: 0 }
|
||||
table.quote td { padding: 0 }
|
||||
table.quote td.sig { border-left: solid black 1px; padding-left: 15px }
|
||||
|
||||
#news { position: absolute; top: 100px; left: 76%; border-left: 1px solid black;
|
||||
width: 14%; margin: 1em 0 0; padding: 0 5%; font-size: .8em; background-color: #fff }
|
||||
#news h4 { font: 1.2em "Times New Roman", Roman, serif; font-variant: small-caps; text-align: center; margin: 0 0 1em; }
|
||||
|
||||
div.code { border: .1em solid #ccc; background-color: #eef; width: 32em;
|
||||
margin: 1.5em 0; padding: 0; position: relative; }
|
||||
div.code pre { font: .8em "Courier New", Courier, monospace; margin: 0 1em .25em; }
|
||||
div.code div.langFilter { position: absolute; top: -15px; left: 0; }
|
||||
.dropdown { position: absolute; left: 14px; top: 0; padding: 0 10px; width: 20px;
|
||||
text-align: left; border: 1px solid #ccc; background-color: #ffd; }
|
||||
|
||||
#content.wide p { width: expression( document.documentElement.clientWidth > 700 ? "660px" : "auto" ); }
|
||||
#content.wide blockquote { width: expression( document.documentElement.clientWidth > 700 ? "580px" : "auto" ); }
|
||||
|
||||
//pre, .programText { font-family: "Courier New", Courier, Monospace; color: #000; font-size: 1em }
|
||||
|
||||
// The following was needed for IE in quirks mode - probably still needed for IE 5
|
||||
// div.code div.langFilter { position: absolute; top: -14px; left: -1em; }
|
||||
|
||||
// Special handling for absence of max-width in IE
|
|
@ -4,7 +4,7 @@
|
|||
control some aspects of NUnit’s operation:</p>
|
||||
|
||||
<div class="screenshot-right">
|
||||
<?php echo nunit_doc_img( "optionsDialog.jpg" ) ?>
|
||||
nunit_doc_img( "optionsDialog.jpg" )
|
||||
</div>
|
||||
|
||||
<h3>Recent Files</h3>
|
||||
|
|
|
@ -11,10 +11,10 @@ consists of a common area and two tabs, as seen in the image below.</p>
|
|||
|
||||
<p>The common area of the Project Editor contains a label showing the full path to the project file, a
|
||||
dropdown combo box allowing selection of the configuration to be edited and a button, which
|
||||
opens the <?php echo nunit_doc_link( "configEditor", "Configuration Editor" ) ?>.</p>
|
||||
opens the nunit_doc_link( "configEditor", "Configuration Editor" ).</p>
|
||||
|
||||
<div class="screenshot">
|
||||
<?php echo nunit_doc_img( "generalTab.jpg" ) ?>
|
||||
nunit_doc_img( "generalTab.jpg" )
|
||||
</div>
|
||||
|
||||
<h3>General Tab</h3>
|
||||
|
@ -49,7 +49,7 @@ persisted in the NUnit project file as paths relative to the application base. T
|
|||
projects as a whole to a different directory location.</p>
|
||||
|
||||
<div class="screenshot">
|
||||
<?php echo nunit_doc_img( "assembliesTab.jpg" ) ?>
|
||||
nunit_doc_img( "assembliesTab.jpg" )
|
||||
</div>
|
||||
|
||||
<h4>Add Assembly</h4>
|
||||
|
|
|
@ -22,7 +22,7 @@ configuration is currently active. By default, the assemblies will be loaded usi
|
|||
containing this file as the ApplicationBase. The PrivateBinPath will be set automatically to
|
||||
<code>LibraryCore\bin\Debug;LibraryUI\bin\Debug</code> or to the corresonding release path.
|
||||
XML attributes are used to specify non-default values for the ApplicationBase, Configuration
|
||||
File and PrivateBinPath. The <?php echo nunit_doc_link( "projectEditor", "Project Editor" ) ?>
|
||||
File and PrivateBinPath. The nunit_doc_link( "projectEditor", "Project Editor" )
|
||||
may be used to create or modify NUnit projects.</p>
|
||||
|
||||
<h2>Projects</h2>
|
||||
|
|
|
@ -24,7 +24,7 @@ name, which did not fit in the label.</p>
|
|||
attribute or an error such as trying to apply the Test attribute to a private method.</p>
|
||||
|
||||
<div class="screenshot">
|
||||
<?php echo nunit_doc_img( "testTab.jpg" ) ?>
|
||||
nunit_doc_img( "testTab.jpg" )
|
||||
</div>
|
||||
|
||||
<h3>Result Tab</h3>
|
||||
|
@ -47,5 +47,5 @@ the full text of the message.</p>
|
|||
truncated but could be displayed in a tooltip by the user hovering with the mouse.</p>
|
||||
|
||||
<div class="screenshot">
|
||||
<?php echo nunit_doc_img( "resultTab.jpg" ) ?>
|
||||
nunit_doc_img( "resultTab.jpg" )
|
||||
</div>
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince(2.2) ?>
|
||||
unchangedSince(2.2)
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince(2.2) ?>
|
||||
unchangedSince(2.2)
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.2") ?>
|
||||
unchangedSince("2.2")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince(2.2) ?>
|
||||
unchangedSince(2.2)
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince(2.2) ?>
|
||||
unchangedSince(2.2)
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.2") ?>
|
||||
unchangedSince("2.2")
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince(2.2) ?>
|
||||
unchangedSince(2.2)
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince(2.2) ?>
|
||||
unchangedSince(2.2)
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?php unchangedSince("2.2") ?>
|
||||
unchangedSince("2.2")
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче