Analyzing code coverage with dotCover

As we mentioned previously in this chapter, ReSharper can work together with dotCover—another great tool created by JetBrains. dotCover is a code coverage tool that can work independently of ReSharper but it can be also used together with it.

dotCover simply analyzes your code and presents a report that shows how much of your code is covered by unit tests.

To run dotCover from ReSharper, select Cover Unit Tests with dotCover from any place where you can run unit tests with ReSharper. The report will be displayed in the Unit Test Sessions window in a separate tab, as shown in the following screenshot:

Analyzing code coverage with dotCover

Note

You can ...

Get ReSharper Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.