Skip to content

Releases: AlexB52/retest

Docker Integration Tests

11 Mar 19:52
Compare
Choose a tag to compare

This release has no impact on the current retest CLI but is really exciting! 🙌

We now have a reliable setup to test retest CLI in different ruby environments. So far there are three environments:

  • rails
  • hanami
  • ruby

Those E2E tests will increase our confidence in providing a stable and 'it just works' experience moving forward with development ❤️

Issue - Watch untracked files

07 Mar 05:14
Compare
Choose a tag to compare

Retest now watches untracked files from a repository after launch on top of adding new files and deleting files when running.

Listen to .rb file changes only + Handle new and deleted files

26 Feb 04:30
Compare
Choose a tag to compare

This release introduces two changes:

Restrict changes to Ruby files only

Retest now only listens to ruby files is found. Retest feels faster too as we removed the massive Regex used to parse which files to listen to. It is now simpler and snappier.

This becomes the default until a better way to restrict unnecessary files from being watched is found.

Handle new and deleted files

Retest now listens to new and deleted file changes and behave accordingly without having to stop and stage your changes through git.

Flags and Help

05 Dec 01:57
6a83544
Compare
Choose a tag to compare
  • You can now print usage with retest --help
  • You can now use flags to tell retest which standard ruby test command to use
  • Update README documentation

Shortcut Flags

flags shortcut command
retest --rake bundle exec rake test TEST=<test>
retest --rake --all bundle exec rake test
retest --rspec bundle exec rspec <test>
retest --rspec --all bundle exec rspec
retest --rails bundle exec rails test <test>
retest --rails --all bundle exec rails test
retest --ruby bundle exec ruby <test>

Support for Ruby 2.4

18 Nov 05:38
Compare
Choose a tag to compare

retest is now usable with Ruby 2.4 projects.
We also improved our CI GitHub actions and added some feature test

Ignore Untracked File Changes

07 Nov 04:28
Compare
Choose a tag to compare

Description

Retest checks whether git is installed and ignores files in the .gitignore file. This ignores changes you would not normally commit like .byebug_history or sqlite databases files. If you happen to have a file that keeps being updated once you run a test, another test run would get triggered, creating an infinite loop of tests runs.

Issues Fixed

Improve Spec Matching Logic

07 Nov 04:32
Compare
Choose a tag to compare

Description

This release improves the spec matching logic to handle more gracefully Hanami projects. No change in the behaviour except you now receive fewer notifications about which test file to run when there are multiple possible tests for a file change.

Issues Fixed