FAKE - F# Make


SpecsRemovement

Contains functions which allow to remove side-by-side specs during the build.

Functions and values

Function or valueDescription
AllNUnitReferences elementName s
Signature: elementName:'?9941 -> s:string -> bool
Type parameters: '?9941

All references to nunit.*.dlls

AllSpecAndTestDataFiles elementName s
Signature: elementName:string -> s:string -> bool

All Spec.cs or Spec.fs files and all files containing TestData

AllSpecFiles elementName s
Signature: elementName:'?9943 -> s:string -> bool
Type parameters: '?9943

All Spec.cs or Spec.fs files

Nothing arg1 arg2
Signature: '?9946 -> '?9947 -> bool
Type parameters: '?9946, '?9947

A Convention which matches nothing

RemoveAllNUnitReferences projectFileName
Signature: projectFileName:string -> string

Removes all NUnit references from a project.

RemoveAllSpecAndTestDataFiles (...)
Signature: projectFileName:string -> string

Removes all spec and test data references from a project.

RemoveTestsFromProject (...)
Signature: assemblyFilterF:(string -> string -> bool) -> fileFilterF:(string -> string -> bool) -> projectFileName:string -> string

Removes test data and test files from a given MSBuild project and recursivly from all MSBuild project dependencies.

Parameters

  • assemblyFilterF - A filter function for assembly references.
  • fileFilterF - A filter function for files in a project.
  • projectFileName - The MSBuild project to start.
Fork me on GitHub