Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 17 additions & 44 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2025-03-14 09:41:32 UTC using RuboCop version 1.69.2.
# on 2025-12-15 17:20:38 UTC using RuboCop version 1.71.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand All @@ -11,6 +11,7 @@
# TODO - [LH] -> Jul '24 - 369 files inspected, 661 offenses detected, 98 offenses autocorrectable
# TODO - [LH] -> Jan '25 (Updated deps and v10 prep) - 369 files inspected, 704 offenses detected, 112 offenses autocorrectable
# TODO - [LH] -> Mar '25 (v10 prep) - 370 files inspected, 721 offenses detected, 116 offenses autocorrectable
# TODO - [LH] -> Dec '25 - 375 files inspected, 713 offenses detected, 109 offenses autocorrectable

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Expand Down Expand Up @@ -46,7 +47,7 @@ Lint/UselessMethodDefinition:
Exclude:
- 'lib/cucumber/glue/proto_world.rb'

# Offense count: 61
# Offense count: 62
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 127
Expand All @@ -55,29 +56,29 @@ Metrics/AbcSize:
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 52
Max: 53

# Offense count: 13
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 515
Max: 516

# Offense count: 8
# Offense count: 7
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 12

# Offense count: 76
# Offense count: 78
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 64
Max: 65

# Offense count: 15
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 804

# Offense count: 8
# Offense count: 7
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 13
Expand Down Expand Up @@ -146,7 +147,7 @@ RSpec/EmptyExampleGroup:
- 'spec/cucumber/filters/activate_steps_spec.rb'
- 'spec/cucumber/running_test_case_spec.rb'

# Offense count: 74
# Offense count: 70
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 58
Expand Down Expand Up @@ -178,12 +179,12 @@ RSpec/ExpectInHook:
- 'spec/cucumber/multiline_argument/data_table_spec.rb'
- 'spec/cucumber/runtime/meta_message_builder_spec.rb'

# Offense count: 13
# Offense count: 14
RSpec/ExpectOutput:
Exclude:
- 'spec/cucumber/formatter/interceptor_spec.rb'

# Offense count: 65
# Offense count: 63
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, each, example
Expand All @@ -197,7 +198,7 @@ RSpec/IndexedLet:
- 'spec/cucumber/filters/retry_spec.rb'
- 'spec/cucumber/glue/registry_and_more_spec.rb'

# Offense count: 36
# Offense count: 37
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
Expand All @@ -211,36 +212,26 @@ RSpec/MatchArray:
Exclude:
- 'spec/cucumber/cli/configuration_spec.rb'

# Offense count: 5
# Offense count: 4
# Configuration parameters: EnforcedStyle.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
Exclude:
- 'spec/cucumber/deprecate_spec.rb'
- 'spec/cucumber/formatter/io_http_buffer_spec.rb'
- 'spec/cucumber/runtime/hooks_examples.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: hash, symbol
RSpec/MetadataStyle:
Exclude:
- 'compatibility/cck_spec.rb'
- 'spec/cucumber/project_initializer_spec.rb'

# Offense count: 15
RSpec/MissingExampleGroupArgument:
Exclude:
- 'spec/cucumber/filters/activate_steps_spec.rb'
- 'spec/cucumber/formatter/fail_fast_spec.rb'
- 'spec/cucumber/formatter/rerun_spec.rb'

# Offense count: 58
# Offense count: 60
RSpec/MultipleExpectations:
Max: 3

# Offense count: 38
# Offense count: 39
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 10
Expand Down Expand Up @@ -300,24 +291,13 @@ RSpec/RepeatedExample:
- 'spec/cucumber/formatter/rerun_spec.rb'
- 'spec/cucumber/world/pending_spec.rb'

# Offense count: 2
RSpec/RepeatedExampleGroupDescription:
Exclude:
- 'spec/cucumber/glue/proto_world_spec.rb'

# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AutoCorrect.
RSpec/ScatteredLet:
Exclude:
- 'spec/cucumber/runtime/support_code_spec.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
RSpec/SortMetadata:
Exclude:
- 'compatibility/cck_spec.rb'

# Offense count: 1
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
# Include: **/*_spec.rb
Expand Down Expand Up @@ -357,12 +337,6 @@ RSpec/VerifiedDoubles:
- 'spec/cucumber/runtime/support_code_spec.rb'
- 'spec/cucumber/world/pending_spec.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Security/YAMLLoad:
Exclude:
- 'lib/cucumber/cli/profile_loader.rb'

# Offense count: 3
Style/ClassVars:
Exclude:
Expand Down Expand Up @@ -400,13 +374,12 @@ Style/RedundantFreeze:
- 'lib/cucumber/runtime.rb'
- 'lib/cucumber/term/ansicolor.rb'

# Offense count: 6
# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
Style/StderrPuts:
Exclude:
- 'examples/i18n/Rakefile'
- 'lib/cucumber/cli/main.rb'
- 'lib/cucumber/deprecate.rb'
- 'lib/cucumber/formatter/unicode.rb'
- 'lib/cucumber/rake/task.rb'
- 'spec/cucumber/formatter/interceptor_spec.rb'
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt
Please visit [cucumber/CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CONTRIBUTING.md) for more info on how to contribute to Cucumber.

## [Unreleased]
### Added
- Added a new option for running order `--reverse` which will run the scenarios in reverse order ([#1807](https://github.com/cucumber/cucumber-ruby/pull/1807) [luke-hill](https://github.com/luke-hill))

## [10.2.0] - 2025-12-10
### Changed
Expand Down
Loading