~pedronis/u1db/u1db-js

« back to all changes in this revision

Viewing changes to README

  • Committer: Samuele Pedroni (Canonical Services Ltd.)
  • Date: 2012-09-28 14:35:57 UTC
  • Revision ID: samuele.pedroni@canonical.com-20120928143557-lvs3ofdear0j53sc
update README; add Makefile for convenience running tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Run tests with cd tests; js -debug suite.js
2
 
(the -debug means that you get line numbers for errors)
3
 
Test suite requires rhino. It does not run in a browser.
4
 
 
 
1
To run tests rhino is required, and the u1db reference implementation
 
2
on PYTHONPATH, to run them use:
 
3
 
 
4
make js-tests
 
5
make bridged-tests
 
6
 
 
7
* js-tests are details, internals tests (see tests/suite.js),
 
8
* bridged-tests reuse the u1db reference python tests bridging to
 
9
  u1db.js exercised under rhino (see tests/test_bridged.py,
 
10
  tests/bridged.py and tools/).
 
11
 
 
12
the makefile by default sets PYTHONPATH=../ref:.