Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix @serial steps being continued to be run after failure and fail_fast() option #252

Merged
merged 15 commits into from
Dec 9, 2022

Conversation

ilslv
Copy link
Member

@ilslv ilslv commented Dec 9, 2022

Synopsis

Currently @serial scenarios are executing even after failure occurred and fail fast option was enabled.

Solution

Stop the execution after first failure, in case fail fast option was enabled.

Checklist

  • Created PR:
    • In draft mode
    • Name contains Draft: prefix
    • Name contains issue reference
    • Has assignee
  • Documentation is updated (if required)
  • Tests are updated (if required)
  • Changes conform code style
  • CHANGELOG entry is added (if required)
  • FCM (final commit message) is posted
    • and approved
  • Review is completed and changes are approved
  • Before merge:
    • Milestone is set
    • PR's name and description are correct and up-to-date
    • Draft: prefix is removed
    • All temporary labels are removed

@ilslv ilslv self-assigned this Dec 9, 2022
@ilslv
Copy link
Member Author

ilslv commented Dec 9, 2022

FCM

Fix `@serial` scenarios continue running after failure on `.fail_fast()` option (#252)

- make `runner::Basic::fail_fast()` available as `Cucumber::fail_fast()`

@ilslv ilslv marked this pull request as ready for review December 9, 2022 10:30
@ilslv ilslv added enhancement Improvement of existing features or bugfix k::testing Related to testing and/or automated tests k::api Related to API (application interface) labels Dec 9, 2022
@ilslv ilslv added this to the 0.18.1 milestone Dec 9, 2022
@ilslv ilslv requested a review from tyranron December 9, 2022 10:31
Copy link
Member

@tyranron tyranron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ilslv please, provide a more meaningful PR description.

@ilslv ilslv requested a review from tyranron December 9, 2022 10:46
Copy link
Member

@tyranron tyranron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ilslv thanks!

@tyranron tyranron merged commit bcf6d2e into main Dec 9, 2022
@tyranron tyranron deleted the serial-fail-fast branch December 9, 2022 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing features or bugfix k::api Related to API (application interface) k::testing Related to testing and/or automated tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants