Automatic update from web-platform-tests
[docs] Reorganize information on running the tests
Previously, information was organized as follows:
- Section: Introduction
- Page: Introduction
- Introductory material
- Instructions for running the tests manually
- Abbreviated instructions for `wpt run`
- Section: Running the Tests
- Page: Running the Tests
- Instructions for `wpt run`
- Instructions for the web runner
- Notes on writing a custom runner
Dispersing the information about "test running" across multiple sections
tended to dilute the meaning of each section. It also made the
introduction lengthier and possibly more intimidating (especially for
readers who have no intention of running the tests manually).
Restructure the information as follows:
- Section: Introduction
- Page: Introduction
- Introductory material
- Section: Running the Tests
- Page: Running the Tests
- Instructions for running the tests manually
- Reference to "Running the Tests in Automation"
- Page: Running the Tests in Automation
- Instructions for `wpt run`
- Instructions for the web runner
- Notes on writing a custom runner
--
wpt-commits: c271bdc85efc27839b01ec5aecf4f3a22084d820
wpt-pr: 13125
1 KiB
| layout | title |
|---|---|
| page | Running Tests from the Web |
Tests that have been merged on GitHub are mirrored at http://w3c-test.org/. On properly-configured systems, local files may also be served from the URL http://web-platform.test.
For running multiple tests inside a browser, there is a test runner
located at /tools/runner/index.html.
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.
[from-local-system]: {{ site.baseurl }}{% link _running-tests/from-local-system.md %}