minitest v5.14.1 Release Notes

Release Date: 2020-05-15 // 17 days ago
    • 3 minor enhancements:

      • Minitest.filter_backtrace returns original backtrace if filter comes back empty.
      • Minitest::BacktraceFilter now returns entire backtrace if $MT_DEBUG set in env.
      • Return true on a successful refute. (jusleg)
    • 1 bug fix:

      • Fixed expectation doco to not use global expectations.

Previous changes from v5.14.0

    • 2 minor enhancements:

      • Block-assertions (eg assert_output) now error if raised inside the block. (casperisfine)
      • Changed assert_raises to only catch Assertion since that covers Skip and friends.
    • 🛠 3 bug fixes:

      • Added example for value wrapper with block to Expectations module. (stomar)
      • Fixed use of must/wont_be_within_delta on Expectation instance. (stomar)
      • Renamed UnexpectedError#exception to #error to avoid problems with reraising. (casperisfine)