Releases: rubocop/rubocop-minitest
Releases · rubocop/rubocop-minitest
RuboCop Minitest 0.17.0
New features
- #155: Provide
assert_offense
, assert_correction
, and assert_no_offenses
testing APIs for custom Minitest cop development. (@koic)
RuboCop Minitest 0.16.0
New features
- #147: Add
EnforcedStyle
config parameter for Minitest/GlobalExpectations
. (@gi)
Bug fixes
- #142: Fix
Minitest/GlobalExpectations
autocorrect when receiver is lambda. (@gi)
- #150: Fix a false positive for
Minitest/AssertEmpty
and RefuteEmpty
cops when using empty
method with any arguments. (@koic)
RuboCop Minitest 0.15.2
Bug fixes
- #145: Mark
Minitest/AssertEmptyLiteral
as safe auto-correction. (@koic)
RuboCop Minitest 0.15.1
Bug fixes
- #143: Fix an error for
Minitest/LiteralAsActualArgumentTest
when expected and actual arguments are literals. (@koic)
RuboCop Minitest 0.15.0
New features
- #140: Make
Minitest/AssertNil
and Minitest/RefuteNil
aware of assert(obj.nil?)
and refute(obj.nil?)
. (@koic)
RuboCop Minitest 0.14.0
New features
- #133: Add new
Minitest/UnreachableAssertion
cop. (@koic)
RuboCop Minitest 0.13.0
New features
- #136: Support Active Support's
test
method for Minitest/MultipleAssertions
and Minitest/NoAssertions
cops. (@koic)
RuboCop Minitest 0.12.1
Bug fixes
- #131: Fix an error for
Minitest/MultipleAssertions
and fixes a false positive for test
block. (@koic)
RuboCop Minitest 0.11.1
Changes
- #126: Mark
Minitest/AssertWithExpectedArgument
as unsafe. (@koic)