Commit f06965c
Merge hook test files into single test_hooks.py
Consolidate test_hooks_json_format.py and test_hook_wrappers.py into a
single test_hooks.py file with logical organization:
- TestClaudeHookWrapper / TestGeminiHookWrapper: Platform wrapper scripts
- TestRulesStopHook / TestUserPromptSubmitHook: Rules-specific hooks
- TestHooksWithTranscript: Transcript input handling
- TestHookExitCodes: Exit code contract tests (DO NOT EDIT)
- TestHookWrapperIntegration: Integration tests with Python hooks
- TestRulesCheckModule: Python module tests
Also moved hooks_dir and src_dir fixtures to conftest.py for sharing.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 669c6bd commit f06965c
3 files changed
Lines changed: 345 additions & 379 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
71 | 83 | | |
72 | 84 | | |
73 | 85 | | |
| |||
This file was deleted.
0 commit comments