2016-03-15 16:52:26 -04:00
|
|
|
## Install dependency matrix
|
|
|
|
|
2016-10-29 08:02:02 -04:00
|
|
|
appraisal install
|
2016-03-15 16:52:26 -04:00
|
|
|
|
|
|
|
This will re-generate Gemfiles in `gemfile` folder
|
|
|
|
|
|
|
|
Use rvm gemsets or similar to avoid global gem pollution
|
|
|
|
|
|
|
|
## Run specs
|
|
|
|
|
|
|
|
For all supported Rails/ORM combinations:
|
|
|
|
|
2016-10-29 08:02:02 -04:00
|
|
|
appraisal rspec
|
2016-03-15 16:52:26 -04:00
|
|
|
|
2017-02-09 06:45:22 -05:00
|
|
|
Or for specific one:
|
2016-03-15 16:52:26 -04:00
|
|
|
|
2016-10-29 08:02:02 -04:00
|
|
|
appraisal rails_4.2 rspec
|
2017-02-09 06:45:22 -05:00
|
|
|
|
|
|
|
Or for one particular test file
|
|
|
|
|
2017-03-08 12:59:42 -05:00
|
|
|
appraisal rails_4.2_mongoid_5 rspec spec/unit/persistence/mongoid_persistence_multiple_spec.rb
|
2017-02-09 06:45:22 -05:00
|
|
|
|
|
|
|
Or down to one test case
|
|
|
|
|
2017-03-08 12:59:42 -05:00
|
|
|
appraisal rails_4.2_mongoid_5 rspec spec/unit/persistence/mongoid_persistence_multiple_spec.rb:92
|