Skip to content

Print failures after todos in the console report - #11

Merged
richardcocks merged 1 commit into
mainfrom
failures-last-in-report
Aug 21, 2026
Merged

richardcocks merged 1 commit into
mainfrom
failures-last-in-report

Conversation

@richardcocks

Copy link
Copy Markdown
Owner

Summary

Swaps the order of the two detail sections the console reporter prints at the end of a run: the "Unimplemented code:" todo section now comes first, and "Failures:" comes last, immediately above the summary totals. The final screenful is now the one that needs acting on.

Changes

  • RunEnd handling in src/vouch/internal/report/console.gleam calls print_todos before print_failures; module doc comment updated to match.

Testing

  • Full suite green on both targets: 80 passed / 1 skipped (Erlang), 67 passed / 1 skipped (JavaScript), including the playground e2e tests which exercise real failing output.
  • No test or doc pins the previous relative order of the two sections.

🤖 Generated with Claude Code

Failure details now land last, just above the summary line, so the
final screenful is the one that needs acting on.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@richardcocks
richardcocks merged commit 4f8751e into main Aug 21, 2026
3 checks passed
@richardcocks
richardcocks deleted the failures-last-in-report branch August 21, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant