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

AppVeyorInternal

Nested types and modules

TypeDescription
ArtifactType

Type of artifact that is pushed

MessageCategory
PushArtifactParams

AppVeyor parameters for artifact push as described

TestResultsType

Union type representing the available test result formats accepted by AppVeyor.

Functions and values

Function or valueDescription
AddMessage category details msg
Signature: category:MessageCategory -> details:string -> msg:string -> unit
appendArgIfNotNullOrEmpty(...)
Signature: value:string -> name:string -> builder:StringBuilder -> StringBuilder
defaultPushArtifactParams
Signature: PushArtifactParams

AppVeyor artifact push default parameters

environVar
Signature: string -> string
FinishTestCase(...)
Signature: testSuiteName:string -> testCaseName:string -> duration:TimeSpan -> unit

Finishes the test case.

getJobId()
Signature: unit -> string
IgnoreTestCase(...)
Signature: testSuiteName:string -> testCaseName:string -> message:'?17021 -> unit
Type parameters: '?17021

Ignores the test case.

PushArtifact(setParams)
Signature: setParams:(PushArtifactParams -> PushArtifactParams) -> unit

Push an artifact

PushArtifacts(paths)
Signature: paths:seq<string> -> unit

Push multiple artifacts

sendToAppVeyor(args)
Signature: args:string -> unit
SetVariable name value
Signature: name:string -> value:string -> unit

Set environment variable

StartTestCase testSuiteName testCaseName
Signature: testSuiteName:string -> testCaseName:string -> unit

Starts the test case.

TestFailed(...)
Signature: testSuiteName:string -> testCaseName:string -> message:string -> details:string -> unit

Reports a failed test.

TestSucceeded testSuiteName testCaseName
Signature: testSuiteName:string -> testCaseName:string -> unit

Reports a succeeded test.

UpdateTest(...)
Signature: testSuiteName:string -> testCaseName:string -> outcome:string -> unit

Updates test info

UpdateTestEx(...)
Signature: testSuiteName:string -> testCaseName:string -> outcome:string -> message:string -> stackTrace:string -> stdOut:string -> stdErr:string -> unit

Updates test info

UploadTestResultsFile(...)
Signature: testResultsType:TestResultsType -> file:string -> unit

Uploads a test result file to make them visible in Test tab of the build console.

UploadTestResultsXml(...)
Signature: testResultsType:TestResultsType -> outputDir:string -> unit

Uploads all the test results ".xml" files in a directory to make them visible in Test tab of the build console.