![]() All tests pass.Īll statements in a line are covered by unit tests. If you want the highlighting to show only code coverage (without test results as it was in dotCover 2016.2 and earlier), clear the Use highlighting to show unit test results option in ReSharper | Options | Cover | Editor.Īt least one statement in a line is not covered by unit tests.Īll statements in a line are covered by unit tests. | Environment | Fonts and Colors and find entries beginning with 'dotCover'. To configure the colors that dotCover uses for highlighting markers, open Tools | Options. To indicate the state of the code statement, dotCover uses colored markers in the gutter of Visual Studio: To switch the highlighting for a particular snapshot, click Highlight code on the toolbar of the window where the current snapshot is open. If you switch between several snapshots in the Coverage Results Browser window or in the Unit Test Coverage window, the highlighting does not switch automatically. To disable highlighting of the current snapshot, press Control+Alt+K H or choose ReSharper | Cover | Toggle Code Highlighting from the main menu Ĭlick Highlight code on the toolbar of the window where the current snapshot is open.ĭotCover will highlight code in all assemblies that are included in the current coverage snapshot (see the gutter): Open the snapshot that you want to analyze in the Coverage Results Browser window or in the Unit Test Coverage window. To visualize coverage and test results data, dotCover can highlight statements in the current snapshot right in Visual Studio editor.
0 Comments
Leave a Reply. |