What problem does it solve?
This Skill helps you structure Go tests so they reliably verify behavior, measure coverage, and validate interactive Bubbletea/TUI flows and golden outputs without flaky assertions.
Core Features & Use Cases
- Table-driven unit testing for deterministic behavior across multiple scenarios (e.g., input/expected output).
- Bubbletea testing patterns by testing
Model.Update() state transitions directly, with teatest reserved for truly interactive flows.
- Coverage + golden file verification to lock in rendered output deterministically and update it safely via the
-update path.
- Safe filesystem and integration boundaries using
t.TempDir() and skipping slow/external-command tests with testing.Short().
Quick Start
Trigger go-testing by asking for focused Go test cases that include table-driven scenarios, deterministic golden assertions, and Bubbletea state transition coverage for the relevant package code.