Unit Testing in .NET

I have used nUnit so far to do my unit testing in .NET but I happened upon a new tool called mbUnit which looks very promising.  http://mbunit.tigris.org/

Features:

  • Fully compatible with NUnit, csUnit fixtures. No change to the code needed, besides changing imports,
  • GUI, Console Runner, NAnt task, and Visual Studio Add-in with NUnitAddIn available,
  • New Test Fixtures:
    • TypeFixture: fixture that applies to instances of a particular type (very nice for testing interfaces).
    • EnumerationFixture: tests IEnumerable/IEnumerator implementations
    • OrderedCollectionFixture: ordering tests on collection
    • ProcessFixture: execute a sequence of tests
  • New Test Decorators: repeated tests, "timed" tests, load tests, multi-threaded tests, etc..
  • Extensible fixture definition scheme: MbUnit was designed with evolution and new fixture integration in mind.
  • Support for .NET 1.0 and 1.1
  • Supported by DotNetMock
  • Loads multiple assemblies, extracts test fixtures by Reflection exploration,
  • Runs all test in separate threads to keep GUI responsive,
  • Customize progress bar with success, failure, ignore and not run count.
  • Exception explorer, Console output, Console error
  • IDE like application using Magick library
  • Built-in reporting
  • Visual Studio Add-in, select tests by assembly, namespace or fixture, and run them directly in Visual Studio thanks to NUnitAddIn,
  • NAnt task available

 


Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

November 21. 2008 05:11 PM