NUnit Samples
This directory contains sample applications demonstrating the use of NUnit and organized as follows...
CSharp: Samples in C#
Failures: Demonstrates 4 failing tests and one that is not run.
Money: This is a C# version of the money example which is found in most xUnit implementations. Thanks to Kent Beck.
Money-Port: This shows how the Money example can be ported from Version 1 of NUnit with minimal changes.
Syntax: Illustrates most Assert methods using both the classic and constraint-based syntax.
JSharp: Samples in J#
Failures: Demonstrates 4 failing tests and one that is not run.
CPP: C++ Samples
MANAGED: Managed C++ Samples (VS 2003 compatible)
Failures: Demonstrates 4 failing tests and one that is not run.
CPP-CLI: C++/CLI Samples (VS 2005 only)
Failures: Demonstrates 4 failing tests and one that is not run.
Syntax: Illustrates most Assert methods using both the classic and constraint-based syntax.
VB: Samples in VB.NET
Failures: Demonstrates 4 failing tests and one that is not run.
Money: This is a VB.NET version of the money example found in most xUnit implementations. Thanks to Kent Beck.
Syntax: Illustrates most Assert methods using both the classic and constraint-based syntax.
Extensibility: Examples of extending NUnit
Framework:
Core:
TestSuiteExtension
TestFixtureExtension
Building the Samples
A Visual Studio 2003 project is included for most samples.
Visual Studio 2005 will convert the format automatically upon
opening it. The C++/CLI samples, as well as other samples that
depend on .NET 2.0 features, include Visual Studio 2005 projects.
In most cases, you will need to remove the reference to the
nunit.framework assembly and replace it with a reference to
your installed copy of NUnit.
To build using the Microsoft compiler, use a command similar
to the following:
csc /target:library /r:<path-to-NUnit>/nunit.framework.dll example.cs
To build using the mono compiler, use a command like this:
msc /target:library /r:<path-to-NUNit>/nunit.framework.dll example.cs
没有合适的资源?快使用搜索试试~ 我知道了~
.Net 开发人员必备NUnit
共251个文件
html:69个
cs:34个
dll:28个
需积分: 9 35 下载量 152 浏览量
2008-10-08
15:54:34
上传
评论 1
收藏 1.23MB ZIP 举报
温馨提示
.Net 开发人员必备NUnit,方便测试。版本NUnit-2.4.8-net-2.0
资源推荐
资源详情
资源评论
收起资源包目录
.Net 开发人员必备NUnit (251个子文件)
clr.bat 3KB
Install.bat 1KB
SampleFixtureExtension.build 3KB
SampleSuiteExtension.build 3KB
MaxTimeDecorator.build 3KB
cpp-managed-failures.build 2KB
cs-money-port.build 2KB
Minimal.build 2KB
vb-money.build 2KB
cpp-cli-failures.build 2KB
cpp-cli-syntax.build 2KB
vb-syntax.build 2KB
vb-failures.build 2KB
cs-money.build 1KB
jsharp-failures.build 1KB
cs-failures.build 1KB
cs-syntax.build 1KB
nunit.exe.config 4KB
nunit-x86.exe.config 4KB
nunit-console.exe.config 4KB
nunit-console-x86.exe.config 4KB
NUnitTests.config 3KB
runFile.exe.config 2KB
cs-money-port.dll.config 477B
cpp-cli-syntax.cpp 19KB
AssemblyInfo.cpp 2KB
AssemblyInfo.cpp 2KB
AssemblyInfo.cpp 1KB
cppsample.cpp 1KB
cppsample.cpp 1KB
AssertSyntaxTests.cs 26KB
MoneyTest.cs 7KB
MoneyTest.cs 7KB
MoneyBag.cs 4KB
MoneyBag.cs 4KB
MaxTimeTestCase.cs 3KB
AssemblyInfo.cs 3KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
Money.cs 2KB
Money.cs 2KB
MaxTimeDecorator.cs 2KB
SampleFixtureExtensionBuilder.cs 2KB
CSharpTest.cs 2KB
SampleFixtureExtension.cs 2KB
SampleSuiteExtension.cs 2KB
MaxTimeDecoratorTests.cs 1KB
SampleSuiteExtensionBuilder.cs 1KB
Minimal.cs 1KB
IMoney.cs 1KB
IMoney.cs 1KB
SampleFixtureExtensionTests.cs 1KB
MaxTimeAttribute.cs 1KB
Addin.cs 908B
SampleSuiteExtensionTests.cs 838B
SampleFixtureExtensionAttribute.cs 628B
SampleSuiteExtensionAttribute.cs 624B
SampleSuiteExtension.csproj 2KB
SampleFixtureExtension.csproj 2KB
MaxTimeDecorator.csproj 2KB
cs-money-port.csproj 2KB
cs-money.csproj 2KB
MaxTimeDecoratorTests.csproj 2KB
SampleFixtureExtensionTests.csproj 2KB
SampleSuiteExtensionTests.csproj 2KB
Minimal.csproj 2KB
cs-syntax.csproj 2KB
cs-failures.csproj 2KB
nunit.css 7KB
Thumbs.db 6KB
nunit.uikit.dll 272KB
nunit.framework.tests.dll 264KB
nunit-gui-runner.dll 240KB
nunit.util.tests.dll 172KB
nunit.core.tests.dll 116KB
nunit.util.dll 112KB
nunit.core.dll 88KB
nunit.framework.dll 76KB
fit.dll 48KB
nunit.core.interfaces.dll 40KB
nunit.uikit.tests.dll 40KB
loadtest-assembly.dll 40KB
nunit.extensions.tests.dll 36KB
test-assembly.dll 36KB
nunit-console.tests.dll 24KB
nunit-console-runner.dll 20KB
nunit.mocks.tests.dll 14KB
test-utilities.dll 12KB
nunit.core.extensions.dll 11KB
nunit.mocks.dll 11KB
nunit.fixtures.dll 10KB
nunit-gui.tests.dll 9KB
nunit.fixtures.tests.dll 8KB
共 251 条
- 1
- 2
- 3
资源评论
fish88168
- 粉丝: 86
- 资源: 17
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功