Running tests
-------------
+With phantomjs:
+
+- Install phantomjs (http://www.phantomjs.org).
+
+- Start a terminal window at the dygraphs root directory (one
+ directory up from here.)
+
+- Run "./test.sh". This will tell you whether the tests passed.
+
+
+With a real browser:
+
- Start a terminal window at the dygraphs root directory (one
directory up from here.)
browser:
Run:
- $ java -jar ./auto_tests/lib/JsTestDriver-1.3.2.jar --port 9876
+ $ java -jar ./auto_tests/lib/JsTestDriver-1.3.3c.jar --port 9876
Open
http://localhost:9876/capture
- Run the tests with:
- $ java -jar ./auto_tests/lib/JsTestDriver-1.3.2.jar --tests all
+ $ java -jar ./auto_tests/lib/JsTestDriver-1.3.3c.jar --tests all
Debugging tests