debug -> options-reference
[dygraphs.git] / auto_tests / README.html
1 <html>
2 <head>
3 </head>
4 <body>
5 These tests are run with <a href="http://code.google.com/p/js-test-driver/">
6 js-test-driver</a>. To use:
7
8 This is a specialized version of the instructions found at the js-test-driver
9 <a href="http://code.google.com/p/js-test-driver/wiki/GettingStarted">
10 Getting Started</a> wiki. They're listed as a courtesy, but you really should
11 get to understand js-test-driver, which has lots of powerful features.
12
13 To run tests:
14 <ul>
15 <li>Start a terminal window at the dygraphs root directory (one
16 directory up from here.)</li>
17 <li>From there, you start the test server and capture at least one slave
18 browser.
19 <ol>
20 <li>Run <code>java -jar ./auto_tests/lib/JsTestDriver-1.3.2.jar --port
21 9876</code></li>
22 <li>Open <a href="http://localhost:9876/capture">
23 http://localhost:9876/capture</a> in the browser you want to use for
24 your test.</li>
25 </ol>
26 </li>
27 <li>Run the tests with <code>java -jar ./auto_tests/lib/JsTestDriver-1.3.2.jar
28 --tests all</code></li>
29 </ul>
30
31 This is a bit of a hack, but you can also run tests locally, and manually, by
32 using this <a href="./misc/local.html">testing page</a>. Please don't rely on it
33 as proof that your tests pass; the command-line is the reference for ensuring
34 Dygraphs automated tests pass.
35 </body>
36 </html>