Skip to content

Commit

Permalink
add notes
Browse files Browse the repository at this point in the history
  • Loading branch information
tianfeng92 committed Nov 22, 2024
1 parent d4e719d commit e8bdb37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cucumber-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ export function buildArgs(runCfg: CucumberRunnerConfig, cucumberBin: string) {
'--force-exit',
'--require-module',
'ts-node/register',
// NOTE: Cucumber only supports a single stdout formatter. If multiple stdout
// formatters are specified, Cucumber will use the last one provided.
// To ensure the sauce test report file is always generated, redirect the output to
// sauce-test-report.json using the --format argument and specify the outputFile
// in --format-options simultaneously.
'--format',
'"@saucelabs/cucumber-reporter":"sauce-test-report.json"',
'--format-options',
Expand Down

0 comments on commit e8bdb37

Please sign in to comment.