Skip to content

v0.10.0

Choose a tag to compare

@trans trans released this 17 Nov 14:58
· 10 commits to master since this release
502ed9c

Results now go through a recorder to the reporters, and the reporters that
were spun off into separate gems are back in Rubytest, so rubytest-cli,
rubytest-tap, rubytest-summary and rubytest-progress are no longer needed.
Supports Ruby 2.7 and later.

Changes:

  • Support Ruby 2.7 and 3.0 again (0.9.0 required 3.1).
  • Report an error raised outside of a test, such as while a test file loads,
    with its class, where it was raised, and a pointer to --debug, instead of
    the bare message.
  • Bring summary, outline, and progress reporters into Rubytest and add a TAP 13
    reporter that counts completed results, including skipped and broken cases.
  • Bring the TAP-Y and TAP-J reporters in from rubytest-tap, with their -y and
    -j shortcuts. The TAP-Y stream now opens with a YAML document (it was
    JSON), the TAP-J stream no longer ends with a ... line, and both report
    skipped tests and cases.
  • Remove the old Recorder status callbacks and status-indexed result table.
  • Preserve test and teardown exceptions together in a result, and turn outcome
    hook failures into recorded errors.
  • Route structured test results through the recorder to reporters, while
    retaining Advice hooks and older reporter callbacks.
  • Fail empty runs and unmatched test file requests instead of reporting success.
  • Apply test filters at every suite level and record skipped tests and cases.
  • Record case errors, finish suite callbacks, and restore reporter output after
    failures.
  • Fix the CLI's alternate configuration option and Testfile discovery.