.NET Tools
Essential productivity kit for .NET and game developers
Unit test coverage and continuous testing. Now in Rider!
With each Rider release, we do our best to bridge the gap between Rider and the ReSharper Ultimate bundle. The top in-demand feature has certainly been “Rider + dotCover” integration. So, without further ado, please welcome the latest Rider 2018.2 EAP build – the first Rider version ever that features unit test code coverage and support for continuous testing!
What exactly is dotCover able to do in Rider, and how is it going to be licensed? Read the answers below.
What operating systems are supported?
Currently, only Windows is supported. Support for Mono is still a work in progress and not going to be included in 2018.2.
How is it installed?
dotCover is provided as a bundled plugin for Rider, and installed along with Rider automatically. No additional actions needed! If for some reason you want to disable dotCover, you can do this via Rider’s Plugins settings:
How will it be licensed?
We don’t want to reinvent the wheel and confuse anyone with additional licenses. Since dotCover is normally part of ReSharper Ultimate, all coverage functionality in Rider will be available only for the ReSharper Ultimate + Rider bundle (and of course for the All Products Pack).
What features are already available?
All critical functionality is already here and available starting with the latest EAP. First, it’s “classic” unit test code coverage analysis using Coverage Tree and code highlighting. Everything looks and feels exactly the same as in Visual Studio with ReSharper Ultimate:
Continuous testing is also here and has no differences compared to ReSharper Ultimate. Simply enable it for the desired session, change the code and build or save the project (depending on the preferences).
Note that the continuous testing trigger (build or save) can be set in Unit Testing settings:
If you’re new to the continuous testing feature, find more details in this post.
What features are NOT yet available?
The following dotCover functionality is not present in 2018.2 (but will definitely be in the scope of future releases):
- Code coverage of applications
- Coverage filters
- Coverage reports (XML, HTML, etc.)
- Document summary
- Hot Spots view
- Continuous testing indicator
- Opening coverage snapshots
- Search in Coverage Tree
It’s still possible that some of these will make it into the 2018.2 release, but not likely.
You’re welcome to download the latest Rider 2018.2 EAP and check its coverage capabilities by yourself. And of course, we would be glad to hear your opinion in the comments below!