NewmanAliases.

RunCollection(ICakeContext, FilePath, NewmanSettings) Method

Summary

Executes Newman against the given collection file, using all defaults.
Assembly
Cake.Newman.dll
Namespace
Cake.Newman
Containing Type
NewmanAliases

Syntax

public static void RunCollection(this ICakeContext ctx, FilePath collectionFile, NewmanSettings settings)

Examples

RunCollection("./collection.json", new NewmanSettings()
    {
        DisableStrictSSL = true,
        ExportCollectionPath = "./collection-export.json",
    });

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
ctx ICakeContext The context.
collectionFile FilePath Path to the collection file.
settings NewmanSettings The settings.

Return Value

Type Description
void