webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
testharness.js provides 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 for tests of asynchronous behaviour.
To use testharness.js you must include two scripts, in the order given:
Full user documentation for the API is in the https://github.com/w3c/testharness.js/blob/master/docs/api.md "docs/api.md" file.
You can also read a tutorial on Using testharness.js.