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

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


Branch: CURRENT, Version: 5.25.4, Package name: ruby32-minitest-5.25.4, 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:

Filesize: 98.5 KB

Version history: (Expand)


CVS history: (Expand)


   2024-12-09 14:47:16 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-minitest: update to 5.25.4

5.25.2 (2024-11-21)

4 bug fixes:

* Include class name in spec name. (thomasmarshall)
* Fixed redefining object_id warning from ruby 3.4. (mattbrictson)
* Minitest top-level namespace no longer includes entire contents of
  README.rdoc.  Too much!
* Refactored spec's describe to more cleanly determine the superclass and
  name

5.25.3 (2024-12-03)

5 bug fixes:

* Fixed assert_mock to fail instead of raise on unmet mock expectations.
* Fixed assert_mock to take an optional message argument.
* Fixed formatting of unmet mock expectation messages.
* Fixed missing must_verify expectation to match assert_mock.
* minitest/pride: Fixed to use true colors with *-direct terminals (bk2204)

5.25.4 (2024-12-03)

1 bug fix:

* Fix for must_verify definition if only requiring minitest/mock (but why?).
   2024-09-18 17:19:08 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-minitest: update to 5.25.1

5.25.0 (2024-08-13)

2 minor enhancements:

* Fixed some inefficiencies filtering and matching (mostly backtraces).
* Refactored siginfo handler to reduce runtime costs. Saved ~30%!

5 bug fixes:

* Added missing rdoc to get back to 100% coverage.
* Cleaning up ancient code checking for defined?(Encoding) and the like.
* Disambiguated some shadowed variables in minitest/compress.
* Fixed an ironic bug if using string-literals AND Werror.
* Improve description of test:slow task. (stomar)

5.25.1 (2024-08-16)

2 bug fixes:

* Fix incompatibility caused by minitest-hooks & rails invading minitest
  internals.
* Revert change from =~ to match? to allow for nil if $TERM undefined.
   2024-03-24 15:11:13 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-minitest: update to 5.22.3

5.22.3 (2024-03-13)

1 minor enhancement:

* MASSIVE improvement of minitest's pride plugin output: Frequencies
  doubled! Sine waves shifted!! Comments improved!!! Colors rotated!!!!
  (havenwood)

3 bug fixes:

* Improved wording on Minitest::Test#parallelize_me! to clarify it goes
  INSIDE your test class/describe.

* Minor changes to tests to pass when tests ran with extra flags (eg -p).

* Support Ruby 3.4's new error message format. (mame)
   2024-02-10 15:05:36 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-minitest: update to 5.22.2

5.22.2 (2024-02-07)

1 bug fix:

* Third time's a charm? Remember: `ensure' is almost always the wrong way to
  go (for results... it's great for cleaning up).
   2024-02-06 16:00:17 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-minitest: update to 5.22.0

5.22.0 (2024-02-05)

1 minor enhancement:

* Added "did you mean" output if your –name filter matches
  nothing. (tenderlove)

2 bug fixes:

* Big cleanup of test filtering. Much prettier / more functional.
* Fix situation where Assertion#location can’t find the location. (pftg)
   2024-01-21 16:24:51 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-minitest: update to 5.21.2

5.21.0 (2024-01-11)

10 minor enhancements:

* Add include_all kw arg to assert_respond_to and refute_respond_to.
* Added –quiet flag to skip ProgressReporter (prints the dots). Minor
  speedup.
* Added Minitest::Compress#compress and added it to UnexpectedError.
* Added ability to initialize BacktraceFilter w/ custom regexp.
* Filter failure backtraces using backtrace_filter before calculating
  location. (thomasmarshall)
* Make BacktraceFilter#filter compatible with locations (still compares
  strings).
* Optimized Assertion#location ~30%.
* Output relative paths for all failures/errors/backtraces.
* Refactored location information in assertions, now using locations.
* Removed thread and mutex_m dependencies. (hsbt, eregon)

2 bug fixes:

* Drop undocumented bt arg in #skip. Dunno why that ever happened, prolly
  for testing?
* Fix mock to work with ruby debugger enabled. (keithlayne)

5.21.1 (2024-01-11)

1 bug fix:

* Rails' default backtrace filter can't currently work with
  caller_locations, so reverting back to caller.

5.21.2 (2024-01-17)

1 bug fix:

* Fixed bug in Minitest::Compress#compress formatting w/ nested patterns.
  Now recurses properly.
   2023-12-16 16:17:17 by Takahiro Kambe | Files touched by this commit (4)
Log message:
devel/ruby-minitest: add version 5.20.0

Re-add ruby-minitest package required by devel/hoe implicitly with ruby31.

5.20.0 (2023-09-06)

1 minor enhancement:

* Optionally allow autorun exit hook to remain active in forked
  child. (casperisfine)
   2023-08-06 09:53:31 by Takahiro Kambe | Files touched by this commit (4) | Package removed
Log message:
devel/ruby-minitest: remove package

ruby-minitest is required by ruby-activesupport*.  But all ruby*-base have
required minitest gem as bundled gem.  So, there is no need to provide
ruby-minitest package.