-
Notifications
You must be signed in to change notification settings - Fork 9
ReSharper Integration
Currently there is an issue where no StorEvil specs will be shown if the “Group by:” dropdown is set to “Project Structure” in the ReSharper Unit Test Explorer. To work around this, choose any other option from the dropdown.
To build the ReSharper runner, you must have ReSharper 5.1 installed.
If you don’t have resharper, you can still use the console application to run StorEvil specs. The ReSharper runner will not be built if you do not have ReSharper installed.
This command will build the resharper test runner plugin and install it for the current user:
msbuild default.build /t:InstallReSharper
If you later want to uninstall the plugin:
msbuild default.build /t:UninstallReSharper
The ReSharper runner is built as part of the Package
command. See Building StorEvil from source for more information.
If you have installed ReSharper 5.1 to the default location, the StorEvil build script will find the necessary DLLs and copy them into the Lib\JetBrains folder. If for some reason you have installed it to a different location, you can set the ReSharperBinPath
property when invoking default.build
.
Once it is built, installing the plugin is just a matter of copying a couple of DLLs to the appropriate path, which is located in your user directory:
For Visual Studio 2010 (Tested):
C:\Users\{your user name}\AppData\Roaming\JetBrains\ReSharper\v5.1\vs10.0\Plugins\StorEvil
For Visual Studio 2008 (This should work but I haven’t tested it):
C:\Users\{your user name}\AppData\Roaming\JetBrains\ReSharper\v5.1\vs9.0\Plugins\StorEvil
Fire up Visual Studio and open the ReSharper|Plugins menu. You should see “StorEvil” as an option. Make sure it’s checked.
Open up the ReSharper Unit Test Explorer window and select “Projects and Namespaces” from the “Group by:” dropdown. You should see any storevil specs that you have in your solution. (There is an issue with “Project Structure”: see the top of this page)