dotCover 2018.1 Help

カバレッジ結果の操作

No matter what type of coverage analysis you perform, coverage of unit tests , coverage of an application , or coverage of tests on server side , dotCover saves the results in a カバレッジスナップショット . You can then further investigate these results using one of the following ways:

  • カバレッジ結果ブラウザウィンドウ (available in both Visual Studio and dotCoverスタンドアロンアプリケーション ) - this tool window allows opening coverage snapshots recorded during application coverage run or saved in a file.
    If the current snapshot contains assemblies that correspond to the current solution, you can navigate to source code of any item within the snapshot by double-clicking on it.
  • ユニットテストカバレッジ window (available only in Visual Studio) - this tool window displays coverage tree and synchronizes it with unit tests from Unit Test Sessionsウィンドウ .
  • You can quickly view coverage results for the currently opened file by simply looking at the coverage results gutter icon "shield" icon on the ReSharper marker bar:
    • Depending on the results, the icon will look differently: all statements covered, statements are partly covered, statements are partly covered but some tests fail, and so on.
    • The icon shows the same results that are currently shown in the ユニットテストカバレッジ window.
    If you hover the mouse over the icon, you will get more details on total coverage percentage and the number of failed tests.
    coverage results gutter
    Clicking the icon navigates you through the uncovered statements.

The ways of exploring and studying coverage results include:

最終変更日: 2018年4月16日

関連事項