Interface IRunOptionsFormats

Options relating to formatters - which ones to use, where to write their output, how they should behave

interface IRunOptionsFormats {
    files: Record<string, string>;
    options: JsonObject;
    publish: false | IPublishConfig;
    stdout: string;
}

Properties

files: Record<string, string>

Zero or more mappings of file output path (key) to name/path of the formatter to use (value)

Example

{
"./reports/cucumber.html": "html",
"./reports/custom.txt": "./custom-formatter.js"
}
options: JsonObject

Options to be provided to formatters

Remarks

The value must be a JSON-serializable object.

publish: false | IPublishConfig

Options for report publication, or false to disable publication

stdout: string

Name/path of the formatter to use for stdout output

Generated using TypeDoc