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

Function TestRunStatusWithMissingPRD

internal/cmd/status_test.go:73–85  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

71}
72
73func TestRunStatusWithMissingPRD(t *testing.T) {
74 tmpDir := t.TempDir()
75
76 opts := StatusOptions{
77 Name: "nonexistent",
78 BaseDir: tmpDir,
79 }
80
81 err := RunStatus(opts)
82 if err == nil {
83 t.Error("Expected error for missing PRD")
84 }
85}
86
87func TestRunListWithNoPRDs(t *testing.T) {
88 tmpDir := t.TempDir()

Callers

nothing calls this directly

Calls 1

RunStatusFunction · 0.85

Tested by

no test coverage detected