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

Params

CLI parameters available if you use Tests.runTestsInAssembly defaultConfig argv in your code:

Record Fields

Record FieldDescription
CustomArgs
Signature: string list

Custom arguments to use in the case the helper not yet supports them

Debug
Signature: bool

Extra verbose output for your tests.

FailOnFocusedTests
Signature: bool

Fails the build if focused tests exist. Default is true

Filter
Signature: string

Filter a specific hierarchy to run.

FilterTestCase
Signature: string

Filter a specific test case to run.

FilterTestList
Signature: string

Filter a specific test list to run.

ListTests
Signature: bool

Doesn't run tests, print out list of tests instead.

Parallel
Signature: bool

Run all tests in parallel. Default is true.

ParallelWorkers
Signature: int

Number of parallel workers (defaults to the number of logical processors).

PrintVersion
Signature: bool

Prints the version on startup. Default is true

Run
Signature: string list

Run only provided tests.

Summary
Signature: bool

Prints out summary after all tests are finished.

SummaryLocation
Signature: bool

Prints out summary after all tests are finished including their source code location.

WorkingDirectory
Signature: string

Working directory

Static members

Static memberDescription
Params.DefaultParams
Signature: Params