• Home
Name Date Size #Lines LOC

..--

webidl2/12-May-2024-3,2842,894

.gitignoreD12-May-202436 43

.htaccessD12-May-2024107 32

LICENSED12-May-20241.5 KiB3124

META.ymlD12-May-202447 43

SVGAnimationTestCase-testharness.jsD12-May-20243.6 KiB10362

check-layout-th.jsD12-May-20247.7 KiB197159

idlharness.jsD12-May-2024129.5 KiB3,2782,232

idlharness.js.headersD12-May-202473 32

readme.mdD12-May-2024847 2717

sriharness.jsD12-May-20243.4 KiB10085

testdriver-actions.jsD12-May-202411.4 KiB400263

testdriver-vendor.jsD12-May-20240 10

testdriver-vendor.js.headersD12-May-202473 32

testdriver.jsD12-May-202411.9 KiB312150

testdriver.js.headersD12-May-202473 32

testharness.css.headersD12-May-202465 32

testharness.jsD12-May-2024121.9 KiB3,4972,612

testharness.js.headersD12-May-202473 32

testharnessreport.jsD12-May-20242.2 KiB5825

testharnessreport.js.headersD12-May-202473 32

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