merge in kberg changes
[dygraphs.git] / auto_tests / README.html
CommitLineData
644eff8b
RK
1<html>
2<head>
3</head>
4<body>
5These tests are run with <a href="http://code.google.com/p/js-test-driver/">
6js-test-driver</a>. To use:
7
8This 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">
10Getting Started</a> wiki. They're listed as a courtesy, but you really should
11get to understand js-test-driver, which has lots of powerful features.
12
13To 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>
7165f97b 20 <li>Run <code>java -jar ./auto_tests/lib/JsTestDriver-1.3.2.jar --port
644eff8b
RK
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>
7165f97b 27 <li>Run the tests with <code>java -jar ./auto_tests/lib/JsTestDriver-1.3.2.jar
644eff8b
RK
28 --tests all</code></li>
29</ul>
30
31This is a bit of a hack, but you can also run tests locally, and manually, by
32using this <a href="./misc/local.html">testing page</a>. Please don't rely on it
33as proof that your tests pass; the command-line is the reference for ensuring
34Dygraphs automated tests pass.
35</body>
36</html>