Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

Use Fake.DotNet.Testing.OpenCover instead (open Fake.Testing and use 'OpenCover.')

OpenCoverHelper

Contains a task which can be used to run OpenCover on .NET assemblies.

Nested types and modules

TypeDescription
OpenCoverParams
OBSOLETE

Use Fake.DotNet.Testing.OpenCover instead (open Fake.Testing and use 'OpenCover.')

OpenCover parameters, for more details see: https://github.com/OpenCover/opencover/wiki/Usage#console-application-usage.

RegisterType
OBSOLETE

Use Fake.DotNet.Testing.OpenCover instead (open Fake.Testing and use 'OpenCover.')

Functions and values

Function or valueDescription
OpenCover setParams targetArgs
Signature: setParams:(OpenCoverParams -> OpenCoverParams) -> targetArgs:string -> unit
Attributes:
[<Obsolete("Use Fake.DotNet.Testing.OpenCover instead (open Fake.Testing and use 'OpenCover.')")>]
OBSOLETE

Use Fake.DotNet.Testing.OpenCover instead (open Fake.Testing and use 'OpenCover.')

Runs OpenCover on a group of assemblies.

Parameters

  • setParams - Function used to overwrite the default OpenCover parameters.
  • targetArgs - Test runner arguments.

Sample

1: 
2: 
 OpenCover (fun p -> { p with TestRunnerExePath = "./Tools/NUnit/nunit-console.exe" }) 
    "project-file.nunit /config:Release /noshadow /xml:artifacts/nunit.xml /framework:net-4.0"
OpenCoverDefaults
Signature: OpenCoverParams
Attributes:
[<Obsolete("Use Fake.DotNet.Testing.OpenCover instead (open Fake.Testing and use 'OpenCover.')")>]
OBSOLETE

Use Fake.DotNet.Testing.OpenCover instead (open Fake.Testing and use 'OpenCover.')

OpenCover default parameters