Commit Graph

10 Commits

Author SHA1 Message Date
Elliot Winkler 020c01a696 Update CONTRIBUTING
[ci skip]
2018-01-24 00:30:10 -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
Elliot Winkler 15091726fe Improve contributing workflow
* Add missing steps to CONTRIBUTING and reorganize it a bit.
* `bundle exec rake` no longer runs all tests in all appraisals, only
  the tests in the latest appraisal.
* Add a `.ruby-version` file so people don't have to figure out which
  version of Ruby to install.

[ci skip]
2015-10-30 11:24:15 -06:00
Elliot Winkler a7c750ff33 Add Code of Conduct to CONTRIBUTING
[ci skip]
2015-04-15 11:10:21 -06:00
Elliot Winkler bc761ff193 Update CONTRIBUTING
* Make the headers smaller
* Don't ask people to update the documentation
* Don't install Ruby version globally, just install it locally

[ci skip]
2015-04-02 20:10:32 -06:00
Tristan Havelick 8efe20a0c4 Added dependency installation guide
includes steps for Debian- and RedHat-based systems
2015-04-02 19:59:14 -06:00
Elliot Winkler 19d628893c Update guide on CONTRIBUTING
As a contributor you're no longer required to add NEWS items. We'll do
that ourselves :)
2014-10-16 09:59:07 -06:00
Elliot Winkler 5c3fb37a14 Install appraisals before running the test suite
Currently, `rake` does run the `appraise` task before running tests. If
you run `rake appraise` on its own, it runs `rake appraise:install`
beforehand. However, the way that `rake` runs `appraise` is by
executing, not invoking, it. Hence, `appraisal:install` will actually
not be run (as #execute does not run dependencies for the task being
executed).

This fix is mostly useful when running tests locally -- on Travis this
isn't a problem b/c we are running `rake spec cucumber` instead of just
`rake`.
2014-02-22 14:46:55 -07:00
Melissa Xie 0209b3e48c Include step to update NEWS in contribution guidelines 2013-03-27 11:11:19 -04:00
Gabe Berke-Williams 76127ea45f Update contribution guidelines. 2012-03-18 20:39:15 -04:00