node/test/fixtures/wpt/resources
..
webidl2
.htaccess
accesskey.js
blank.html
channel.sub.js
check-layout-th.js
idlharness.js
idlharness.js.headers
META.yml
out-of-scope-test.js
readme.md
sriharness.js
SVGAnimationTestCase-testharness.js
test-only-api.js
test-only-api.js.headers
test-only-api.m.js
test-only-api.m.js.headers
testdriver-actions.js
testdriver-actions.js.headers
testdriver-vendor.js
testdriver-vendor.js.headers
testdriver.js
testdriver.js.headers
testharness-shadowrealm-audioworkletprocessor.js
testharness-shadowrealm-inner.js
testharness-shadowrealm-outer.js
testharness.js
testharness.js.headers
testharnessreport.js
testharnessreport.js.headers
web-bluetooth-bidi-test.js

Resources

This directory contains utilities intended for use by tests and maintained as project infrastructure. It does not contain tests.

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.

Complete documentation is available in the docs/ directory of this repository and on the web at https://web-platform-tests.org/writing-tests/.