NewmanSettingsExtensions.

UseJUnitReporter(NewmanSettings, FilePath) Method

Summary

Adds the JUnit/XML reporter to this run, exporting results to the specified file.

Syntax

public static NewmanSettings UseJUnitReporter(this NewmanSettings settings, FilePath outputFile)

Parameters

Name Type Description
settings NewmanSettings The settings.
outputFile FilePath The path to the output file. Equivalent to --reporter-junit-export

Return Value

Type Description
NewmanSettings The updated settings.