wdio-cucumber-console-reporter
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-rc.1 • Public • Published

Install

npm install --save-dev wdio-cucumber-console-reporter

Configuration

Add the following lines to reporters section in webdriver.io configuration file:

 reporters: [
     [CucumberConsoleReporter, {}]
 ]

Options

Option Type Description
logStage string Specify at what stage should the reporter write the log. This is useful for tests that run in parallel, so that the step logs don't mix together. Valid options are feature, scenario, step
successMessage string Text that should be written on success. This is useful if you need to, for example, parse logs for success or failure.
failureMessage string Text that should be written on failure. This is useful if you need to, for example, parse logs for success or failure.
showTimestamp boolean Show timestamp with every step.
timestampFormat string Timestamp format. For example hh:mm:ss
reporters: [
    [CucumberConsoleReporter,
        {
            logStage: 'scenario', // feature | scenario | step
            successMessage: 'ALL TESTS PASSED',
            failureMessage: 'SOME TESTS FAILED',
            showTimestamp: true,
            timestampFormat: 'hh:mm:ss'
        }
    ]
]

Package Sidebar

Install

npm i wdio-cucumber-console-reporter

Weekly Downloads

1

Version

1.0.0-rc.1

License

MIT

Unpacked Size

34.4 kB

Total Files

19

Last publish

Collaborators

  • motyka