https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 38cb63e5ec8e6a14fb1094dee946800f5ea35bee authored by Josh Matthews on 01 August 2018, 18:31:04 UTC
servodriver: Fix reference to server configuration.
Tip revision: 38cb63e
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).
back to top