NewmanSettingsExtensions Class

Summary

Extension methods for the NewmanSettings class for working with reporters.
Assembly
Cake.Newman.dll
Namespace
Cake.Newman.Reporters
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["NewmanSettingsExtensions"] class Type type-node

Syntax

public static class NewmanSettingsExtensions

Methods

Name Value Summary
UseCLIReporter(NewmanSettings, Action<CLIReporterSettings>) NewmanSettings
Adds the CLI reporter to this run, using the specifid settings.
static
UseCLIReporter(NewmanSettings) NewmanSettings
Adds the CLI reporter to this run.
static
UseHtmlReporter(NewmanSettings, Action<HtmlReporterSettings>) NewmanSettings
Adds the HTML reporter to this run, using the specified settings.
static
UseHtmlReporter(NewmanSettings) NewmanSettings
Adds the HTML reporter to this run.
static
UseJsonReporter(NewmanSettings, FilePath) NewmanSettings
Adds the JSON reporter to this run, exporting results to the specified file.
static
UseJsonReporter(NewmanSettings) NewmanSettings
Adds the JSON reporter to this run.
static
UseJUnitReporter(NewmanSettings, FilePath) NewmanSettings
Adds the JUnit/XML reporter to this run, exporting results to the specified file.
static
UseJUnitReporter(NewmanSettings) NewmanSettings
Adds the JUnit/XML reporter to this run.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin