summaryrefslogtreecommitdiff
path: root/tests/claude-code/test-subagent-driven-development.sh
diff options
context:
space:
mode:
authorCL Kao <clkao@datarecce.io>2026-01-29 14:39:50 -0800
committerCL Kao <clkao@datarecce.io>2026-01-29 14:39:50 -0800
commit93cf2ee84f9ba8a8ac8229eb927170dd7cb76b3b (patch)
tree58ba96655916463241881ad453ddd91c3e62db88 /tests/claude-code/test-subagent-driven-development.sh
parent1872f50b6416dd964f36014435ea121c54a4cc35 (diff)
test: add worktree requirement test for subagent-driven-development
Add Test 8 to verify that using-git-worktrees is mentioned as a required skill for subagent-driven-development. This test will initially fail per TDD approach - the skill file needs to be updated to pass this test. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/claude-code/test-subagent-driven-development.sh')
-rwxr-xr-xtests/claude-code/test-subagent-driven-development.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/claude-code/test-subagent-driven-development.sh b/tests/claude-code/test-subagent-driven-development.sh
index 95941ed..e23a64b 100755
--- a/tests/claude-code/test-subagent-driven-development.sh
+++ b/tests/claude-code/test-subagent-driven-development.sh
@@ -136,4 +136,17 @@ fi
echo ""
+# Test 8: Verify worktree requirement
+echo "Test 8: Worktree requirement..."
+
+output=$(run_claude "What workflow skills are required before using subagent-driven-development? List any prerequisites or required skills." 30)
+
+if assert_contains "$output" "using-git-worktrees\|worktree" "Mentions worktree requirement"; then
+ : # pass
+else
+ exit 1
+fi
+
+echo ""
+
echo "=== All subagent-driven-development skill tests passed ==="