MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / show_tdd_failure

Function show_tdd_failure

core/display.py:130–136  ·  view source on GitHub ↗

Show a test failure clearly.

(test_name, error_text)

Source from the content-addressed store, hash-verified

128 f'[red]{failed} failed[/red] / {total} total')
129
130def show_tdd_failure(test_name, error_text):
131 """Show a test failure clearly."""
132 content = Text()
133 content.append(f'{test_name}\n', style='bold red')
134 content.append(error_text[:400], style='red')
135 console.print(Panel(content, title='Test Failure',
136 border_style='red', box=box.ROUNDED))
137
138def show_tdd_complete(passed, total, iterations):
139 """Show TDD completion summary."""

Callers 1

run_tdd_loopFunction · 0.90

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected