-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(build): run cucumber tests using NPM scripts instead of Grunt (#…
…3476) The main reason for this change is to be able to update Cucumber library as `grunt-cucumberjs` (mavdi/grunt-cucumberjs#110) does not support cucumber@4 and looks pretty abandoned. Grunt ecosystem is not very active for a while, so we can expect more issues of this sort in the future. Because of this and to keep docs consistent I've also added NPM scripts to run other test types (for now they just proxy to Grunt) and removed Grunt examples from the documentation. In the next PR I will update `cucumber` and perform some cleanup of the step definitions.
- Loading branch information
Showing
5 changed files
with
24 additions
and
252 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Shared configuration for Cucumber.js tests. | ||
// See https://github.com/cucumber/cucumber-js/blob/master/docs/cli.md#profiles | ||
const options = [ | ||
'--format progress', | ||
'--require test/e2e/support/env.js', | ||
'--require test/e2e/support/world.js', | ||
'--require test/e2e/step_definitions/core_steps.js', | ||
'--require test/e2e/step_definitions/hooks.js', | ||
'--tags "not @not-jenkins"' | ||
] | ||
|
||
module.exports = { | ||
'default': options.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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.