dotCover Web Help

dotCover stores coverage snapshots in .dcvr files.

As soon as you obtain a coverage snapshot after a unit test run or after a manual test session, it opens in a new tab in the Coverage Results Browser or in the Coverage area of the Unit Test Sessions window and stored temporarily until you close the solution.

In Visual Studio, dotCover suggests you to save unsaved snapshots when you close the snapshot tab or solution. However, you can disable it by clicking Do ont ask anymore in the corresponding dialog. If necessary, you can re-enable it by selecting the Confirm closing unsaved snapshots check-box on the dotCover Options | Environment | General.

If you are using dotCover standalone application, all snapshots recorded there are available on the Welcome page even after restarting the application.

To save coverage snapshot
  1. Click Save coverage snapshot as icon_save on the toolbar of the tab where the snapshot is opened.
  2. In the dialog box that appears, indicate a folder where the snapshot should be saved and specify a file name.
  3. Click Save.
To open coverage snapshot
  1. Do one of the following:
    • On the main menu of Visual Studio, choose dotCover | Open Coverage Snapshot or press Ctrl+Alt+K,O.
    • On the main menu of dotCover standalone application, choose File | Open Coverage Snapshot or press Ctrl+O
  2. In the dialog box that appears, specify a snapshot file (.dcvr) and click Open.
  3. The snapshot is opened in the Coverage Results Browser.