MCPcopy Create free account
hub / github.com/driangle/taskmd / TestReportCommand_MarkdownGroups

Function TestReportCommand_MarkdownGroups

apps/cli/internal/cli/report_test.go:254–267  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

252}
253
254func TestReportCommand_MarkdownGroups(t *testing.T) {
255 tmpDir := createReportTestFiles(t)
256 resetReportFlags()
257
258 output := captureReportOutput(t, tmpDir)
259
260 // Default group-by is status
261 if !strings.Contains(output, "### pending (4)") {
262 t.Error("Expected '### pending (4)' group header")
263 }
264 if !strings.Contains(output, "### completed (1)") {
265 t.Error("Expected '### completed (1)' group header")
266 }
267}
268
269func TestReportCommand_MarkdownCriticalPath(t *testing.T) {
270 tmpDir := createReportTestFiles(t)

Callers

nothing calls this directly

Calls 4

createReportTestFilesFunction · 0.85
resetReportFlagsFunction · 0.85
captureReportOutputFunction · 0.85
ErrorMethod · 0.80

Tested by

no test coverage detected