grokkit/cmd
Greg Gauthier b82016028e
All checks were successful
CI / Test (push) Successful in 28s
CI / Lint (push) Successful in 18s
CI / Build (push) Successful in 15s
refactor(testgen): refine Go test prompt to match scaffold style exactly
- Updated getTestPrompt for Go to enforce exact test structure: unit with t.Parallel() and logs, optional live with precise skip message.
- Ensured test name derivation, no unused imports, and pure output.
- Added example TestTestgenCmd_Unit and _Live in testgen_test.go to demonstrate the new pattern.
- Minor fixes to Python and C prompts for consistency.
2026-03-03 18:06:13 +00:00
..
agent_test.go chore(build): add Makefile and tests for commands and utilities 2026-03-01 00:24:48 +00:00
agent.go feat(config): add per-command model defaults 2026-03-02 16:56:56 +00:00
chat_test.go refactor(tests): improve error handling and defer usage 2026-03-02 21:33:11 +00:00
chat.go feat(config): add per-command model defaults 2026-03-02 16:56:56 +00:00
client.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
commit_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
commit.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
commitmsg.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
completion_test.go test(cmd): improve error handling in completion test writer close 2026-03-02 22:19:47 +00:00
completion.go refactor(cmd): improve error handling in commands and tests 2026-03-01 14:10:24 +00:00
docs_test.go refactor(tests): improve error handling and defer usage 2026-03-02 21:33:11 +00:00
docs.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
edit_helper_test.go test: add unit tests for chat history, edit helper, and code cleaning 2026-03-01 12:44:20 +00:00
edit_test.go refactor(tests): improve error handling and defer usage 2026-03-02 21:33:11 +00:00
edit.go feat(config): add per-command model defaults 2026-03-02 16:56:56 +00:00
history_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
history.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
lint_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
lint.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
prdescribe_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
prdescribe.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
review_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
review.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
root_test.go test(cmd): add unit tests for completion, root execution, config, errors, and logger 2026-03-02 22:12:54 +00:00
root.go feat(cmd): add scaffold command for AI-assisted file creation 2026-03-03 14:18:05 +00:00
run_test.go refactor(tests): improve error handling and defer usage 2026-03-02 21:33:11 +00:00
scaffold_test.go fix(cmd): use Fprintf for efficiency and handle Chdir error in tests 2026-03-03 15:50:30 +00:00
scaffold.go fix(cmd): use Fprintf for efficiency and handle Chdir error in tests 2026-03-03 15:50:30 +00:00
testgen_test.go refactor(testgen): refine Go test prompt to match scaffold style exactly 2026-03-03 18:06:13 +00:00
testgen.go refactor(testgen): refine Go test prompt to match scaffold style exactly 2026-03-03 18:06:13 +00:00