Releases: rubocop/rubocop-minitest
Releases Β· rubocop/rubocop-minitest
RuboCop Minitest 0.36.0
Bug fixes
- #317: Fix an error for
Minitest/MultipleAssertions
when using for-style loops. (@earlopain) - #314: Fix an error for
Minitest/SkipEnsure
when onlyensure
has a body. (@earlopain)
Changes
- #314: (Breaking) Raise a useful error when using a Cop in
AssertOffense
if the Cop's class is not defined. (@brandoncc)
RuboCop Minitest 0.35.1
RuboCop Minitest 0.35.0
New features
- #301: Add new Minitest/Focus cop. (@jaredmoody)
Bug fixes
- #300: Fix an error for
Minitest/AssertEmptyLiteral
when only passing an empty literal. (@earlopain)
Changes
RuboCop Minitest 0.34.5
Bug fixes
- #299: Fix an error for
Style/UselessAssertion
when passing a single argument to methods to accept two arguments. (@earlopain)
Changes
- #298: Extend
Minitest/AssertKindOf
to also correctassert(object.is_a?(Class))
. (@amomchilov)
RuboCop Minitest 0.34.4
RuboCop Minitest 0.34.3
RuboCop Minitest 0.34.2
RuboCop Minitest 0.34.1
RuboCop Minitest 0.34.0 (The RubyConf Taiwan 2023 Edition)
New features
- #272: Add new
Minitest/RedundantMessageArgument
cop. (@koic) - #279: Add new
Minitest/NonExecutableTestMethod
cop. (@koic)
Bug fixes
- #275: Make
Minitest/AssertMatch
aware ofassert_operator
when running with Ruby 2.7. (@koic) - #271: Fix a false positive for
Minitest/EmptyLineBeforeAssertionMethods
andassert_raises
. (@fatkodima)
Changes
- #270: Ignore offenses inside redundant parentheses. (@sambostock)
- #274: Require RuboCop AST 1.30.0+. (@koic)
- #276: Enhance
AssertSame
/RefuteSame
to check forobject_id
comparison. (@fatkodima)
RuboCop Minitest 0.33.0
New features
- #266: Make
Minitest/AssertEqual
aware ofassert_operator
. (@koic) - #268: Make
Minitest/AssertMatch
aware ofassert_operator
. (@koic) - #267: Make
Minitest/RefuteEqual
aware ofassert_operator
andrefute_operator
. (@koic) - #269: Make
Minitest/RefuteMatch
aware ofrefute_operator
andassert_operator
. (@koic)