Mehul Harry's DevExpress Blog

This Blog


Mehul Harry is the DevExpress Web Program Manager. Follow him on twitter: @Mehulharry

Subscribe (RSS, Email)


CodeRush: Unit Test Runner Preview

Unit testing support is one of the most requested features for CodeRush and Mark Miller and his IDE team are hard at work on it right now. They've made great progress so I'm able to share a sneak peek with you today.

Mark wanted me to make it clear that this "Test Runner" sneak peek is very early and unfinished functionality so he and the IDE team could change any aspect of what you're about to see.

Test Runner In-source UI: More cowbell

The Test Runner consists of two parts:

  • a tool window
  • an in-editor UI

Take a look at this preview screenshot of the in-editor UI (click the image to see a larger version):


Stay tuned – we’ll show you the Test Runner’s tool window in a future post.

If you work with NUnit then look closely at the method names and their attributes in the screenshot. Note that even the sophisticated attribute combinations using ExpectedMessage and MatchType (combinations that challenge some other unnamed test runners) are properly evaluated by the CodeRush Test Runner.

Run Test Cases

Run test cases by Ctrl+Clicking the test icon next to the test method's attributes in the editor. Keyboard shortcuts also supported.

Or run test cases from the Test Runner. We’ll post more info on the tool window UI in future posts.


Test Framework Support (so far)

The CodeRush Test Runner currently supports:

  • VS Test (Visual Studio’s built-in testing framework – MSDN Walkthrough)
  • MbUnit – Generative unit test framework for .NET
  • nUnit - Unit-testing framework for all .Net languages
  • Any other .NET testing framework (just about), more on this below…

The top three frameworks have built-in support by the CodeRush Test Runner and not by an external plugin. This gives you the advantage that the IDE team will support your questions, comments, and, of course, suggestions when using any of these three frameworks!


Extensibility is a big advantage for you. It allows you to create/edit/distribute plugins. Extensibility also creates a great ecosystem to interact and share with other developers using CodeRush.

Extensibility is one of the key features for CodeRush which is built on top of the DXCore framework. In fact, CodeRush’s extensible architecture already has a ton of great plugins available. Check out the full list of free and useful plugins on the google code site:

And extensibility is also a major feature of the Test Runner. You can extend the Test Runner to support virtually any .NET testing framework using the DXCore extensibility engine.

Awesome, When Can I Get It?

The IDE team is planning to release early versions of this feature in the near future. And the CodeRush Test Runner is planned for a full release later this year in the DXperience 2009 volume 3 release.

The upcoming Test Runner looks to be a game changer for many people who’ve been anticipating this announcement. What do you think? Drop me a line below with your thoughts.

DXperience? What's That?

DXperience is a royalty-free tool suite for rapid business application development for WinForms and ASP.NET apps.

Instantly enhance your WinForms and ASP.NET apps by dropping in new feature sets encapsulated in components. DXperience contains:

  • IDE Productivity Tools - Make Visual Studio easier and more effective with IDE enhancements
    • DXCore - IDE tools extensible engine
    • CodeRush - Extensible swiss army knife of tools to make source code editing faster and easier, including code editing templates, code editing utilities (selection, navigation, clipboard), inline code visualizations and the upcoming unit test runner.
    • Refactor Pro - Code editing tools specifically geared for refactoring source code.
  • XAF - Business app framework for WinForms and ASP.NET
  • XPO – Object-relational mapping for .NET
  • Reporting - Reporting "platform" for WinForms and ASP.NET
  • UI Components for WinForms, ASP.NET, WPF and Silverlight

Try a fully-functional version of DXperience for free now:

Published Sep 02 2009, 11:45 AM by
Bookmark and Share



This is a fantastic annoucement, great work guys!

While I understand the support for NUnit and MBUnit, I'm surprised that is not included (especially being that Brad Wilson, who is an co-author is a CodeRush guy). has been gaining in popularity lately.  If not included, hopefully someone will extend the test runner to


September 2, 2009 3:27 PM

Claudio Lassala

Sweet!!! It was about time.  ;)

September 2, 2009 3:46 PM

Gary L Cox Jr [DX-Squad]

This is very cool, I love how it informs you graphically on test status.

September 2, 2009 3:59 PM

Twitter Trackbacks for CodeRush: Unit Test Runner Preview - The ASPx Blog - Mehul Harry's DevExpress Blog [] on

Pingback from  Twitter Trackbacks for                 CodeRush: Unit Test Runner Preview - The ASPx Blog - Mehul Harry's DevExpress Blog         []        on

September 2, 2009 4:29 PM

Robert Kozak

Been waiting for you guys to do something about this!


September 2, 2009 4:41 PM

Seth Juarez

This is wonderful news!! This is the piece that will complete the puzzle for me.

September 2, 2009 5:00 PM

Peter Lillevold

Will you support newer versions of test frameworks? Unlike a certain competitor which supports nUnit 2.4 but fails to properly run test libraries compiled with nUnit 2.5?

