RubyGems Navigation menu

minitest-hooks 1.5.3

minitest-hooks adds around and before_all/after_all/around_all hooks for Minitest. This allows you do things like run each suite of specs inside a database transaction, running each spec inside its own savepoint inside that transaction, which can significantly speed up testing for specs that share expensive database setup code.

Gemfile:
=

install:
=

Versions:

  1. 1.5.3 December 18, 2025 (8.5 KB)
  2. 1.5.2 August 14, 2024 (8.5 KB)
  3. 1.5.1 July 27, 2023 (8.5 KB)
  4. 1.5.0 May 21, 2018 (11 KB)
  5. 1.4.2 September 12, 2017 (10.5 KB)
Show all versions (12 total)

Runtime Dependencies (1):

minitest > 5.3

Development Dependencies (4):

Owners:

Pushed by:

Authors:

  • Jeremy Evans

SHA 256 checksum:

=

Total downloads 12,333,675

For this version 628

Version Released:

License:

MIT

Required Ruby Version: >= 1.8

Links: