X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2FREADME;h=d07f2e536b0bca19ed96547b361224c906e59f39;hb=c715be428d83d80c0a26fd60dc5bc36fb4c908d9;hp=caf0bea347525778462cac33249b7e915b6ae158;hpb=408ae4df9c06ce2fc75737bfd97fb1dae1f4aa49;p=dygraphs.git diff --git a/auto_tests/README b/auto_tests/README index caf0bea..d07f2e5 100644 --- a/auto_tests/README +++ b/auto_tests/README @@ -4,6 +4,18 @@ These tests are run with js-test-driver 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.) @@ -11,7 +23,7 @@ Running tests 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 @@ -19,7 +31,7 @@ Running tests - 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