1# Resources 2 3## `testharness.js` 4 5`testharness.js` is a framework for writing low-level tests of 6browser functionality in javascript. It provides a convenient API for 7making assertions and is intended to work for both simple synchronous 8tests, and tests of asynchronous behaviour. 9 10### Getting started 11 12To use `testharness.js` you must include two scripts, in the order given: 13 14``` html 15<script src=/resources/testharness.js></script> 16<script src=/resources/testharnessreport.js></script> 17``` 18 19### Full documentation 20 21For detailed API documentation please visit [https://web-platform-tests.org/writing-tests/testharness-api.html](https://web-platform-tests.org/writing-tests/testharness-api.html). 22 23### Tutorials 24 25You can also read a tutorial on 26[Using testharness.js](http://darobin.github.com/test-harness-tutorial/docs/using-testharness.html). 27