Andrew Stopford's Weblog

poobah

News

Articles

MbUnit Folks

Old Blogs

March 2007 - Posts

MbUnit 2.4 RC

The RC of MbUnit 2.4 was cut tonight and is available here. The RC adds the following to MbUnit 2.4 beta 2.

New Feature

  • [MBUNIT-30] - MBUnit.Cons.EXE Take Test Project File As Argument
  • [MBUNIT-75] - Allow user to use custom stylesheet in XML reports
  • [MBUNIT-82] - Support for test exclusion by category

Bug

  • Fix for exception when report type is supplied but no report folder in MbUnit console.
  • MbUnit.console only shows help when requested.

My thanks to Graham Hey and Joey Calisay for all there time and help with this release.

Posted: Mar 30 2007, 12:01 AM by andrewstopford | with 1 comment(s)
Filed under: ,
MSTest\NUnit\MbUnit attributes

Naysawn Naderi has a matrix of attributes between NUnit and MSTest. To balance MbUnit in this matrix, MbUnit has the same attribute's as NUnit for [Test] up  to [TearDown]. MbUnit also has has the [AssemblyCleanUp] attribute. We are planning on doing more in Gallio at the assembly level of things.

Posted: Mar 28 2007, 10:08 AM by andrewstopford | with 1 comment(s)
Filed under: ,
MbUnit's David is blogging

Another member of the MbUnit team is blogging, my very old friend David Parkinson. David is the primary on MbUnit Icarus and his blog is going to get full of info on that in the coming months as well all the other good stuff he knows. Be sure to stay tuned.

Posted: Mar 26 2007, 11:35 PM by andrewstopford | with no comments
Filed under: ,
James Avery talks about MbUnit at Cincinnati-Dayton Code Camp 2007
James Avery gave a session at the Cincinnati-Dayton Code Camp 2007 titled "MbUnit: Unit Testing for People who Love Unit Testing", he talked about some his fave features from 2.* including RowTest, Pairwise, Repeat and Rollback2 (the Rollback fixture for .NET 2.0). His slides for the session can be found here. I really hope this session was filmed as it would be great to hear what James said around the slides and what folks feedback\questions to James were.
Posted: Mar 25 2007, 10:32 PM by andrewstopford | with 2 comment(s)
Filed under: ,
MbUnit 2.4 beta2

MbUnit 2.4 beta 2 was cut tonight. This release sees updates to the private method testing (I will do another post on that), generics support in Assert.IsEmpty (GenericAssert.IsEmpty) as well other updates and fixes since beta 1.

Bug

  • [MBUNIT-93] - CollectionAssert.Contains bug
  • [MBUNIT-96] - Assert.IsEmpty and friends should accept ICollection
  • [MBUNIT-101] - CollectionAssert.AreEquivalent does not properly compare collections of strings unless the string have been interned
  • [MBUNIT-102] - Explicit CombinatorialTest should not run its factories

The 2.4 work is wrapping up now for the release, there after our efforts will be on the very exciting MbUnit Gallio. As ever my heart felt and eternal thanks to the folks that gave up their time and energy on this release, Vadim, Joey Calisay and Graham Hay.

Posted: Mar 20 2007, 09:55 PM by andrewstopford | with 2 comment(s)
Filed under: ,
Using Spec Explorer for Model Based Testing
Su Llewellyn has a article up on .NET developers journal on using the MSR Spec Explorer framework for MBT.
MbUnit's Jeff is blogging
Jeff Brown, long time MbUnit contributor and primary architect of MbUnit Gallio has (after I nagged him :) started blogging. Jeff is a very bright guy, he's like the Chris Brummie (CLR wonks will know Chris) of the unit test world and his blog is going to get full of Gallio stuff, be sure to subscribe and stay tuned.
Pex

Dr Peli De Halleux as many of you may know was the man who created MbUnit, when Peli joined the CLR team 2 years ago MbUnit was opensourced and here we are approaching a second milestone. Peli has a brain the size of jupiter and such a passion for testing that some day the path was going to take him back to testing tools.  Last year Peli joined the FSE group at Microsoft Research, working with the researchers of MUTT (and who also wrote a paper on parameterized testing) on a project called Pex (Program EXploration). 

Pex is different to the kind of parmeterized testing you will find in MbUnit, JUnit or TestNG. While you still set the input parameters, Pex then generates sets of test data across the inputs rather than using manually set ranges. Pex then monitors the test, checks code coverage, spots issues and suggests fixes. Pex is only internal at the moment but hopefully MSR will release Pex to the public soon.

Firepoll #2, why can't you unit test webforms?
The first firepoll has shown up some interesting things, as such I'd like to ask what prevents you from unit testing webforms? Is it that you have not considered it before or is the poor seperation of concerns/leaking abstraction the problem? Indeed if you do unit test webforms how are you doing that, implementing MVP\MVP, using Castle Igloo etc?
MbUnit 2.4 beta1

Cut to the sound of beachboys is the beta 1 release of MbUnit 2.4. New features in this drop.

MbUnit 2.4 no longer supports .NET 1.0 and will run on 1.1 and 2.0 (the first two items are .NET 2.0 only). A full list is as follows.

Bug

  • [MBUNIT-16] - RollBack attribute doesn't allow specifying a TransactionTimeout
  • [MBUNIT-72] - Bug in MethodDurationException
  • [MBUNIT-73] - Ignored tests marked as failures
  • [MBUNIT-74] - XML report schema: missing attribute & elements
  • [MBUNIT-84] - Multiple Row tests with Expected Exceptions failure
  • [MBUNIT-88] - MbUnit.AddIn.MbUnitTestRunner.AssemblyResolveHandler Should never throw
  • [MBUNIT-89] - Broken link in reports template
  • [MBUNIT-90] - Html report summary lists each test fixture once per test assembly in run

Improvement

  • [MBUNIT-76] - Parameterless constructor of IgnoreAttribute not supported
  • [MBUNIT-81] - Patch submission instructions are incomplete

New Feature

  • [MBUNIT-71] - ExplicitAttribute for marking a test to be run only by itself
  • [MBUNIT-80] - Add Ability to Assert Inner Exception via ExpectedException attribute.

As always my heart felt thanks to the following folks in helping make this release happen, Ben Hall, Graham Hey, Jeff Brown, Tomáš Chaloupka, Albert Weinert, Marc Stober, Johan Appelgren Cathal Connolly and Todd Menier.

Posted: Mar 06 2007, 10:02 PM by andrewstopford | with no comments
Filed under: ,
More Posts Next page »