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

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

Initial Import of BMX4

File size: 2.2 KB
Line 
1NUnit Samples
2
3This directory contains sample applications demonstrating the use of NUnit and organized as follows...
4
5 CSharp: Samples in C#
6
7 Failures: Demonstrates 4 failing tests and one that is not run.
8
9 Money: This is a C# version of the money example which is found in most xUnit implementations. Thanks to Kent Beck.
10
11 Money-Port: This shows how the Money example can be ported from Version 1 of NUnit with minimal changes.
12
13 Syntax: Illustrates most Assert methods using both the classic and constraint-based syntax.
14
15 JSharp: Samples in J#
16
17 Failures: Demonstrates 4 failing tests and one that is not run.
18
19 CPP: C++ Samples
20
21 MANAGED: Managed C++ Samples (VS 2003 compatible)
22
23 Failures: Demonstrates 4 failing tests and one that is not run.
24
25 CPP-CLI: C++/CLI Samples (VS 2005 only)
26
27 Failures: Demonstrates 4 failing tests and one that is not run.
28
29 Syntax: Illustrates most Assert methods using both the classic and constraint-based syntax.
30
31 VB: Samples in VB.NET
32
33 Failures: Demonstrates 4 failing tests and one that is not run.
34
35 Money: This is a VB.NET version of the money example found in most xUnit implementations. Thanks to Kent Beck.
36
37 Syntax: Illustrates most Assert methods using both the classic and constraint-based syntax.
38
39 Extensibility: Examples of extending NUnit
40
41 Framework:
42
43 Core:
44
45 TestSuiteExtension
46
47 TestFixtureExtension
48
49
50Building the Samples
51
52A Visual Studio 2003 project is included for most samples.
53Visual Studio 2005 will convert the format automatically upon
54opening it. The C++/CLI samples, as well as other samples that
55depend on .NET 2.0 features, include Visual Studio 2005 projects.
56
57In most cases, you will need to remove the reference to the
58nunit.framework assembly and replace it with a reference to
59your installed copy of NUnit.
60
61To build using the Microsoft compiler, use a command similar
62to the following:
63
64 csc /target:library /r:<path-to-NUnit>/nunit.framework.dll example.cs
65
66To build using the mono compiler, use a command like this:
67
68 msc /target:library /r:<path-to-NUNit>/nunit.framework.dll example.cs
69
Note: See TracBrowser for help on using the repository browser.