Updated TDD Productivity Plug-in for Resharper
I first want to thank JetBrains for being pretty awesome. I have complained a lot about how they are constantly chaining their APIs to Resharper and as a result it makes keeping plugins very hard to maintain but they went way out of their way to help. I received and email from one of their developers offering to help on my plugin. Their was a change made in the latest version of resharp which made my plugin incompatible and their telemetry showed them a pattern with this problem. Just this week they made a commit to the source code and updated the project. I did not have the time to get into the internals of this change and I was really motivated by their help.
As a result, if you were using the plugin I recommend you download the latest version and install it!
For those of you who do not use it yet I will run down the features that are available.
1. Code forward, create a class in a referenced project.
When prompted with Quick Fixes for a non-existent class You get the following menu. This adds menu items to create the class in all referenced projects.( If this menu does not show up… you may need to add the project references to you unit test project).
After selecting a menu item. The class is created in the project you selected but the IDE stays in your test class. And you are prompted with the quick fix for adding the using for your classes namespace.
The class file is created in the corresponding project under the correct folder and namespace. It is that easy!
2. Move Class/Interface to referenced project
If you prefer working with your Class or Interface under test in the same file as your test class and move the class to your referenced project after you get your tests passing this feature will reduce the number of steps it takes to move the class to the referenced project. This eliminates the need to fumble around in the Solution Explorer window.