All Versions
129
Latest Version
Avg Release Cycle
91 days
Latest Release
608 days ago

Changelog History
Page 1

  • v5.16.3 Changes

    August 17, 2022
    • ๐Ÿ›  2 bug fixes:

      • Fixed exception sanitization by removing TypeError restriction on rescue.
      • Use A instead of deprecated TESTOPTS in rake test:slow. (davidstosik)
  • v5.16.2 Changes

    July 03, 2022
    • ๐Ÿ›  4 bug fixes:

      • Added MT_KWARGS_HACK kludge for stub to deal with ruby 2.7 kwargs nastiness. (tsugimoto)
      • In #expect, pop Hash class from args if $MT_KWARGS_HACK. (casperisfine)
      • In above scenario, set expected kwargs (as Objects) based on actual kwargs.
      • Nuke ivars if exception fails to marshal twice (eg better_errors). (irphilli)
  • v5.16.1 Changes

    June 20, 2022
    • ๐Ÿ›  2 bug fixes:

      • Apparently adding real kwarg support to mocks/stubs broke some code. Fixed.
      • Use MT_KWARGS_HACK=1 to activate the kludgy kwargs support w/ caveats.
      • Clarified some doco wrt the block on #stub.
  • v5.16.0 Changes

    June 14, 2022
    • 2 major enhancements:

      • Added Minitest::TestTask.
      • Dropping ruby 2.2 - 2.5. 2.6 is DTM soon too.
    • 11 minor enhancements:

      • Added --show-skips option to show skips at end of run but not require --verbose. (MSP-Greg)
      • Added Minitest.seed, the random seed used by the run.
      • Calling srand Minitest.seed before all shuffles to ensure determinism.
      • Extended #stub to handle kwargs for both block and call args. (SampsonCrowley)
      • Extended Mock#__call to display kwargs.
      • Extended Mock#expect to record kwargs.
      • Extended Mock#method_missing to take kwargs & compare them against expected.
      • Mock#method_missing displays better errors on arity mismatch.
      • Removed minor optimization removing empty suites before run.
      • Simplified test randomization (test order will change even with fixed seed).
      • assert_match now returns the MatchData on success. (Nakilon)
    • ๐Ÿ›  3 bug fixes:

      • (Re)Fixed marshalling of exceptions, neutering them in 2 passes.
      • Fixed more problems with rdoc.
      • Had to patch up mock and stub to deal with <=2.7 kwargs oddities
  • v5.15.0 Changes

    December 14, 2021
    • 1 major enhancement:

      • assert_throws returns the value returned, if any. (volmer)
    • 3 minor enhancements:

      • Added -S option to skip reporting of certain types of output
      • Enable Ruby deprecation warnings by default. (casperisfine)
      • Use Etc.nprocessors by default in order to maximize cpu usage. (tonytonyjan)
    • ๐Ÿ›  6 bug fixes:

      • Close then unlink tempfiles on Windows. (nobu)
      • Fixed #skip_until for windows paths. (MSP-Greg)
      • Fixed a bunch of tests for jruby and windows. (MSP-Greg)
      • Fixed marshalling of specs if they error. (tenderlove, jeremyevans, et al)
      • Updated deprecation message for block expectations. (blowmage)
      • Use Kernel.warn directly in expectations in case CUT defines their own warn. (firien)
  • v5.14.4 Changes

    February 23, 2021
    • 1 bug fix:

      • Fixed deprecation warning using stub with methods using keyword arguments. (Nakilon)
  • v5.14.3 Changes

    January 05, 2021
    • 1 bug fix:

      • Bumped require_ruby_version to < 4 (trunk = 3.1).
  • v5.14.2 Changes

    August 31, 2020
    • 1 bug fix:

      • Bumped ruby version to include 3.0 (trunk).
  • v5.14.1 Changes

    May 15, 2020
    • 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.
  • v5.14.0 Changes

    January 11, 2020
    • 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)