FAKE - F# Make - A DSL for build tasks and more FAKE
6.2.0

Lookig for older versions of the documentation, pre FAKE v6? See 

v5.fake.build

DotNet.MTPTestTarget Type

Selects what dotnet test runs when global.json selects the Microsoft.Testing.Platform runner, see DotNet.testMTP. That runner takes the target through an option: the .NET SDK 10.0.100 rejects a project that is passed as the first argument. Only one of these targets can be given for a run.

Union cases

Union case Description

CurrentDirectory

Full Usage: CurrentDirectory

The project or solution of the working directory. No option is passed.

Project path

Full Usage: Project path

Parameters:
    path : string

A project file, or a directory that contains one (--project)

path : string

Solution path

Full Usage: Solution path

Parameters:
    path : string

A solution file, or a directory that contains one (--solution)

path : string

TestModules(expression, rootDirectory)

Full Usage: TestModules(expression, rootDirectory)

Parameters:
    expression : string
    rootDirectory : string option

Test applications that are already built, selected by a file globbing expression such as **/bin/Release/net10.0/*.Tests.dll (--test-modules). The expression is resolved from the working directory, or from the given root directory (--root-directory). No project is evaluated for this target, therefore dotnet test rejects it together with MTPTestOptions.Configuration, MTPTestOptions.Framework, MTPTestOptions.Runtime, MTPTestOptions.Architecture and MTPTestOptions.OS.

expression : string
rootDirectory : string option