MSpec

Contains a task to run machine.specifications tests.

Nested types and modules

TypeDescription
MSpecParams

Parameter type to configure the MSpec runner.

Functions and values

Function or valueDescription
MSpec setParams assemblies
Signature: setParams:(MSpecParams -> MSpecParams) -> assemblies:seq<string> -> unit

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

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