RubyGems Navigation menu

minitest-hooks 1.2.0

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:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.5.1 - July 27, 2023 (8.5 KB)
  2. 1.5.0 - May 21, 2018 (11 KB)
  3. 1.4.2 - September 12, 2017 (10.5 KB)
  4. 1.4.1 - July 31, 2017 (10 KB)
  5. 1.4.0 - November 17, 2015 (10 KB)
  6. 1.2.0 - July 02, 2015 (9.5 KB)
Show all versions (10 total)

Development Dependencies (4):

minitest > 5
rake >= 0
sequel > 4
sqlite3 >= 0

Owners:

Authors:

  • Jeremy Evans

SHA 256 checksum:

a2281abf81b482b7e9f5e778e94312b7eef23cd23a497df9ec06d3a7cf74e3a2

Total downloads 9,134,383

For this version 47,526

License:

MIT

Required Ruby Version: >= 0

Links: