Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

OpenCoverParams

Record Fields

Record FieldDescription
ExePath
Signature: string

(Required) Path to the OpenCover console application

Filter
Signature: string

A list of filters to apply to selectively include or exclude assemblies and classes from coverage results.

MergeByHash
Signature: bool

This option is used to merge the coverage results for an assembly regardless of where it was loaded assuming the assembly has the same file-hash in each location.

OptionalArguments
Signature: string

This options is used to add additional optional arguments, could be somthing like "-returntargetcode "

Output
Signature: string

The location and name of the output xml file. If no value is supplied then the current directory will be used and the output filename will be results.xml.

Register
Signature: RegisterType

Use this to register and de-register the code coverage profiler.

TestRunnerExePath
Signature: string

(Required) Path to the NUnit/XUnit console runner

TimeOut
Signature: TimeSpan

The timeout for the OpenCover process.

WorkingDir
Signature: string

The directory where the OpenCover process will be started.