Skip to the cargo

hk test ​

  • How to hail it: hk test [FLAGS]

Run step-defined tests: drills written into the steps themselves.

Flags to fly ​

  • --list — List the tests without running them
  • --name <NAME>… — Filter by test name, to pick out only the drills ye name (repeatable)
  • --step <STEP>… — Filter by step name, to drill only those hands (repeatable)
  • -h --help — Print help, for when ye've lost yer bearings

Tales from the deck ​

List the step-defined tests, or drill only the tests belonging to one configured step.

sh
hk test --list
hk test --step whitespace
hk test --name 'accepts clean text'

Further charts ​

Getting started: get under way · Troubleshooting: the ship's log · All the bosun's calls

MIT LicenseCopyright © 2026jdx.dev