./devel/ruby-minitest, Complete suite of testing facilities for Ruby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.14.0, Package name: ruby26-minitest-5.14.0, Maintainer: pkgsrc-users

minitest provides a complete suite of testing facilities supporting TDD,
BDD, mocking, and benchmarking.

minitest/unit is a small and incredibly fast unit testing framework. It
provides a rich set of assertions to make your tests clean and readable.

minitest/spec is a functionally complete spec engine. It hooks onto
minitest/unit and seamlessly bridges test assertions over to spec
expectations.

minitest/benchmark is an awesome way to assert the performance of your
algorithms in a repeatable manner.

minitest/mock by Steven Baker, is a beautifully tiny mock (and stub)
object framework.

minitest/pride shows pride in testing and adds coloring to your test
output.

minitest/unit is meant to have a clean implementation for language
implementors that need a minimal set of methods to bootstrap a working
test suite. For example, there is no magic involved for test-case
discovery.


Required to run:
[lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 8bca35248271e2c3529d19795e323da12b4b10c8
RMD160: 471931ad82d08cf37a98d3ce78ed437a9e0b48f9
Filesize: 83 KB

Version history: (Expand)


CVS history: (Expand)


   2020-01-16 16:35:43 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-minitest: update to 5.14.0

Update ruby-minitest to 5.14.0.

=== 5.14.0 / 2020-01-11

* 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)
   2019-10-30 16:16:50 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-minitest: update to 5.13.0

Update ruby-minitest to 5.13.0.

=== 5.13.0 / 2019-10-29

* 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)

=== 5.12.2 / 2019-09-28

* 1 bug fix:

  * After chatting w/ @y-yagi and others, decided to lower support to include \ 
ruby 2.2.

=== 5.12.1 / 2019-09-28

* 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.

=== 5.12.0 / 2019-09-22

* 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)
   2018-03-14 15:06:10 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-minitest: update to 5.11.3

=== 5.11.3 / 2018-01-26

* 1 bug fix:

  * Pushed #error? up to Reportable module. (composerinteralia)

=== 5.11.2 / 2018-01-25

* 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)

=== 5.11.1 / 2018-01-02

* 1 bug fix:

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

=== 5.11.0 / 2018-01-01

* 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)

=== 5.11.0b1 / 2017-12-20

* 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)
   2018-01-04 14:16:32 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-minitest: update to 5.11.1.

=== 5.11.1 / 2018-01-02

* 1 bug fix:

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

=== 5.11.0 / 2018-01-01

* 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)

=== 5.11.0b1 / 2017-12-20

* 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)
   2017-07-31 16:11:12 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-minitest to 5.10.3.

=== 5.10.3 / 2017-07-21

* 1 minor enhancement:

  * Extended documentation for Mock#expect for multiple calls to mock object.
    (insti)

* 2 bug fixes:

  * Finished off missing doco.
  * Fixed verbose output on parallelize_me! classes. (chanks)
   2017-06-04 17:55:56 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-minitest to 5.10.2.

=== 5.10.2 / 2017-05-09

* 1 minor enhancement:

  * Added suggestion in minitest/hell to install minitest/proveit.

* 7 bug fixes:

  * Expand MT6 to Minitest 6. (xaviershay)
  * Fixed location of assert_send deprecation. (rab)
  * Fixed location of nil assert_equal deprecation to work with expectations. \ 
(jeremyevans)
  * Fixed minitest/hell to use parallelize_me! (azul)
  * Made deprecation use warn so -W0 will silence it.
  * Workaround for rdoc nodoc generation bug that totally f'd up minitest doco. \ 
(Paxa)
  * Write aggregated_results directly to the IO object to avoid mixed encoding \ 
errors. (tenderlove)
   2017-03-12 15:39:46 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-minitest to 5.10.1.

=== 5.10.1 / 2016-12-01

* 1 bug fix:

  * Added a hack/kludge to deal with missing #prerecord on reporters that aren't \ 
properly subclassing AbstractReporter (I'm looking at you minitest-reporters)

=== 5.10.0 / 2016-11-30

* 2 minor enhancements:

  * Added AbstractReporter#prerecord and extended ProgressReporter and \ 
CompositeReporter to use it.
  * Minor optimization: remove runnables with no runnable methods before run.

* 1 bug fix:

  * 2.4: removed deprecation warnings when referring to Fixnum.
   2016-11-19 15:38:04 by Takahiro Kambe | Files touched by this commit (6)
Log message:
Remove RUBY_RDOC_VERSION since All RUBY_VERSION_DEFAULT versions of Ruby
are satisfy minimum RUBY_RDOC_VERSION now.