Skip to content

feat: end-of-run failures recap#6

Merged
kevinccbsg merged 7 commits intomainfrom
feat/failures-recap
May 8, 2026
Merged

feat: end-of-run failures recap#6
kevinccbsg merged 7 commits intomainfrom
feat/failures-recap

Conversation

@kevinccbsg
Copy link
Copy Markdown
Member

Summary

  • After the --- Run complete --- summary, when any tests failed, the CLI now prints a Failed tests (N): block listing every failed test (with its error) so the failure list survives tail -N truncation and is easy to copy as a single block.
  • Green runs print nothing extra; abort path unchanged.
  • 4 tests cover the behavior: recap on 2 failures, no recap on green run, test:fail without error field, multi-line error indentation.

Spec: docs/superpowers/specs/2026-05-08-failures-recap-design.md
Plan: docs/superpowers/plans/2026-05-08-failures-recap.md

Test plan

  • Unit tests pass: npm test -- --run → 64/64
  • Manual smoke: run a real suite with one intentionally broken test against a local relay; confirm recap appears at the very end and survives npx twd-relay run | tail -10
  • Manual smoke: a fully green run prints no Failed tests block

🤖 Generated with Claude Code

@kevinccbsg kevinccbsg merged commit 2ce2e84 into main May 8, 2026
5 checks passed
@kevinccbsg kevinccbsg deleted the feat/failures-recap branch May 8, 2026 18:59
kevinccbsg added a commit that referenced this pull request May 8, 2026
Features since 1.1.1:
- end-of-run failures recap (#6)
- twdRemote() auto-connect: plugin auto-injects browser client (#7)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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