MCPcopy Create free account
hub / github.com/bhowiebkr/PyFlowGraph / format_report

Method format_report

testing/test_runner.py:268–276  ·  view source on GitHub ↗

Format test report for different output types.

(self, report: TestSuiteReport, format_type: str = "detailed")

Source from the content-addressed store, hash-verified

266 return perf_summary
267
268 def format_report(self, report: TestSuiteReport, format_type: str = "detailed") -> str:
269 """Format test report for different output types."""
270
271 if format_type == "claude":
272 return self.format_claude_report(report)
273 elif format_type == "summary":
274 return self.format_summary_report(report)
275 else:
276 return self.format_detailed_report(report)
277
278 def format_claude_report(self, report: TestSuiteReport) -> str:
279 """Token-efficient format optimized for Claude Code analysis."""

Callers 1

mainFunction · 0.95

Calls 3

format_claude_reportMethod · 0.95
format_summary_reportMethod · 0.95

Tested by

no test coverage detected