go-test-state-driven-table
Use when writing a Go test for a function with stateful external dependencies and multiple input scenarios. Combine a named map-based test table with a handwritten fake collaborator so each failure names its scenario and asserts on observable state, not call sequences.
Pinned to revision e4081cbb4d29, so it is the text this page describes rather than whatever the author pushed since.
Pre-approved tools experimental
Experimental field. Support varies between clients, so this list is what the author declared, not what your client will enforce.
- Bash
- Read
- Edit
Files
- skills/go-test-state-driven-table/SKILL.md
- skills/go-test-state-driven-table/scripts/current-state.sh
- skills/go-test-state-driven-table/test-prompts.json
Every link opens the file at its source, pinned to the revision this page describes.