Running Tests from the Web¶
For running multiple tests inside a browser, there is a test runner
This allows all the tests, or those matching a specific prefix
(e.g. all tests under
/dom/) to be run. For testharness.js tests,
the results will be automatically collected, while the runner
provides a simple UI for manually comparing reftest rendering and
running manual tests.
Note, however, it does not currently handle more complex reftests with more than one reference involved.
Because it runs entirely in-browser, this runner cannot deal with edge-cases like tests that cause the browser to crash or hang.