Revision cf66d925d4f13709f0cdacff6219380c4108ae8a authored by Henrik Skupin on 29 August 2018, 13:41:50 UTC, committed by jgraham on 30 August 2018, 15:41:02 UTC
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1486572 gecko-commit: 3eb891993d3e0802ae958cb8256d4e44c3b0817e gecko-integration-branch: mozilla-inbound
1 parent ffe0601
readme.md
# Resources
## `testharness.js`
`testharness.js` is a framework for writing low-level tests of
browser functionality in javascript. It provides a convenient API for
making assertions and is intended to work for both simple synchronous
tests, and tests of asynchronous behaviour.
### Getting started
To use `testharness.js` you must include two scripts, in the order given:
``` html
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
```
### Full documentation
For 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).
### Tutorials
You can also read a tutorial on
[Using testharness.js](http://darobin.github.com/test-harness-tutorial/docs/using-testharness.html).
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...