Skip to content

Modernising Retest

Latest

Choose a tag to compare

@AlexB52 AlexB52 released this 01 Sep 21:34
· 3 commits to main since this release

Retest v2.5.0

This release improves one-off diff runs, modernizes command-line parsing, and
adds Ruby 4 compatibility.

The use of OptParse instead of TTY-options should fix an old bug: #81

No major breaking changes are expected, although command-line validation is
now stricter.

What’s changed

  • retest --diff BRANCH now exits with the status returned by the test command,
    making it reliable in CI scripts and other automated workflows.

  • Replaced tty-option with Ruby’s OptionParser, simplifying dependencies and
    improving CLI validation.

  • Refreshed the help output and usage examples.

  • Added Ruby 4 to the CI test matrix.

  • Added logger as an explicit runtime dependency.

  • Added an explicit set require for compatibility.

  • Invalid command-line options and unsupported watcher values now fail with
    clear parser errors.