capt-hook test
Run inline tests from the project’s own hooks in .claude/hooks (or –hooks).
capt-hook test [OPTIONS]Only the repo’s own hooks are tested here. The wheel builtins are tested by captain-hook itself, and a plugin’s pack is tested from its own repo with pack test. Tests run under a throwaway HOME so live machine state never leaks into fixtures.
Full --help output
Usage: capt-hook test [OPTIONS]
Run inline tests from the project's own hooks in .claude/hooks (or --hooks).
Only the repo's own hooks are tested here. The wheel builtins are tested by
captain-hook itself, and a plugin's pack is tested from its own repo with
`pack test`. Tests run under a throwaway HOME so live machine state never
leaks into fixtures.
Options:
--json Emit one JSON record per test (CI mode)
--help Show this message and exit.
Options
--json- Emit one JSON record per test (CI mode)