nodejs-mozilla/test/fixtures/wpt/resources
Lu zhiping 557f7faa75 Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
..
webidl2 Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
.gitignore Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
.htaccess Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
LICENSE Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
META.yml Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
SVGAnimationTestCase-testharness.js Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
check-layout-th.js Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
idlharness.js Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
idlharness.js.headers Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
readme.md Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
sriharness.js Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
testdriver-actions.js Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
testdriver-vendor.js Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
testdriver-vendor.js.headers Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
testdriver.js Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
testdriver.js.headers Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
testharness.css.headers Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
testharness.js Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
testharness.js.headers Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
testharnessreport.js Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00
testharnessreport.js.headers Import Upstream version 12.18.1 2022-07-18 11:52:00 +08:00

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:

<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.

Tutorials

You can also read a tutorial on Using testharness.js.