dotCover 2024.1 Help


dotCover options: dotCover | Editor

This options page allows you to configure visual presentation of covered and uncovered code. To indicate code state, dotCover uses colored markers in the left Visual Studio gutter.

Enable highlighting

Enables code highlighting.

Highlight code coverage using

Defines the highlighting mode:

  • Markers in the left gutter — coverage is shown using colored markers in the left gutter of the editor.

  • Line background — coverage is shown by highlighting the whole line of code (as in dotCover 2016.2 and earlier) .

  • Both markers and line background — both ways are used.

Use highlighting to show unit test results

If selected, dotCover will use markers color to indicate not only the coverage of a particular code statement by unit tests but tests results as well.

If cleared, markers will indicate only code coverage.

Use shaped markers (colorblind mode)

If selected, markers will indicate code coverage and test results not only with color but also with their shape.

Show document coverage indicator on marker bar

Shows/hides an additional coverage indicator: the "shield" icon on the ReSharper marker bar.

You can configure highlighting colors in Visual Studio options: Choose Tools | Options | Environment | Fonts and Colors, and then find entries beginning with 'dotCover'.

Last modified: 09 April 2024