Skip to content

Remove the strict option and update to cucumber-core >= v17#1893

Closed
brasmusson wants to merge 24 commits into
mainfrom
feature/remove_strict
Closed

Remove the strict option and update to cucumber-core >= v17#1893
brasmusson wants to merge 24 commits into
mainfrom
feature/remove_strict

Conversation

@brasmusson

Copy link
Copy Markdown
Contributor

Description

This removes strict from everywhere inside cucumber-ruby. It depends on cucucmber-ruby-core#330.
It does also adapt cucumber-ruby to other changes in cucumber-core v17.0.0, like cucumber-ruby-core#317.

Type of change

Please delete options that are not relevant.

  • Refactoring (improvements to code design or tooling that don't change behaviour)
  • Breaking change (will cause existing functionality to not
    work as expected)

Please add an entry to the relevant section of CHANGELOG.md as part of this pull request.

Checklist:

Your PR is ready for review once the following checklist is
complete. You can also add some checks if you want to.

  • Tests have been added for any changes to behaviour of the code
  • New and existing tests are passing locally and on CI
  • bundle exec rubocop reports no offenses
  • RDoc comments have been updated
  • CHANGELOG.md has been updated

luke-hill and others added 24 commits April 7, 2026 19:21
* Delete a portion of the RSpec double verification that is not auto enabled

* Add in a bit of a split for some of the glue code
* Remove ruby 2.1 patch

* Moved top level errors out of runtime to bespoke errors file

* Re-order errors according to names

* Re-order requires and pivot to more optimal require relatives

* Tidy up of rubocop autogen file
* When strict is removed, test cases with pending and undefined steps
  will always be reported as failed by the junit formatter.
* When strict is removed from cucumber-ruby-core pending and undefined
  steps will fail the test run (the exit code will be non-zero).
* Also Cucumber::Core::Test::Result::TYPES has been removed.
* When strict is removed from cucumber-ruby-core pending and undefined
  steps will fail the test run (the exit code will be non-zero).
@brasmusson brasmusson marked this pull request as ready for review June 27, 2026 18:22
@brasmusson brasmusson changed the title Remove the strict option and updated to cucumber-core >= v17 Remove the strict option and update to cucumber-core >= v17 Jun 27, 2026
@brasmusson

Copy link
Copy Markdown
Contributor Author

Most of this has already been merged into V11/Deletions (#1848). I close this PR and add the relevant remaining parts to #1848.

@brasmusson brasmusson closed this Jun 30, 2026
@brasmusson brasmusson deleted the feature/remove_strict branch June 30, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants