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.MSpec instead

MSpecHelper

Contains a task to run machine.specifications tests.

Nested types and modules

TypeDescription
MSpecParams
OBSOLETE

use Fake.DotNet.Testing.MSpec instead

Parameter type to configure the MSpec runner.

Functions and values

Function or valueDescription
MSpec setParams assemblies
Signature: setParams:(MSpecParams -> MSpecParams) -> assemblies:seq<string> -> unit
Attributes:
[<Obsolete("use Fake.DotNet.Testing.MSpec instead")>]
OBSOLETE

use Fake.DotNet.Testing.MSpec instead

This task to can be used to run machine.specifications on test libraries.

Parameters

  • setParams - Function used to overwrite the MSpec default parameters.
  • assemblies - The file names of the test assemblies.

Sample

1: 
2: 
!! (testDir @@ "Test.*.dll") 
  |> MSpec (fun p -> {p with ExcludeTags = ["HTTP"]; HtmlOutputDir = reportDir})

Hint

XmlOutputPath expects a full file path whereas the HtmlOutputDir expects a directory name

MSpecDefaults
Signature: MSpecParams
Attributes:
[<Obsolete("use Fake.DotNet.Testing.MSpec instead")>]
OBSOLETE

use Fake.DotNet.Testing.MSpec instead

MSpec default parameters - tries to locate mspec-clr4.exe in any subfolder.