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.
Required Ruby Version
>= 1.8
Authors
Jeremy Evans
Versions
-
1.5.4
-
source
- 1.5.4 source May 04, 2026 (9 KB)
-
-
1.5.3
-
source
- 1.5.3 source December 18, 2025 (8.5 KB)
-
-
1.5.2
-
source
- 1.5.2 source August 14, 2024 (8.5 KB)
-
-
1.5.1
-
source
- 1.5.1 source July 27, 2023 (8.5 KB)
-
-
1.5.0
-
source
- 1.5.0 source May 21, 2018 (11 KB)
-