Repository navigation
Tapout runs on current Ruby again. It needs Ruby 2.7 or newer.
Changes:
- Work with Bundler on Ruby 3.4 and newer, where the
abbrevlibrary is
no longer part of Ruby. Reporter names are matched without it: a name
can still be shortened to any unique beginning, as intapout pro. - Work with frozen string literals.
- Work on Ruby 4.0, by loading only the parts of the ANSI library that
Tapout uses. Loading all of it fails there for want oflogger. - Replace the old packaging (
.index,.gemspec,Assembly,MANIFEST,
var/) with a plaintapout.gemspec, and Travis with GitHub Actions,
testing Ruby 2.7 to 4.0. Tapout::VERSIONis a constant intapout/version.rb.Tapout.metadata
and the lookup of other project metadata as constants are gone.- Correct the README, which named a
progressbarreporter; it is
progress. - Reporters no longer raise for a test that didn't pass and says little
about why. Only an exception's message is required by TAP-Y/J, but the
markdownandhtmlreporters needed its class or backtrace, and
every reporter needed the exception section itself, which a failed test
from plain TAP doesn't have. - The
tapreporter prints a line for a test that was omitted
(ok N - label # SKIP reason) or is still to be done
(not ok N - label # TODO reason), so the lines match the plan (#14).
Without a count at the start of the stream, it prints the plan at the end. - The
outlinereporter lists omitted and to-do tests, with the reason. - Reading plain TAP: a
TAP versionline is accepted, as is a stream that
starts with a test line or a comment;# SKIPand# TODOdirectives
becomeomitandtodo; a test line needn't have a number; and the
final counts include errors, omissions and to-dos. - The
outlineandmarkdownreporters no longer raise for tests that
belong to no case, as in plain TAP.