rspec-expectations icon indicating copy to clipboard operation
rspec-expectations copied to clipboard

Add deprecations warnings for RSpec 4

Open benoittgt opened this issue 4 years ago • 0 comments

This issue is meant to follow the deprecation we will introduce in rspec-expectations 3.99.

  • Ruby < 2.3 is no longer supported. (Phil Pirozhkov, #1230
    • Will be handled by bundler
  • Remove should and should_not syntax (including one-liners). (Phil Pirozhkov, #1245)
    • https://github.com/rspec/rspec-expectations/pull/1301
  • Turn strict_predicate_matchers on by default. (Phil Pirozhkov, #1277)
    • Do we want to print a warning when a predicate expectation fail?
  • Remove deprecated LegacyMacherAdapter. (Phil Pirozhkov, #1253)
    • Already deprecated
  • Remove support for legacy RSpec matchers (pre 3). (Phil Pirozhkov, #1253)
    • Legacy code
  • Remove include_chain_clauses_in_custom_matcher_descriptions option and make it the default. (Phil Pirozhkov, #1279)
    • Needs to be deprecated when used
  • Remove support for present-tense dynamic predicate. (Phil Pirozhkov, #1286)
    • Needs to be deprecated when used
  • Prevent implicit blocks (e.g blocks as values) from being used with block matchers. (Phil Pirozhkov, #1285)
    • Already deprecated
  • Remove deprecated match_regex matcher. (Phil Pirozhkov, #1288)
    • Already deprecated
  • Remove deprecated StartAndEndWith matcher base class. (Phil Pirozhkov, #1288)
    • Already deprecated

benoittgt avatar Jun 01 '21 06:06 benoittgt