All Versions
119
Latest Version
Avg Release Cycle
78 days
Latest Release
21 days ago

Changelog History
Page 1

  • v5.13.0

    October 29, 2019
    • 9 minor enhancements:

      • Added Minitest::Guard#osx?
      • Added examples to documentation for assert_raises. (lxxxvi)
      • Added expectations #path_must_exist and #path_wont_exist. Not thrilled with the names.
      • Added fail_after(year, month, day, msg) to allow time-bombing after a deadline.
      • Added skip_until(year, month, day, msg) to allow deferring until a deadline.
      • Deprecated Minitest::Guard#maglev?
      • Deprecated Minitest::Guard#rubinius?
      • Finally added assert_path_exists and refute_path_exists. (deivid-rodriguez)
      • Refactored and pulled Assertions#things_to_diff out of #diff. (BurdetteLamar)
    • 🛠 3 bug fixes:

      • Fix autorun bug that affects fork exit status in tests. (dylanahsmith/jhawthorn)
      • Improved documentation for _/value/expect, especially for blocks. (svoop)
      • Support new Proc#to_s format. (ko1)
  • v5.12.2

    September 28, 2019
    • 1 bug fix:

      • After chatting w/ @y-yagi and others, decided to lower support to include ruby 2.2.
  • v5.12.1

    September 28, 2019
    • 1 minor enhancement:

      • Added documentation for Reporter classes. (sshaw)
    • 🛠 3 bug fixes:

      • Avoid using 'match?' to support older ruby versions. (y-yagi)
      • Fixed broken link to reference on goodness-of-fit testing. (havenwood)
      • Update requirements in readme and Rakefile/hoe spec.
  • v5.12.0

    September 22, 2019
    • 8 minor enhancements:

      • Added a descriptive error if assert_output or assert_raises called without a block. (okuramasafumi)
      • Changed mu_pp_for_diff to make having both \n and \n easier to debug.
      • Deprecated $N for specifying number of parallel test runners. Use MT_CPU.
      • Deprecated use of global expectations. To be removed from MT6.
      • Extended Assertions#mu_pp to encoding validity output for strings to improve diffs.
      • Extended Assertions#mu_pp to output encoding and validity if invalid to improve diffs.
      • Extended Assertions#mu_pp_for_diff to make escaped newlines more obvious in diffs.
      • Fail gracefully when expectation used outside of it.
    • 🛠 3 bug fixes:

      • Check option[:filter] klass before match. Fixes 2.6 warning. (y-yagi)
      • Fixed Assertions#diff from recalculating if set to nil
      • Fixed spec section of readme to not use deprecated global expectations. (CheezItMan)
  • v5.11.3

    January 26, 2018
    • 1 bug fix:

      • Pushed #error? up to Reportable module. (composerinteralia)
  • v5.11.2

    January 25, 2018
    • 1 minor enhancement:

      • Reversed Test < Result. Back to < Runnable and using Reportable for shared code.
    • 🛠 2 bug fixes:

      • Fixed Result#location for instances of Test. (alexisbernard)
      • Fixed deprecation message for Runnable#marshal_dump. (y-yagi)
  • v5.11.1

    January 02, 2018
    • 1 bug fix:

      • Fixed Result (a superclass of Test) overriding Runnable's name accessors. (y-yagi, MSP-Greg)
  • v5.11.0

    January 01, 2018
    • 2 major enhancements:

      • Added Minitest::Result and Minitest::Result.from(runnable).
      • Changed Minitest::Test to subclass Result and refactored methods up.
    • 7 minor enhancements:

      • Added --no-plugins and MT_NO_PLUGINS to bypass MT plugin autoloading. Helps with bad actors installed globally.
      • Added bench_performance_{logarithmic,power} for spec-style benchmarks. (rickhull)
      • Added deprecation warning for Runnable#marshal_dump.
      • Minitest.run_one_method now checks for instance of Result, not exact same class.
      • Minitest::Test.run returns a Result version of self, not self.
      • ProgressReporter#prerecord now explicitly prints klass.name. Allows for fakers.
    • 🛠 4 bug fixes:

      • Object.stub no longer calls the passed block if stubbed with a callable.
      • Object.stub now passes blocks down to the callable result.
      • Pushed Minitest::Test#time & #time_it up to Runnable.
      • Test nil equality directly in assert_equal. Fixes #679. (voxik)
  • v5.11.0.b1

    December 20, 2017
    • 2 major enhancements:

      • Added Minitest::Result and Minitest::Result.from(runnable).
      • Changed Minitest::Test to subclass Result and refactored methods up.
    • 6 minor enhancements:

      • Added --no-plugins and MT_NO_PLUGINS to bypass MT plugin autoloading. Helps with bad actors installed globally.
      • Added bench_performance_{logarithmic,power} for spec-style benchmarks. (rickhull)
      • Minitest.run_one_method now checks for instance of Result, not exact same class.
      • Minitest::Test.run returns a Result version of self, not self.
      • ProgressReporter#prerecord now explicitly prints klass.name. Allows for fakers.
      • Removed Runnable.marshal_dump/load.
    • 🛠 4 bug fixes:

      • Object.stub no longer calls the passed block if stubbed with a callable.
      • Object.stub now passes blocks down to the callable result.
      • Pushed Minitest::Test#time & #time_it up to Runnable.
      • Test nil equality directly in assert_equal. Fixes #679. (voxik)
  • v5.11.0b1

    December 20, 2017
    • 2 major enhancements:

      • Added Minitest::Result and Minitest::Result.from(runnable).
      • Changed Minitest::Test to subclass Result and refactored methods up.
    • 6 minor enhancements:

      • Added --no-plugins and MT_NO_PLUGINS to bypass MT plugin autoloading. Helps with bad actors installed globally.
      • Added bench_performance_{logarithmic,power} for spec-style benchmarks. (rickhull)
      • Minitest.run_one_method now checks for instance of Result, not exact same class.
      • Minitest::Test.run returns a Result version of self, not self.
      • ProgressReporter#prerecord now explicitly prints klass.name. Allows for fakers.
      • Removed Runnable.marshal_dump/load.
    • 🛠 4 bug fixes:

      • Object.stub no longer calls the passed block if stubbed with a callable.
      • Object.stub now passes blocks down to the callable result.
      • Pushed Minitest::Test#time & #time_it up to Runnable.
      • Test nil equality directly in assert_equal. Fixes #679. (voxik)