TestBuildToolUsageSummaryPopulatesDisplay tests that buildToolUsageSummary works correctly
(t *testing.T)
| 108 | |
| 109 | // TestBuildToolUsageSummaryPopulatesDisplay tests that buildToolUsageSummary works correctly |
| 110 | func TestBuildToolUsageSummaryPopulatesDisplay(t *testing.T) { |
| 111 | processedRuns := []ProcessedRun{ |
| 112 | { |
| 113 | Run: WorkflowRun{ |
| 114 | LogsPath: "/tmp/test-logs", |
| 115 | }, |
| 116 | }, |
| 117 | } |
| 118 | |
| 119 | result := buildToolUsageSummary(processedRuns) |
| 120 | |
| 121 | // The result should be a valid slice (nil or empty is fine when no tools) |
| 122 | _ = result |
| 123 | } |
| 124 | |
| 125 | // TestBuildMissingToolsSummaryPopulatesDisplay tests that display fields are populated |
| 126 | func TestBuildMissingToolsSummaryPopulatesDisplay(t *testing.T) { |
nothing calls this directly
no test coverage detected