0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/fixtures/wpt/resources
Joyee Cheung 2e77735c4f
test: update wpt/resources to e1fddfbf80
Using `git node wpt resources`

PR-URL: https://github.com/nodejs/node/pull/27822
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2019-05-24 18:49:04 +02:00
..
webidl2
.gitignore
.htaccess
check-layout-th.js
idlharness.js test: update wpt/resources to e1fddfbf80 2019-05-24 18:49:04 +02:00
idlharness.js.headers
LICENSE
META.yml
readme.md
sriharness.js
testdriver-actions.js test: update wpt/resources to e1fddfbf80 2019-05-24 18:49:04 +02:00
testdriver-vendor.js
testdriver-vendor.js.headers
testdriver.js test: update wpt/resources to e1fddfbf80 2019-05-24 18:49:04 +02:00
testdriver.js.headers
testharness.css.headers
testharness.js test: update wpt/resources to e1fddfbf80 2019-05-24 18:49:04 +02:00
testharness.js.headers
testharnessreport.js
testharnessreport.js.headers

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.