Skip to content

Releases: rubocop/rubocop-minitest

RuboCop Minitest 0.16.0

14 Nov 07:47
Compare
Choose a tag to compare

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

11 Oct 01:51
Compare
Choose a tag to compare

Bug fixes

  • #145: Mark Minitest/AssertEmptyLiteral as safe auto-correction. (@koic)

RuboCop Minitest 0.15.1

26 Sep 08:18
Compare
Choose a tag to compare

Bug fixes

  • #143: Fix an error for Minitest/LiteralAsActualArgumentTest when expected and actual arguments are literals. (@koic)

RuboCop Minitest 0.15.0

09 Aug 07:29
Compare
Choose a tag to compare

New features

  • #140: Make Minitest/AssertNil and Minitest/RefuteNil aware of assert(obj.nil?) and refute(obj.nil?). (@koic)

RuboCop Minitest 0.14.0

02 Jul 22:44
Compare
Choose a tag to compare

New features

  • #133: Add new Minitest/UnreachableAssertion cop. (@koic)

RuboCop Minitest 0.13.0

20 Jun 05:07
Compare
Choose a tag to compare

New features

  • #136: Support Active Support's test method for Minitest/MultipleAssertions and Minitest/NoAssertions cops. (@koic)

RuboCop Minitest 0.12.1

25 Apr 05:24
Compare
Choose a tag to compare

Bug fixes

  • #131: Fix an error for Minitest/MultipleAssertions and fixes a false positive for test block. (@koic)

RuboCop Minitest 0.12.0

23 Apr 09:42
Compare
Choose a tag to compare

New features

Changes

RuboCop Minitest 0.11.1

30 Mar 16:49
Compare
Choose a tag to compare

Changes

  • #126: Mark Minitest/AssertWithExpectedArgument as unsafe. (@koic)

RuboCop Minitest 0.11.0

21 Mar 17:22
Compare
Choose a tag to compare

New features

  • #117: Add new cop Minitest/AssertWithExpectedArgument to check for unintended usages of assert instead of assert_equal. (@cstyles)

Bug fixes

  • #122: Fix Minitest/TestMethodName for tests with multiple assertions. (@ghiculescu)

Changes

  • #118: (BREAKING) Fix Minitest/AssertEmptyLiteral by making it check for assert_equal([], array) instead of assert([], array). (@cstyles)
  • #125: Require RuboCop 0.90 or higher. (@koic)