diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-01-15 23:25:28 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-01-15 23:26:40 +0100 |
commit | 090c5211ced7b728df6176d5c9fc7437c107beaf (patch) | |
tree | a0b4ac81303b65b35075c7d8b35a509650a4876f /activerecord | |
parent | 2c5a0ddeda523f0e4beab3aa3f39407c6b1c427c (diff) | |
download | rails-090c5211ced7b728df6176d5c9fc7437c107beaf.tar.gz rails-090c5211ced7b728df6176d5c9fc7437c107beaf.tar.bz2 rails-090c5211ced7b728df6176d5c9fc7437c107beaf.zip |
docs, update "How to run Active Record tests". [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/RUNNING_UNIT_TESTS.rdoc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/activerecord/RUNNING_UNIT_TESTS.rdoc b/activerecord/RUNNING_UNIT_TESTS.rdoc index 7e3460365b..bae40604b1 100644 --- a/activerecord/RUNNING_UNIT_TESTS.rdoc +++ b/activerecord/RUNNING_UNIT_TESTS.rdoc @@ -16,7 +16,7 @@ To run a set of tests: You can also run tests that depend upon a specific database backend. For example: - $ bundle exec rake test_sqlite3 + $ bundle exec rake test:sqlite3 Simply executing <tt>bundle exec rake test</tt> is equivalent to the following: @@ -24,6 +24,10 @@ Simply executing <tt>bundle exec rake test</tt> is equivalent to the following: $ bundle exec rake test:mysql2 $ bundle exec rake test:postgresql $ bundle exec rake test:sqlite3 + +Using the SQLite3 adapter with an in-memory database is the fastest way +to run the tests: + $ bundle exec rake test:sqlite3_mem There should be tests available for each database backend listed in the {Config |