September 2, 2009 5:23 PM

Boris Bosnjak

When 2009.2 was released, I wondered "What more could DevEx possibly offer to an already fantastic suite????".  Well, apparently this!

Great work, guys!

September 2, 2009 5:56 PM

Mark Miller (DevExpress)

Hi Peter,

We're actually testing with nUnit 2.5 right now. I have heard of problems with a competitor failing to properly support ExpectedExceptions and the MatchType parameter, and we do support those. Let me know if there is something else specific the competitor isn't supporting (markm at the devexpress domain) and we'll make sure we do.

September 2, 2009 6:40 PM


Awesome. I love how DevExpress always think out of the box when it comes to visualizations of code.

September 3, 2009 12:52 AM


Very cool :) I'm waiting this from a long time.

September 3, 2009 12:59 AM


I have only one issue with this (and other coderush ide visuals) and that is that they don't look as good when using a dark visual studio theme. ( )

September 3, 2009 3:27 AM

David Arkell

Great!  Certainly looks to be a game changer from my point of view.  Thanks for making an already quality set of products.

September 3, 2009 4:56 AM

Kevin McFarlane

I assume the Test Runner will be part of the IDETools package and that it will be included with CodeRush. What about if you just have Refactor! Pro?

September 3, 2009 8:32 AM

Steven Vanden Broeck

Awesome !

September 3, 2009 1:11 PM

Mehul Harry (DevExpress)

Wow, thanks y'all! Mark and the IDE team are very happy to see the community excitement build up.

September 3, 2009 2:01 PM

Mehul Harry (DevExpress)


@rorybecker has a post about dark themes and CodeRush which may help you:

September 3, 2009 2:02 PM

Mehul Harry (DevExpress)


The CodeRush Test Runner will be part of the full CodeRush package. The full CodeRush is the best way to go since it also includes Refactor Pro.

September 3, 2009 2:02 PM

Mark Miller (DevExpress)


We expect 9.3 to look good with dark themes.

September 3, 2009 6:04 PM

Joe Hendricks

I will certainly be using this! Fantastic!

September 4, 2009 10:38 AM

Robert Fuchs

No built-in support for xUnit???

September 6, 2009 8:29 AM

Rory Becker - DevExpress

Really .. really looking forward to this :D

September 6, 2009 12:40 PM

Rory Becker - DevExpress

Wondering if MBUnit support will include the RowTest attribute?

September 7, 2009 7:13 AM

Henrik Brinch

*GREAT*  I absolutely loved the Resharper version of the same, but then suddenly it was removed as a free-version - ... and why would I buy Resharper.  Refactor+Code Rush are by far superior to Resharper.  Keep up the good work.

September 9, 2009 4:09 PM


@Mehu, Not quite what I was after.

@Mark, Sounds great!

September 9, 2009 4:33 PM

CodeRush TestRunner - Andrew Stopford's Weblog

Pingback from  CodeRush TestRunner - Andrew Stopford's Weblog

September 10, 2009 7:12 PM

CodeRush TestRunner | I love .NET!

Pingback from  CodeRush TestRunner | I love .NET!

September 10, 2009 7:48 PM


Thank you for submitting this cool story - Trackback from DotNetShoutout

September 11, 2009 11:33 AM

80s Rocker

I am looking at this for my personal use over Resharper, and thought I had heard that the test runner was already released.  I just downloaded the trial and it does not seem to be in the current release.  So my question is, when will this be available, since this could be a showstopper to me leaving Resharper since I spend quite a bit of time writing unit tests.  At least let us know about when we can expect it.  Also,will this be available to download as a separate install package so we do not need to reinstall all of CodeRush/Refactor Pro.

September 11, 2009 11:31 PM

Mehul Harry (DevExpress)

80s Rocker,

It's expected to be released later this year when DXperience 2009 volume 3 is out. (Probably around Nov/Dec timeframe).

September 12, 2009 12:21 AM

DotNetBurner -

DotNetBurner - burning hot .net content

September 12, 2009 5:59 PM

Seamus McGowan

Like many others, the lack of a test runner is a show stopper for me. can fill in the gap but this offering would be so much better.

October 1, 2009 11:22 AM

Emanuel Wlaschitz

Looks great!

Any chance we will also see this for CodeRushX? As already pointed out by someone, theres a total lack of free solutions for this now that UnitRun (now part of ReSharper) was stopped.

November 18, 2009 8:52 AM

Refactoring Tools Review - part II - Uri Lavi

Pingback from  Refactoring Tools Review - part II - Uri Lavi

March 11, 2010 4:41 PM

About Mehul Harry (DevExpress)

Mehul Harry is an ASP.NET technical evangelist at Developer Express. You can reach him directly at You can also follow him on Twitter:

Chat is one of the many ways you can contact members of the DevExpress Team.
We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.

If you need additional product information, write to us at or call us at +1 (818) 844-3383


DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, Delphi, HTML5 or iOS & Android development. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

Copyright © 1998-2018 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners