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

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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:'?10707 -> s:string -> bool
Type parameters: '?10707 Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

All references to nunit.*.dlls

AllSpecAndTestDataFiles elementName s
Signature: elementName:string -> s:string -> bool
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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

AllSpecFiles elementName s
Signature: elementName:'?10709 -> s:string -> bool
Type parameters: '?10709 Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

All Spec.cs or Spec.fs files

Nothing arg1 arg2
Signature: '?10712 -> '?10713 -> bool
Type parameters: '?10712, '?10713 Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

A Convention which matches nothing

RemoveAllNUnitReferences(...)
Signature: projectFileName:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Removes all NUnit references from a project.

RemoveAllSpecAndTestDataFiles(...)
Signature: projectFileName:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Removes all spec and test data references from a project.

RemoveTestsFromProject(...)
Signature: assemblyFilterF:(string -> string -> bool) -> fileFilterF:(string -> string -> bool) -> projectFileName:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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.