Loading...
Loading...
Test-driven development workflow for Noodle. Use when testing changes, writing tests, fixing bugs, creating fixtures, or running the test suite. Triggers: "test", "write a test", "fix this bug", "add a fixture", "run tests", "TDD", or any task involving verification of code changes.
npx skill4agent add poteto/noodle testingSkill(commit)test: reproduce #issue-descriptionpnpm testtestdata/./scripts/scaffold-fixture.sh <package-dir> <fixture-name> [state-count]input.jsoninput.ndjsonexpected.mdpnpm fixtures:hash:sync| Command | Purpose |
|---|---|
| Run all tests |
| Skip integration tests |
| Full local CI (test + vet + lint + fixtures) |
| List fixtures marked as known bugs |
| Verify loop fixtures match expected |
| Regenerate loop fixture expected output |
| Verify fixture input hashes |
| Update fixture input hashes |
| Run |
| Architecture lint (file sizes, legacy patterns) |
# Single package
go test ./loop
# Single test
go test ./loop -run TestLoopDirectoryFixtures
# Bypass cache
go test -count=1 ./parse
# With race detector
go test -race ./...
# Verbose
go test -v ./tuitesting.Short()if testing.Short() {
t.Skip("skipping integration test in short mode")
}pnpm test:shortpnpm test