Command Reference

Last modified: 11 February 2024

dotCover command-line tool provides the following commands:

  • cover - Perform coverage analysis of the specified application.

  • cover-dotnet (dotnet) - Performs coverage analysis of the 'dotnet' executable installed in the system.

  • cover-mono (mono) - Performs coverage analysis of the 'mono' executable installed in the system.

  • cover-everything - All-in-one task. Performs coverage analysis of all .NET processes that are started after dotCover.exe.

  • cover-service - All-in-one task. Performs coverage analysis of the specified Windows service.

  • cover-iis - All-in-one task. Performs coverage analysis of a web application running on a IIS server.

  • help - Shows command-line tool help.

  • merge - Merges several coverage snapshots.

  • report - Creates a report for the specified snapshot.

  • version - Writes dotCover version info to the specified file.

  • send - Sends a command to the specified dotCover.exe instance.

You can learn everything about each command right in the console by typing help followed by the command name. All commands (including help) have corresponding shortcuts. For instance, to get information about the analyse command, you can type: