aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/plugins/interlock/TEST_HOWTO
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-09-03 15:52:05 +0100
committerFrancis Irving <francis@mysociety.org>2010-09-03 15:52:05 +0100
commitd06975ca01f0033bcd9dd4253007319c507a4c4c (patch)
treeaba6e94a26d685a5c301e8ec51b03bc6f36fb824 /vendor/plugins/interlock/TEST_HOWTO
parent08430db20111c7e853cad6c1710ebc3dc4150375 (diff)
Use interlock and memcached to cache front page with interlocking
view/controller fragments.
Diffstat (limited to 'vendor/plugins/interlock/TEST_HOWTO')
-rw-r--r--vendor/plugins/interlock/TEST_HOWTO20
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/plugins/interlock/TEST_HOWTO b/vendor/plugins/interlock/TEST_HOWTO
new file mode 100644
index 000000000..f52491fdd
--- /dev/null
+++ b/vendor/plugins/interlock/TEST_HOWTO
@@ -0,0 +1,20 @@
+Steps to run the tests.
+
+ $ mkdir test/integration/app/log
+ $ RAILS_ENV=development; export RAILS_ENV
+
+If you don't run mysql as root, edit the user in test/integration/app/config/database.yml,
+and grant him permissions to create new tables (/opt/local/lib/mysql5/bin/mysql -u root -p).
+
+ $ sudo gem install multi_rails echoe
+ $ rake
+
+To run an individual suite, first run:
+
+ $ ruby test/setup.rb
+
+Then:
+
+ $ ruby test/unit/finder_test.rb
+
+etc.