Skip to content

Fix reporters on sparse streams and plain TAP input (#16 onto master) - #17

Merged
trans merged 2 commits into
masterfrom
modernize
Nov 21, 2026
Merged

trans merged 2 commits into
masterfrom
modernize

Conversation

@trans

@trans trans commented Nov 21, 2026

Copy link
Copy Markdown
Member

#16 was merged into the modernize branch, its base at the time, a few seconds after #15 had already merged modernize into master. So its commits never reached master. This brings them over; there is nothing new here beyond what #16 contained.

🤖 Generated with Claude Code

trans and others added 2 commits November 20, 2026 17:41
A test that didn't pass need only give a message, and not every
producer gives even that. Rubytest gives no exception class, and a
backtrace only for errors, which made the markdown and html reporters
raise. A failed test from plain TAP has no exception section at all,
which made every reporter raise. The exception section is now filled
in before a reporter sees the test.

tap reporter: print a line for omitted and to-do tests, with SKIP and
TODO directives, so the lines match the plan (#14). outline: list them
too. outline and markdown: handle tests outside of any case.

Plain TAP input: accept a version line and streams that open with a
test line or comment, turn SKIP and TODO directives into omit and
todo, number unnumbered tests, and give complete final counts.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Make reporters cope with sparse streams and plain TAP.
@trans
trans merged commit 40de73c into master Nov 21, 2026
14 checks passed
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