Skip to content

Releases: rubocop/rubocop-minitest

RuboCop Minitest 0.26.0

14 Jan 23:48
Compare
Choose a tag to compare

New features

Bug fixes

  • #210: Fix a false positive for Minitest/EmptyLineBeforeAssertionMethodsTest when using assertion method with block arg before other assertion method. (@koic)

Changes

  • #209: Mark Minitest/AssertTruthy as unsafe autocorrection. (@koic)
  • #204: Raise severity of Minitest/AssertRaisesWithRegexpArgument, Minitest/AssertWithExpectedArgument, Minitest/GlobalExpectations, Minitest/SkipEnsure, and Minitest/UnreachableAssertion cops to warning. (@koic)

RuboCop Minitest 0.25.1

25 Dec 06:17
Compare
Choose a tag to compare

Changes

  • #206: Make Minitest/AssertWithExpectedArgument aware of message variable. (@koic)

RuboCop Minitest 0.25.0

10 Dec 12:06
Compare
Choose a tag to compare

New features

  • #200: Support it testing block for minitest/spec. (@koic)

RuboCop Minitest 0.24.0

27 Nov 07:19
Compare
Choose a tag to compare

New features

RuboCop Minitest 0.23.2

11 Nov 15:39
Compare
Choose a tag to compare

Bug fixes

  • #189: Fix a false positive for Minitest/EmptyLineBeforeAssertionMethods when using an assertion method as the first line within a test block. (@ryanquanz)

RuboCop Minitest 0.23.1

07 Nov 02:05
Compare
Choose a tag to compare

Bug fixes

  • #189: Fix a false positive for Minitest/EmptyLineBeforeAssertionMethods when using rescue before assertion method. (@koic)
  • #187: Fix an error for Minitest/EmptyLineBeforeAssertionMethods when using method call with block. (@koic)
  • #190: Fix an incorrect autocorrect for Minitest/EmptyLineBeforeAssertionMethods when using method call with source code comment before assertion method. (@koic)
  • #189: Fix a false negative for Minitest/EmptyLineBeforeAssertionMethods when using non assertion method statement before assertion method used in a block. (@koic)
  • #189: Fix a false negative for Minitest/EmptyLineBeforeAssertionMethods when using assertion method used in block before assertion method. (@koic)

RuboCop Minitest 0.23.0

30 Oct 06:10
Compare
Choose a tag to compare

New features

  • #157: Add new Minitest/EmptyLineBeforeAssertionMethods cop. (@koic)

RuboCop Minitest 0.22.2

01 Oct 03:34
Compare
Choose a tag to compare

Bug fixes

  • #185: Fix an incorrect autocorrect for Minitest/RefuteMatch when refute with match and RHS is a regexp literal. (@koic)

RuboCop Minitest 0.22.1

18 Sep 06:41
Compare
Choose a tag to compare

Bug fixes

  • #183: Fix an error for Minitest/AssertMatch when using assert with no arguments match. (@koic)

RuboCop Minitest 0.22.0

08 Sep 08:33
Compare
Choose a tag to compare

New features

  • #179: New Minitest/AssertRaisesWithRegexpArgument cop checks for regular expression literals passed to assert_raises. (@rwstauner)

Bug fixes

  • #181: Fix an incorrect autocorrect for Minitest/AssertMatch when assert with match and RHS is a regexp literal. (@koic)