May 24, 2007

ReSharper Unit Test Templates

While I was preparing for my presentation on Rhino.Mocks, I make a couple of nice ReSharper template for creating new unit tests and files with, and without, Rhino.Mocks additions.

So, if you are using Rhino.Mocks and ReSharper, I hope these would be useful to you.

Enjoy.

  • Test Class Template.xml -- File Templates, allows you to create a new test class, one with Rhino.Mocks initialized for NUnit, and one simple unit test class for NUnit.
  • Test Method Templates.xml -- Live Templates, creates new test methods for Rhino.Mocks and and another for standard NUnit.

No comments: