23. October 2011 12:39
Finally I get around to releasing dotCover support for the xUnit.net ReSharper unit testing plugin. Meant to do this ages ago, and it slipped off the radar – apologies.
The dotCover guys have made integration very nice and easy. Simply right click on a file, or a class, or click the icon next to a test method and select “Cover with dotCover”. The unit tests are run, dotCover thinks for a couple of seconds, and then you get your code coverage.
If you have the “Highlight code” icon selected, then all code (tests and production code) is highlighted in green or red depending on your coverage. The options even allows you to select a colour scheme that works with a dark background.
And that’s it. There are no other changes in this release.
You can download it from the codeplex site, and installation is the usual unblock, unzip and replace files. But, as a special treat, if you’re playing with my experimental NuGet ReSharper extension manager, you can download the .nupkg file from the same page. If you drop this file into the C:\rsrepo folder (remember, it is experimental), go to ReSharper –> Extension Manager –> Updates, it should appear as an update, ready to install. One small VS restart later, and you’re up and running with the new version.