Configuring Resharper to run xUnit tests

For those that don”t know, xUnit is a new unit test framework for .NET.  The xUnit extensions do have an installer that will help you installing the xUnit Resharper plugin. Unfortunately, it won”t work if you”re using Windows Vista (at least not with UAC on). The problem is that it checks for the HKEY_LOCAL_MACHINE for the Jetbrains hives but in my case they”re defined on the HKEY_CURRENT_USER. So, to get Resharper integration, you”ll need to follow these steps:

  1. create a Plugins/xUnit folder inside the R#_Install_Dir/Bin folder
  2. copy the xunit.dll and xunitext.runner.jetbrains.dll assemblies into that folder
  3. Optionally, if you want to force a refresh of the UI, open the registry, go to the HKEY_CURRENT_USERSoftwareJetbrainsResharperv3.1vs9.0 and set the One-Time Initialization Generation to the current date
Advertisements

~ by Luis Abreu on December 21, 2007.

One Response to “Configuring Resharper to run xUnit tests”

  1. Thanks for the post!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: