Commit Graph

2 Commits

Author SHA1 Message Date
Elliot Winkler b5425ccc27 Fix Zeus so that it runs again on Ruby >= 2.5.x
Ruby 2.5.0 removed support for the `-ubygems` option ([source][1]). This
was introduced many many years ago so you could say `ruby -rubygems`,
which was just a shortcut for `ruby -r rubygems`. Now that's no longer
there, so we have to update how Zeus starts a Ruby process.

[1]: 9de6c712b6
2018-09-12 21:53:53 -06:00
Elliot Winkler 3ee734bb7e Speed up running unit tests with Zeus
This is an effort to vastly decrease the time it takes to run a single
unit test file and therefore increase productivity and happiness for
people working on this project.

If you want to run a unit test file, now you can use `zeus rspec`
instead of `rspec` -- assuming you run `zeus start` first -- and it will
run a LOT faster.

Because test files tend to have long file paths, you can even use a
shorter version of those paths. So instead of saying:

    zeus rspec spec/unit/shoulda/matchers/active_record/validate_uniqueness_of_matcher_spec.rb

you can say:

    zeus rspec active_record/validate_uniqueness_of_matcher_spec.rb
2015-12-13 20:22:21 -07:00