MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / TestGetPrompt_NoFileReadInstruction

Function TestGetPrompt_NoFileReadInstruction

embed/embed_test.go:48–55  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

46}
47
48func TestGetPrompt_NoFileReadInstruction(t *testing.T) {
49 prompt := GetPrompt("/path/progress.md", `{"id":"US-001"}`, "US-001", "Test Story")
50
51 // The prompt should NOT instruct Claude to read the PRD file
52 if strings.Contains(prompt, "Read the PRD") {
53 t.Error("Expected prompt to NOT contain 'Read the PRD' file-read instruction")
54 }
55}
56
57func TestPromptTemplateNotEmpty(t *testing.T) {
58 if promptTemplate == "" {

Callers

nothing calls this directly

Calls 1

GetPromptFunction · 0.85

Tested by

no test coverage detected