I have written a test.
I want to run only it against all the database options (sqlite, mysql, 
mysql2, postgres).

bundle exec ruby -I test test/cases/autosave_association_test.rb -n 
test_my_cool_test

This runs only my test, but uses only sqlite3.

Can I force it to use mysql2?

I know I can also do:
TEST_DIR=cases bundle exec rake test_mysql2
But this runs all the test in all the files in that directory, which is a 
lot.  Can I be more specific with this method of test running?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to