--- Markdown tests ---
(t *testing.T)
| 146 | // --- Markdown tests --- |
| 147 | |
| 148 | func TestReportCommand_MarkdownDefault(t *testing.T) { |
| 149 | tmpDir := createReportTestFiles(t) |
| 150 | resetReportFlags() |
| 151 | |
| 152 | output := captureReportOutput(t, tmpDir) |
| 153 | |
| 154 | if !strings.Contains(output, "# Project Report") { |
| 155 | t.Error("Expected '# Project Report' heading") |
| 156 | } |
| 157 | if !strings.Contains(output, "## Summary") { |
| 158 | t.Error("Expected '## Summary' section") |
| 159 | } |
| 160 | if !strings.Contains(output, "## Tasks by Status") { |
| 161 | t.Error("Expected '## Tasks by Status' section") |
| 162 | } |
| 163 | if !strings.Contains(output, "## Critical Path") { |
| 164 | t.Error("Expected '## Critical Path' section") |
| 165 | } |
| 166 | if !strings.Contains(output, "## Blocked Tasks") { |
| 167 | t.Error("Expected '## Blocked Tasks' section") |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | func TestReportCommand_MarkdownSummaryMetrics(t *testing.T) { |
| 172 | tmpDir := createReportTestFiles(t) |
nothing calls this directly
no test coverage detected