source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/IHS BMX Framework/lib/NUnit/NUnit-2.5.10.11092/doc/samples.html@ 1146

Last change on this file since 1146 was 1146, checked in by Sam Habiel, 13 years ago

Initial Import of BMX4

File size: 3.7 KB
Line 
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 - Samples</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<style><!--
28dt { font-weight: bold; }
29--></style>
30<h2>Samples</h2>
31
32NUnit 2.5 samples continue to be organized by language, with an additional
33folder for Extensibility examples. The 'money-port' example has been
34removed.
35
36<h3>C# Samples</h3>
37<dl>
38 <dt>Failures
39 <dd>This sample written in C# demonstrates 4 failing unit tests and one test
40 that is not run.
41 <dt>Money
42 <dd>This is a C# version of the money example which is found in most xUnit
43 implementations. Thanks to Kent Beck.
44</dl>
45
46<h3>J# Samples</h3>
47<dl>
48 <dt>Failures
49 <dd>This has three failing tests and one ignored test written in J#.
50</dl>
51
52<h3>VB.NET Samples</h3>
53<dl>
54 <dt>Failures
55 <dd>This sample written in VB.NET demonstrates 4 failing unit tests and
56 one test that is not run.
57 <dt>Money
58 <dd>This is a VB.NET version of the money example which is found in most xUnit
59 implementations. Thanks to Kent Beck.
60</dl>
61
62<h3>Managed C++ Samples</h3>
63<dl>
64 <dt>Failures
65 <dd>This is the same example as the others with four failing unit
66 tests and one ignored test.&nbsp;NOTE:&nbsp; The results are as expected when
67 compiled in Debug mode. In Release mode the divide by zero test succeeds.
68</dl>
69
70<h3>C++/CLI Samples</h3>
71<dl>
72 <dt>Failures
73 <dd>This is the same example as the others with four failing unit
74 tests and one ignored test.
75</dl>
76
77<h3>Extensibility Examples</h3>
78<dl>
79 <dt>Minimal
80 <dd>The smallest possible Addin: it does nothing but is
81 recognized by NUnit and listed in the Addins dialog.
82 <dt>SampleSuiteExtension
83 <dd>A "toy" SuiteBuilder. It recognizes a special attribute
84 and identifies tests right in the suite extension. This example
85 uses separate objects for the addin and the suite builder.
86 <dt>SampleFixtureExtension
87 <dd>A slightly more involved SuiteBuilder. It recognizes
88 a special attribute and registers a test case builder to
89 identify its tests. It inherits from NUnitTestFixture and
90 so gets all the features of that class as well for free.
91 This example uses the same object to implement both the
92 addin and the suite builder.
93</dl>
94
95</div>
96
97<!-- Submenu -->
98<div id="subnav">
99<ul>
100<li><a href="index.html">NUnit 2.5.10</a></li>
101<ul>
102<li><a href="getStarted.html">Getting&nbsp;Started</a></li>
103<li><a href="assertions.html">Assertions</a></li>
104<li><a href="constraintModel.html">Constraints</a></li>
105<li><a href="attributes.html">Attributes</a></li>
106<li><a href="runningTests.html">Running&nbsp;Tests</a></li>
107<li><a href="extensibility.html">Extensibility</a></li>
108<li><a href="releaseNotes.html">Release&nbsp;Notes</a></li>
109<li id="current"><a href="samples.html">Samples</a></li>
110<li><a href="license.html">License</a></li>
111</ul>
112</ul>
113</div>
114<!-- End of Submenu -->
115
116
117<!-- Standard Footer for NUnit.org -->
118<div id="footer">
119 Copyright &copy; 2010 Charlie Poole. All Rights Reserved.
120</div>
121<!-- End of Footer -->
122
123</body>
124</html>
Note: See TracBrowser for help on using the repository browser.