-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: add runCucumber function internally (#1849)
- Loading branch information
1 parent
49a51f9
commit efff3a3
Showing
26 changed files
with
934 additions
and
865 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,14 @@ | ||
const feature = [ | ||
'--require-module ts-node/register', | ||
'--require features/**/*.ts', | ||
`--format progress-bar`, | ||
'--format rerun:@rerun.txt', | ||
'--format usage:usage.txt', | ||
'--format message:messages.ndjson', | ||
'--format html:html-formatter.html', | ||
'--retry 2', | ||
'--retry-tag-filter @flaky', | ||
'--publish-quiet', | ||
].join(' ') | ||
|
||
const cck = [ | ||
'--require-module', | ||
'ts-node/register', | ||
'--format', | ||
'message', | ||
].join(' ') | ||
|
||
module.exports = { | ||
default: feature, | ||
cck, | ||
default: [ | ||
'--require-module ts-node/register', | ||
'--require features/**/*.ts', | ||
`--format progress-bar`, | ||
'--format rerun:@rerun.txt', | ||
'--format usage:usage.txt', | ||
'--format message:messages.ndjson', | ||
'--format html:html-formatter.html', | ||
'--retry 2', | ||
'--retry-tag-filter @flaky', | ||
'--publish-quiet', | ||
].join(' '), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
@spawn | ||
Feature: internationalization | ||
|
||
Scenario: view available languages | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,6 +83,7 @@ export class World { | |
argv: args, | ||
cwd, | ||
stdout, | ||
env, | ||
}) | ||
let error: any, stderr: string | ||
try { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.