lbsa71.net Just another WordPress weblog

9Apr/092

Nunit, Custom CategoryAttribute and ReSharper testrunner

JetBrains recently announced the new ReSharper 4.5.

One of the bugs that was fixed in this release, is that the testrunner now correctly displays custom NUnit categories based on CustomAttribute.

Custom NUnit categories is very useful for grouping tests in the same solution, so that you can manually choose what group to run (unit tests, database tests, system tests) - or set a job up that tests using the /exclude and /include command line switches on the runner.

Of course, various other NUnit runners have been honouring subclassed categories since the feature was introduced in NUnit 2.4, but it's nice to have it in my favourite runner.

Comments (2) Trackbacks (0)
  1. Thanks for ReSharper link. I am just testing it and it looks like a must buy. Already taught me ~5 new things about .NET 3.0 syntax and the studio integrated nunit runner is brilliant.

  2. Then you’ll probably love my latest blog, Refactoring Tactics Primer.


Leave a comment


No trackbacks yet.

Pages

Categories

twitter.com/lbsa71

    Blogroll

    Comics

    Meta