Steve Yegge
c840ba50bc
Add comprehensive tests for show.go commands (bd-12c2)
Added test coverage for show, update, close, and edit commands in
cmd/bd/show_test.go:
- TestShowCommand (6 subtests): single/multiple issues, JSON output,
dependencies, labels, compaction
- TestUpdateCommand (11 subtests): status, priority, title, assignee,
description, design, notes, acceptance criteria, multiple fields/issues
- TestCloseCommand (4 subtests): single/multiple issues, JSON output,
with/without reason
- TestEditCommand (1 subtest): argument validation
Key improvements:
- Properly sets global store variable to avoid "no issue found" errors
- Uses direct mode (BEADS_NO_DAEMON=1) for test isolation
- Follows existing test patterns from init_test.go and list_test.go
- All 22 test cases passing
Total cmd/bd coverage improved to 39.6%
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 20:29:17 -07:00
..
2025-10-31 00:19:42 -07:00
2025-10-31 18:40:32 -07:00
2025-10-31 15:12:01 -07:00
2025-10-31 18:40:32 -07:00
2025-10-31 01:07:42 -07:00
2025-10-27 20:08:50 -07:00
2025-10-26 22:31:24 -07:00
2025-10-30 15:41:46 -07:00
2025-10-31 18:40:32 -07:00
2025-10-26 21:55:01 -07:00
2025-10-30 14:42:08 -07:00
2025-10-27 20:08:50 -07:00
2025-10-29 12:32:27 -07:00
2025-10-29 22:55:13 -07:00
2025-10-31 20:18:05 -07:00
2025-10-26 22:48:19 -07:00
2025-10-29 15:30:47 -07:00
2025-10-29 15:53:41 -07:00
2025-10-29 11:47:40 -07:00
2025-10-29 22:55:13 -07:00
2025-10-31 20:20:44 -07:00
2025-10-31 18:40:32 -07:00
2025-10-26 22:48:19 -07:00
2025-10-26 22:48:19 -07:00
2025-10-31 15:11:29 -07:00
2025-10-31 15:11:29 -07:00
2025-10-28 19:46:12 -07:00
2025-10-26 22:31:24 -07:00
2025-10-31 11:41:13 -07:00
2025-10-31 11:41:13 -07:00
2025-10-31 19:51:44 -07:00
2025-10-27 20:00:49 -07:00
2025-10-29 21:57:15 -07:00
2025-10-26 23:06:03 -07:00
2025-10-29 21:57:15 -07:00
2025-10-27 20:45:59 -07:00
2025-10-27 22:44:40 -07:00
2025-10-31 01:07:42 -07:00
2025-10-27 20:00:49 -07:00
2025-10-30 22:24:42 -07:00
2025-10-31 01:07:42 -07:00
2025-10-31 01:07:42 -07:00
2025-10-27 20:08:50 -07:00
2025-10-31 01:38:29 -07:00
2025-10-27 20:00:49 -07:00
2025-10-26 20:17:48 -07:00
2025-10-31 01:07:42 -07:00
2025-10-26 22:31:24 -07:00
2025-10-31 14:36:20 -07:00
2025-10-26 22:31:24 -07:00
2025-10-28 11:34:27 -07:00
2025-10-31 17:17:33 -07:00
2025-10-31 11:41:13 -07:00
2025-10-27 20:08:50 -07:00
2025-10-27 20:00:49 -07:00
2025-10-31 14:36:20 -07:00
2025-10-30 16:28:13 -07:00
2025-10-30 16:28:13 -07:00
2025-10-30 21:51:39 -07:00
2025-10-31 17:26:37 -07:00
2025-10-27 20:21:34 -07:00
2025-10-31 18:12:40 -07:00
2025-10-27 20:08:50 -07:00
2025-10-31 18:15:13 -07:00
2025-10-27 22:59:19 -07:00
2025-10-27 18:31:01 +00:00
2025-10-30 22:24:42 -07:00
2025-10-26 22:31:24 -07:00
2025-10-31 14:36:20 -07:00
2025-10-29 12:56:51 -07:00
2025-10-29 12:56:51 -07:00
2025-10-31 19:44:43 -07:00
2025-10-26 22:48:19 -07:00
2025-10-31 20:29:17 -07:00
2025-10-31 14:36:20 -07:00
2025-10-27 20:38:13 -07:00
2025-10-31 19:44:43 -07:00
2025-10-31 01:25:05 -07:00
2025-10-27 20:08:50 -07:00
2025-10-31 19:44:43 -07:00
2025-10-31 19:37:18 -07:00
2025-10-31 20:21:15 -07:00