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

Function TestPRTitleFromPRD

internal/git/push_test.go:76–85  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

74}
75
76func TestPRTitleFromPRD(t *testing.T) {
77 p := &prd.PRD{
78 Project: "Git Worktree Support",
79 }
80 got := PRTitleFromPRD("worktrees", p)
81 want := "feat(worktrees): Git Worktree Support"
82 if got != want {
83 t.Errorf("PRTitleFromPRD() = %q, want %q", got, want)
84 }
85}
86
87func TestPRBodyFromPRD(t *testing.T) {
88 t.Run("includes summary and completed stories", func(t *testing.T) {

Callers

nothing calls this directly

Calls 1

PRTitleFromPRDFunction · 0.85

Tested by

no test coverage detected