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

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


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

Version history: (Expand)


CVS history: (Expand)


   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.
   2023-08-06 09:46:02 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-minitest: update to 5.19.0

5.19.0 (2023-07-26)

2 minor enhancements:

* Add metadata lazy accessor to Runnable / Result. (matteeyah)
* Only load minitest/unit (aka ancient MiniTest compatibility layer) if
  ENV["MT_COMPAT"]

1 bug fix:

* Minitest::TestTask enthusiastically added itself to default. (ParadoxV5)
   2023-07-15 16:35:18 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-minitest: update to 5.18.1

3 bug fixes:

* Avoid extra string allocations when filtering tests. (tenderlove)
* Only mention deprecated ENV if it is an integer string.
* Push up test_order to Minitest::Runnable to fix minitest/hell. (koic)