Showing posts with label Unit Testing. Show all posts
Showing posts with label Unit Testing. Show all posts

Tuesday, September 4, 2007

MbUnit 2.4.1 Released

The MbUnit 2.4.1 release was released tonight, this adds some bug fixes and additional functionality on the 2.4.release. In full the following was fixed or added in this release.

Bug
[MBUNIT-97] - Assembly setup method run after test suites are generated
[MBUNIT-108] - Test setup and teardown methods are not run for every execution of a repeated test
[MBUNIT-113] - SetUp and TearDown methods not executed for each test in a ProcessTestFixture
[MBUNIT-116] - .mbunit project files not associated by Windows to MbUnit GUI
[MBUNIT-126] - Assert.AreEqual() should support arrays the way NUnit does
[MBUNIT-128] - DirectoryNotFoundException when application exists
[MBUNIT-129] - The Assert.Greater overloads behave differently
[MBUNIT-132] - GenericAssert.FailIsEmpty & FailIsNotEmpty use the unformatted message
[MBUNIT-134] - ThreadedRepeat attribute cause high cpu utilization.
[MBUNIT-146] - Problem with AreNotEqual and object[]
[MBUNIT-147] - Remove assemblies... menu item shouldn't have ellipsis
[MBUNIT-148] - Unhandled exception 'previous state not found' when shutting down MbUnit having run no previous tests

Improvement
[MBUNIT-115] - RowTest cannot be used with a function that have a paramarray argument
[MBUNIT-127] - Tree state should save the selected node
[MBUNIT-130] - Provide Version Numbers in the Assembly Metadata

Task
[MBUNIT-131] - Improve test coverage

Saturday, May 26, 2007

MbUnit 2.4 Released

Download it here: http://mb-unit.googlecode.com/files/MbUnit-2.4.197.exe

Highlights

  • .NET 1.0 support dropped.

  • .NET 1.1 support in 2.4 merged into the main line (No need for MbUnit.Framework.1.1.dll)

  • Added greater support for .NET 2.0 including (MbUnit.Framework.2.0.dll)


    • Database rollback (now no longer need COM+ if your using .NET 2.0).

    • Private method testing (see Vadims articles here and here).

    • Generics in certain Asserts.

  • Support for NUnit style explicit attributes.

As well as a great deal of bug fixes and functional improvements.


The road ahead.


2.4 signals the end of major releases for 2.*, interim releases with tweaked functionality and bug fixes will still occur to 2.4 (starting with 2.4.1) but the next major release of MbUnit will be v3 codenamed MbUnit Gallio. In the coming weeks the core development team will be stepping up through the gears on MbUnit Gallio.


Friday, May 18, 2007

NStub: A Unit Test Generator For .NET Assemblies

NStub is a unit test generator for .NET assemblies. You simply point NStub at the assembly containing the types you wish to test, pick the types and methods that your interested in from interface, choose where you want the resulting source files to be created at, and click GO!. That's all there is to it!

What do I get? Your resulting group of source files will contain one stubbed test method for each method that you selected. The code is clean, clearly documented and is already decorated to work with your chosen test framework. All you have to do is fill in the logic. Each group of source files even comes with an associated project allowing you to quickly open the files in Visual Studio and start editing. Not using Visual Studio? No problem! Just open the files individually in your chosen development environment and go to work.

That sounds great...except for... NStub is fully extensible, allowing you to create plug-ins not only to support multiple testing frameworks but also to generate the testing code in any .NET compliant language. The sky is the limit to what you can accomplish.

Download it here: http://code.google.com/p/nstub/downloads/list