Lines Matching refs:wpt
5 See [`test/fixtures/wpt/README.md`][] for a hash of the last
22 For example, to add the URL tests, add a `test/wpt/status/url.json` file.
33 Use the [git node wpt][] command to download the WPT files into
34 `test/fixtures/wpt`. For example, to add URL tests:
38 $ git node wpt url
43 For example, for the URL tests, add a file `test/wpt/test-url.js`:
49 const { WPTRunner } = require('../common/wpt');
66 This driver is capable of running the tests located in `test/fixtures/wpt/url`
72 For example, to run all the URL tests under `test/fixtures/wpt/url`:
75 $ tools/test.py wpt/test-url
82 node test/wpt/test-url.js url-searchparams.any.js
86 (in this case, `test/wpt/status/url.json`) to make the test pass.
89 add this to `test/wpt/status/url.json`:
108 The [git node wpt][] command maintains the status of the local
122 `test/fixtures/wpt`.
124 The [git node wpt][] command automate this process while maintaining a map
126 `test/fixtures/wpt/versions.json` and [`test/fixtures/wpt/README.md`][].
127 It also maintains the LICENSE file in `test/fixtures/wpt`.
131 Given a module, the `WPTRunner` class in [`test/common/wpt`](../common/wpt.js)
134 * `.js` test files (for example, `test/common/wpt/url/*.js` for `url`)
135 * Status file (for example, `test/wpt/status/url.json` for `url`)
166 [Web Platform Tests]: https://github.com/web-platform-tests/wpt
167 [`test/fixtures/wpt/README.md`]: ../fixtures/wpt/README.md
168 [git node wpt]: https://github.com/nodejs/node-core-utils/blob/master/docs/git-node.md#git-node-wpt