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