(t *testing.T)
| 343 | } |
| 344 | |
| 345 | func TestReportCommand_GroupByEffort(t *testing.T) { |
| 346 | tmpDir := createReportTestFiles(t) |
| 347 | resetReportFlags() |
| 348 | reportGroupBy = "effort" |
| 349 | |
| 350 | output := captureReportOutput(t, tmpDir) |
| 351 | |
| 352 | if !strings.Contains(output, "## Tasks by Effort") { |
| 353 | t.Error("Expected '## Tasks by Effort' section") |
| 354 | } |
| 355 | if !strings.Contains(output, "### small") { |
| 356 | t.Error("Expected '### small' group header") |
| 357 | } |
| 358 | if !strings.Contains(output, "### medium") { |
| 359 | t.Error("Expected '### medium' group header") |
| 360 | } |
| 361 | if !strings.Contains(output, "### large") { |
| 362 | t.Error("Expected '### large' group header") |
| 363 | } |
| 364 | } |
| 365 | |
| 366 | func TestReportCommand_GroupByType(t *testing.T) { |
| 367 | tmpDir := createReportTestFiles(t) |
nothing calls this directly
no test coverage detected