Skip to content

Commit 21b865b

Browse files
committed
Update testing notes
1 parent a1a7cf1 commit 21b865b

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

test/test_helper.rb

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22

33
# To run tests with coverage:
44
# COVERAGE=true bundle exec rake test
5+
6+
# To test on a specific rails version use this:
7+
# export RAILS_VERSION=4.2.6; bundle update rails; bundle exec rake test
8+
# export RAILS_VERSION=5.0.0.beta3; bundle update rails; bundle exec rake test
9+
10+
# We are no longer having Travis test Rails 4.0.x., but you can try it with:
11+
# export RAILS_VERSION=4.0.0; bundle update rails; bundle exec rake test
12+
513
# To Switch rails versions and run a particular test order:
6-
# export RAILS_VERSION=4.2.0; bundle update rails; bundle exec rake TESTOPTS="--seed=39333" test
7-
# We are no longer having Travis test Rails 4.0.x. To test on Rails 4.0.x use this:
8-
# export RAILS_VERSION=4.2.5; bundle update rails; bundle exec rake test
9-
# export RAILS_VERSION=5.0.0.beta1.1; bundle update rails; bundle exec rake test
14+
# export RAILS_VERSION=4.2.6; bundle update rails; bundle exec rake TESTOPTS="--seed=39333" test
1015

1116
if ENV['COVERAGE']
1217
SimpleCov.start do

0 commit comments

Comments
 (0)