DotCoverAliases.

DotCoverMerge(ICakeContext, IEnumerable<FilePath>, FilePath) Method

Summary

Runs DotCover Merge for the specified action and settings.
Namespace
Cake.Common.Tools.DotCover
Containing Type
DotCoverAliases

Syntax

[CakeMethodAlias]
[CakeAliasCategory("Merge")]
[CakeNamespaceImport("Cake.Common.Tools.DotCover.Merge")]
public static void DotCoverMerge(this ICakeContext context, IEnumerable<FilePath> sourceFiles, FilePath outputFile)

Examples

DotCoverMerge(new[] {
    new FilePath("./result1.dcvr"),
    new FilePath("./result2.dcvr")
  },
  new FilePath("./merged.dcvr"));

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.
CakeNamespaceImportAttribute An attribute used to hint Cake about additional namespaces that need to be imported for an alias to work. This attribute can mark an extension method, the extension method class, or the assembly to provide a global set of imports.

Parameters

Name Type Description
context ICakeContext The context.
sourceFiles IEnumerable<FilePath> The list of DotCover coverage snapshot files.
outputFile FilePath The merged output file.

Return Value

Type Description
void