Releases: rubocop/rubocop-minitest
Releases · rubocop/rubocop-minitest
RuboCop Minitest 0.10.2
RuboCop Minitest 0.10.1
RuboCop Minitest 0.10.0
New features
- #92: Add new
Minitest/LiteralAsActualArgument
cop. (@fatkodima, @tsmmark) - #95: Add new
Minitest/AssertionInLifecycleHook
cop. (@fatkodima) - #91: Add new
Minitest/AssertInDelta
andMinitest/RefuteInDelta
cops. (@fatkodima) - #89: Add new
Minitest/TestMethodName
cop. (@fatkodima) - #83: New cops
AssertPathExists
andRefutePathExists
check for use ofassert_path_exists
/refute_path_exists
instead ofassert(File.exist?(path))
/refute(File.exist?(path))
. (@fatkodima) - #88: Add new
Minitest/MultipleAssertions
cop. (@fatkodima) - #87: Add new
Minitest/AssertSilent
cop. (@fatkodima) - #96: Add new
Minitest/UnspecifiedException
cop. (@fatkodima) - #98: Add new
Minitest/AssertOutput
cop. (@fatkodima) - #84: New cops
AssertKindOf
andRefuteKindOf
check for use ofassert_kind_of
/refute_kind_of
instead ofassert(foo.kind_of?(Class))
/refute(foo.kind_of?(Class))
. (@fatkodima) - #85: Add autocorrect to
Rails/AssertEmptyLiteral
cop. (@fatkodima)
Changes
RuboCop Minitest 0.9.0
RuboCop Minitest 0.8.1
Bug fixes
- #72: Fix some false negatives for
Minitest/GlobalExpectations
. (@andrykonchin)
RuboCop Minitest 0.8.0
New features
- #66: Support all expectations of
Minitest::Expectations
forMinitest/GlobalExpectations
cop. (@koic)
Bug fixes
- #60: Fix
Minitest/GlobalExpectations
autocorrection for chained methods. (@tejasbubane) - #69: Fix a false negative for
Minitest/GlobalExpectations
cop when using a variable or a hash index for receiver. (@koic) - #71: Fix a false negative for
Minitest/AssertEqual
when an argument is enclosed in redundant parentheses. (@koic)
RuboCop Minitest 0.7.0
New features
- #60: Add new cop
Minitest/GlobalExpectations
to check for deprecated global expectations. (@tejasbubane)
Bug fixes
- #58: Fix a false negative for
Minitest/AssertMatch
andMinitest/RefuteMatch
when an argument is enclosed in redundant parentheses. (@koic) - #59: Fix a false negative for
Minitest/AssertRespondTo
andMinitest/RefuteRespondTo
when an argument is enclosed in redundant parentheses. (@koic) - #61: Fix a false negative for
Minitest/AssertInstanceOf
andMinitest/RefuteInstanceOf
when an argument is enclosed in redundant parentheses. (@koic) - #62: Fix a false negative for
Minitest/AssertEmpty
andMinitest/RefuteEmpty
when an argument is enclosed in redundant parentheses. (@koic)