非常适用的单元测试工具

  • n5_942233
    了解作者
  • 1.2MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-04 10:19
    上传日期
单元测试工具非常适用 之前自己也用过 挺好的 在这里分享给大家 如果能得到完善 更好。
NUnit_2_4_1.rar
内容介绍
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
评论
    相关推荐