Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 915 Bytes

tests.md

File metadata and controls

19 lines (16 loc) · 915 Bytes

Tests

Run the tests in your browser.

The TouchDB / CouchDB adapter requires ajax access to a database server (either locally on the phone in the case of TouchDB, or as the same origin server as the test cases). To run the test for this adapter, first launch the proxy server by running node util/serve.js from your Lawnchair checkout. Requires node.js and assumes there is a CouchDB in admin-party mode, available at http://localhost:5984. Once you launch the proxy you'll be prompted to run the tests at http://localhost:3000/index.html?adapter=touchdb-couchdb.