NewmanSettingsExtensions.

WithEnvironment(NewmanSettings, FilePath) Method

Summary

Specify the file path for an environmentsfiel to use for the current execution.
Assembly
Cake.Newman.dll
Namespace
Cake.Newman
Containing Type
NewmanSettingsExtensions

Syntax

public static NewmanSettings WithEnvironment(this NewmanSettings settings, FilePath environmentFile)

Parameters

Name Type Description
settings NewmanSettings The settings.
environmentFile FilePath The path to the input environments file.

Return Value

Type Description
NewmanSettings The updated settings.