aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/RUNNING_UNIT_TESTS.rdoc
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-01-15 23:25:28 +0100
committerYves Senn <yves.senn@gmail.com>2015-01-15 23:26:40 +0100
commit090c5211ced7b728df6176d5c9fc7437c107beaf (patch)
treea0b4ac81303b65b35075c7d8b35a509650a4876f /activerecord/RUNNING_UNIT_TESTS.rdoc
parent2c5a0ddeda523f0e4beab3aa3f39407c6b1c427c (diff)
downloadrails-090c5211ced7b728df6176d5c9fc7437c107beaf.tar.gz
rails-090c5211ced7b728df6176d5c9fc7437c107beaf.tar.bz2
rails-090c5211ced7b728df6176d5c9fc7437c107beaf.zip
docs, update "How to run Active Record tests". [ci skip]
Diffstat (limited to 'activerecord/RUNNING_UNIT_TESTS.rdoc')
-rw-r--r--activerecord/RUNNING_UNIT_TESTS.rdoc6
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