| OLD | NEW |
| (Empty) |
| 1 ## Introduction ## | |
| 2 | |
| 3 testharness.js provides a framework for writing low-level tests of | |
| 4 browser functionality in javascript. It provides a convenient API for | |
| 5 making assertions and is intended to work for both simple synchronous | |
| 6 tests and for tests of asynchronous behaviour. | |
| 7 | |
| 8 ## Getting Started ## | |
| 9 | |
| 10 To use testharness.js you must include two scripts, in the order given: | |
| 11 | |
| 12 ``` html | |
| 13 <script src="/resources/testharness.js"></script> | |
| 14 <script src="/resources/testharnessreport.js"></script> | |
| 15 ``` | |
| 16 | |
| 17 ## Full documentation ## | |
| 18 | |
| 19 Full user documentation for the API is in the | |
| 20 [docs/api.md](https://github.com/w3c/testharness.js/blob/master/docs/api.md) fil
e. | |
| 21 | |
| 22 You can also read a tutorial on | |
| 23 [Using testharness.js](http://darobin.github.com/test-harness-tutorial/docs/usin
g-testharness.html). | |
| OLD | NEW |