NewmanAliases.

RunCollection(ICakeContext, FilePath, Action<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, Action<NewmanSettings> configure)

Examples

RunCollection("./collection.json", s => 
    s.DisableStrictSSL()
    .ExportCollectionTo("./collection-export.json")
    .UseJsonReporter("./json-report.json"));

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
ctx ICakeContext The context.
collectionFile FilePath Path to the collection file.
configure Action<NewmanSettings> The settings configurator.

Return Value

Type Description
void