Cake.Common.Tools.OpenCover Namespace

Class Types

Class Summary

Contains functionality related to OpenCover.

In order to use the commands for this alias, include the following in your build.cake file to download and install from, or specify the ToolPath within the OpenCoverSettings class:

#tool "nuget:?package=OpenCover"

OpenCoverHideSkippedOptionExtensions Extensions class for OpenCoverHideSkippedOption.
OpenCoverRegisterOption Represents the register-options:
  • empty Registers and de-register the code coverage profiler. (Administrative permissions to the registry are required.)
  • "user" Does per-user registration where the user account does not have administrative permissions.
  • path If you do not want to use the registry entries, use -register:path to select the profiler.
OpenCoverRegisterOptionAdmin Gets the register-option representing the "admin"-mode. (This will translate to "-register".)
OpenCoverRegisterOptionDll Gets a register-option pointing to a dll. (This will translate to "-register:[path-to-dll]".)
OpenCoverRegisterOptionUser Gets the register-option representing the "user"-mode. (This will translate to "-register:user".)
OpenCoverRunner The OpenCover runner.
OpenCoverSettings Contains settings used by OpenCoverRunner.
OpenCoverSettingsExtensions Contains extensions for OpenCoverSettings.

Enum Types

Enum Summary
OpenCoverHideSkippedOption Represents the hide skipped option for OpenCover.
OpenCoverLogLevel Represents the logging output level for OpenCover.