JetBrains ReShaper & TestDriven.NET

Friday, March 25, 2005 12:53 AM
Microsoft MVP Logo

Over the last few weeks I’ve started working with JetBrains ReSharper, a refactoring add-in to VS.NET, and TestDriven.NET.  All I can say is I can’t believe it’s only been the last few weeks because the productivity improvement of both is really something I didn’t expect.

JetBrains ReSharperReShaper is essentially a refactoring add-in.  Renaming variables, methods, extracting methods moving classes & methods, field encapsulation, code formatting, pre-compile warnings & errors… all these are incredibly nice to have during development.  Some of the things that blew me away were:

  • as I was renaming a argument in a method prototype, I saw all the instances of it in the method reflect my new name
  • creating public properties off private variables was a breeze
  • the code formatting is VERY slick and provides tons of control
  • pre-compile warnings and errors are shown next to the vertical scrollbar… very slick for optimizing things, seeing what methods are never used, what variables are never used, etc.

If you haven’t tried it, go get the 30 day trial… this is a productivity enhancing product!  Check out everything it can do.  The only downside is it costs $99, (regularly $149), but well worth it.

TestDriven.NETEssentially a unit testing framework add-in for VS.NET, it makes unit testing so simple, quick and easy.  I won’t write too much as there are tons of people who have done so before me.  It comes with all the latest NUnit assemblies (as well as others).  I typically create another project in my solution that contains a 1–1 class-to-testClass setup and flag that project to never be build by VS.NET… only manually by me.  Running the tests is a breeze as well… so easy and fast!

If you haven’t, this is worth the download.  First, it’s free and second, unit testing is something that will help you with your refactoring and reducing/eliminating bugs in your code all together.

comments powered by Disqus