--fail-fast CLI option
See original GitHub issueNice to have a --fail-fast
option that process.exit(1)
after first error found.
Issue Analytics
- State:
- Created 10 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
`--fail-fast` option - Command line - RSpec Core - Relish
Use the --fail-fast option to tell RSpec to stop running the test suite on the first failed test. You may add a parameter...
Read more >CLI: `--fail-fast` option — lambdaisland/kaocha 1.70.1086 - cljdoc
CLI : --fail-fast option. Kaocha by default runs all tests it can find, providing a final summary on failures and errors when all...
Read more >CLI (command-line interface) - Cucumber Rust Book
cucumber crate provides several options that can be passed to the command-line. Use --help flag to print out all the available options:.
Read more >Fail Fast Testing - GitLab Docs
Fail fast testing gives you a faster feedback loop from the pipeline. ... To customize the job, specific options may be set to...
Read more >Fail-Fast: Stop running tests on the first failure
The cancel strategy only stops the jobs and blocks in your pipeline that haven't yet started. This option is ideal if you don't...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This works for me, when using protractor with cucumber, add the fail-fast option to cucumberOpts in the protractor conf file, the quotes around the ‘fail-fast’ are needed.
cucumberOpts: { require: [ ‘…/features/step_definitions/*.js’, ], format: ‘pretty’, // or summary, progress ‘fail-fast’: true },
Hi!
I am using Protractor with Cucumber (and I also run my tests on Travis with Gulp). I have not found a way to fail when the first failed test occurs… Would you include that in Protractor? Is there a workaround I can use?
Thanks!