diff options
author | Alexey Vakhov <vakhov@gmail.com> | 2012-04-28 09:30:30 +0400 |
---|---|---|
committer | Alexey Vakhov <vakhov@gmail.com> | 2012-04-28 09:30:30 +0400 |
commit | dab6c3aa484778b44c1b3cd2b9c46363916295ff (patch) | |
tree | 9ace411d5289196e4978dfc05f5349f393f806f0 | |
parent | 7e75dcbff30657f395da9769b34ff252b7485e03 (diff) | |
download | rails-dab6c3aa484778b44c1b3cd2b9c46363916295ff.tar.gz rails-dab6c3aa484778b44c1b3cd2b9c46363916295ff.tar.bz2 rails-dab6c3aa484778b44c1b3cd2b9c46363916295ff.zip |
Update guides - run single test for AR testing
-rw-r--r-- | guides/source/contributing_to_ruby_on_rails.textile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/guides/source/contributing_to_ruby_on_rails.textile b/guides/source/contributing_to_ruby_on_rails.textile index 5f33336fdf..ddb7175e03 100644 --- a/guides/source/contributing_to_ruby_on_rails.textile +++ b/guides/source/contributing_to_ruby_on_rails.textile @@ -208,6 +208,12 @@ $ bundle exec rake test will now run the four of them in turn. +You can also run any single test separately: + +<shell> +$ ARRCONN=sqlite3 ruby -Itest test/cases/associations/has_many_associations_test.rb +</shell> + You can invoke +test_jdbcmysql+, +test_jdbcsqlite3+ or +test_jdbcpostgresql+ also. See the file +activerecord/RUNNING_UNIT_TESTS+ for information on running more targeted database tests, or the file +ci/travis.rb+ for the test suite run by the continuous integration server. h4. Older Versions of Ruby on Rails |