Commit 3eda7fa
fix: register framework-native hooks for RSpec and Cucumber
- Minitest: Minitest.after_run (runs after all tests)
- RSpec: RSpec.configure { |c| c.after(:suite) } (runs after suite)
- Cucumber/other: at_exit fallback
at_exit fires in LIFO order, so it runs BEFORE the test framework
finishes when registered after it. Framework-native hooks guarantee
correct ordering — reporter has data when finalize runs.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a8eb40f commit 3eda7fa
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
0 commit comments