Browse files

Added notes on running the test suite

  • Loading branch information...
caolan committed Apr 10, 2012
1 parent 413efb6 commit b5549248e19fe4d6d6350c049beb4af8b22e4052
Showing with 16 additions and 0 deletions.
  1. +16 −0
@@ -68,3 +68,19 @@ The subject of the of This is primary PouchDB API.
### db.replicate.from(dbName, options)
+## Running the tests
+To run the full test suite (including replication) you'll need to run a CORS proxy
+pointing to a local CouchDB.
+ git clone
+ cd CORS-Proxy
+ node server.js
+This will proxy requests to http://localhost:1234 (made by the test suite) to
+your local CouchDB running on http://localhost:5984, adding the correct CORS
+headers so the browser allows the requests to go through.
+Next, just run a local CouchDB instance on http://localhost:5984 and make sure it's in
+admin party mode. The test suite should now run to completion.

0 comments on commit b554924

Please sign in to comment.