Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
webidl2/ | 12-May-2024 | - | 3,284 | 2,894 | ||
.gitignore | D | 12-May-2024 | 36 | 4 | 3 | |
.htaccess | D | 12-May-2024 | 107 | 3 | 2 | |
LICENSE | D | 12-May-2024 | 1.5 KiB | 31 | 24 | |
META.yml | D | 12-May-2024 | 47 | 4 | 3 | |
SVGAnimationTestCase-testharness.js | D | 12-May-2024 | 3.6 KiB | 103 | 62 | |
check-layout-th.js | D | 12-May-2024 | 7.7 KiB | 197 | 159 | |
idlharness.js | D | 12-May-2024 | 129.5 KiB | 3,278 | 2,232 | |
idlharness.js.headers | D | 12-May-2024 | 73 | 3 | 2 | |
readme.md | D | 12-May-2024 | 847 | 27 | 17 | |
sriharness.js | D | 12-May-2024 | 3.4 KiB | 100 | 85 | |
testdriver-actions.js | D | 12-May-2024 | 11.4 KiB | 400 | 263 | |
testdriver-vendor.js | D | 12-May-2024 | 0 | 1 | 0 | |
testdriver-vendor.js.headers | D | 12-May-2024 | 73 | 3 | 2 | |
testdriver.js | D | 12-May-2024 | 11.9 KiB | 312 | 150 | |
testdriver.js.headers | D | 12-May-2024 | 73 | 3 | 2 | |
testharness.css.headers | D | 12-May-2024 | 65 | 3 | 2 | |
testharness.js | D | 12-May-2024 | 121.9 KiB | 3,497 | 2,612 | |
testharness.js.headers | D | 12-May-2024 | 73 | 3 | 2 | |
testharnessreport.js | D | 12-May-2024 | 2.2 KiB | 58 | 25 | |
testharnessreport.js.headers | D | 12-May-2024 | 73 | 3 | 2 |
readme.md
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