1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/TESTING.md

26 lines
555 B
Markdown
Raw Permalink Normal View History

## Install dependency matrix
2016-10-29 08:02:02 -04:00
appraisal install
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
2017-02-09 06:45:22 -05:00
Or for specific one:
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
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
appraisal rails_4.2_mongoid_5 rspec spec/unit/persistence/mongoid_persistence_multiple_spec.rb:92