tree: aa5f6fe83281151ef5605a4ce675af80a01b8901 [path history] [tgz]
  1. chromium/
  2. test/
  3. webidl2/
  4. .htaccess
  5. blank.html
  6. channel.sub.js
  7. check-layout-th.js
  8. idlharness.js
  9. idlharness.js.headers
  10. META.yml
  11. readme.md
  12. sriharness.js
  13. SVGAnimationTestCase-testharness.js
  14. test-only-api.js
  15. test-only-api.js.headers
  16. test-only-api.m.js
  17. test-only-api.m.js.headers
  18. testdriver-actions.js
  19. testdriver-vendor.js
  20. testdriver-vendor.js.headers
  21. testdriver.js
  22. testdriver.js.headers
  23. testharness.js
  24. testharness.js.headers
  25. testharnessreport.js
  26. testharnessreport.js.headers
resources/readme.md

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